953 Posted Topics

Member Avatar for Majestics

I can't resist sirs there were lots of mistakes, and kudos to @Majestics, how did you excelent ask the question, are you thinking about political or laws carieers @Majestics here [url]http://stackoverflow.com/questions/6051755/java-wait-cursor-display-problem/6060678#6060678[/url]

Member Avatar for mKorbel
0
109
Member Avatar for phoenx

[url]http://download.oracle.com/javase/tutorial/deployment/applet/index.html[/url] (carrefully with security) [url]http://www.java2s.com/Code/Java/Swing-JFC/Applet.htm[/url]

Member Avatar for phoenx
0
114
Member Avatar for Majestics

[CODE]I would be glad to know if anyone knows any other alternative of programatically backing DB[/CODE] looks like as we always use for that GUI :-), majorities of cmd instuctions depends of accesses to the MetaData, are you talk me that isn't possible call from JDBC/ODBC something as "CREATE DATASBASE, …

Member Avatar for Majestics
0
250
Member Avatar for Xufyan

beware of poster killer [url]http://www.daniweb.com/software-development/java/threads/371968[/url]

Member Avatar for Zetlin
0
360
Member Avatar for lili.edryana

for example [url]http://www.java2s.com/Code/Java/Data-Type/CatalogData-Type.htm[/url]

Member Avatar for mKorbel
0
114
Member Avatar for djbhoco

for example [url]http://download.oracle.com/javase/tutorial/uiswing/components/formattedtextfield.html[/url]

Member Avatar for mKorbel
0
240
Member Avatar for sirlink99

just alternative to GridBagLaout (Action, AbstractAction is threadSafe for some of LayoutManagers, for other you have to call revalidate() + repaint()) [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Calc { private static void createAndShowUI() { CalcGui gui = new CalcGui(); CalcMenu menu = new CalcMenu(gui); JFrame frame = new …

Member Avatar for Ezzaral
0
169
Member Avatar for Jessurider

[url]http://download.oracle.com/javase/tutorial/2d/index.html[/url] [url]http://www.java2s.com/Tutorial/Java/0261__2D-Graphics/Catalog0261__2D-Graphics.htm[/url] [url]http://www.java2s.com/Tutorial/Java/0261__2D-Graphics/0500__PrinterJob.htm[/url] [url]http://www.java2s.com/Tutorial/Java/0261__2D-Graphics/0520__PrintJob.htm[/url] [url]http://www.java2s.com/Tutorial/Java/0261__2D-Graphics/0540__Print.htm[/url] [url]http://www.java2s.com/Tutorial/Java/0261__2D-Graphics/0550__Print-Service.htm[/url]

Member Avatar for stultuske
0
155
Member Avatar for Majestics
Member Avatar for Majestics
0
109
Member Avatar for sirlink99

build GUI, show JFrame, start javax.swing.Timer(timer.setRepeats(false);), then activate your hidden Woodoo in clasess FallMenu() and FallGame(). otherwise it would be always FallingGui :-)

Member Avatar for mKorbel
0
2K
Member Avatar for duuude
Member Avatar for Anuradha Mandal
0
140
Member Avatar for bhallarahul

ys that possible and vice versa, who PL as base and call another PL (C or Java)

Member Avatar for komyg
0
126
Member Avatar for Majestics

@peter_budo @Ezzaral hmmmm @Majestics had, has, will have excelent question dribbling, always ask questions with agrumentations, that isn't works, isn't possible, but always without relevant code, my status was, is, and will be to my rellated questions I answered these questiuon just with respect to this community and possible futures …

Member Avatar for mKorbel
0
116
Member Avatar for sagngh8

crossposted [url]http://stackoverflow.com/questions/6593043/taking-screenshot-with-java-applet-using-java-robot-class-not-working[/url]

Member Avatar for Ezzaral
0
456
Member Avatar for PythonNewbie2

for example [CODE]for (int i = 0, n = file; i < n; i++) { if (file[i].toString().contains(".cvs")) {...[/CODE]

Member Avatar for peter_budo
0
226
Member Avatar for jamd200

@jamd200 are you planing to set correct colorizations for resistor category, consuptions in Watt and tolerance too,

Member Avatar for jamd200
0
7K
Member Avatar for Majestics

to_date(...) is some formula, or void or class or something in Java that returns java.xxx.Date or java.xxx.timestamp ??? you are mixing syntax valid for Sql Engine with Java, there must be Java code with by usage of Java API

Member Avatar for peter_budo
0
92
Member Avatar for I<LateNupurGuha
Member Avatar for Majestics
0
100
Member Avatar for Majestics

@Majestics Think if i have 140 textfields , 200 buttons with images... and 10 frames in an app... then it would take almost all of my ram if java fail to clean the resources on close... kind of poor background for java. that valid for all programing languages 1/ top-level …

Member Avatar for Majestics
0
300
Member Avatar for Majestics

@stultuske please change link to todays Java6 API, and maybe add SimpleDateFormat, my msg would be deleted by myself that's about Java SQL Timestamnp :-) not date formating :-)

Member Avatar for debasisdas
0
162
Member Avatar for sirlink99

@NormR1 [CODE]EventQueue.invokeLater(new Runnable() { @Override public void run() { someComponent.grabFocus(); someComponent.requestFocus();//or inWindow depends if Swing or Atw } }); [/CODE]

Member Avatar for sirlink99
0
521
Member Avatar for sirlink99

@sirlink99 if you switch JComponents in Top-Level Containser, then don't forget to call [CODE]revalidate(); repaint();[/CODE] or maybe better ways is look for CardLayout

Member Avatar for sirlink99
0
132
Member Avatar for newbie14
Member Avatar for newbie14
0
285
Member Avatar for Majestics

I have got link for that in your 2 two threads back ..., why did you tried to reinvent the wheel, maybe someone another will find patience for that, I'm out of this thread

Member Avatar for Majestics
0
234
Member Avatar for Majestics

javax.swing.ListSelectionModel can returns MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, and SINGLE_SELECTION. set that for JTable

Member Avatar for mKorbel
0
234
Member Avatar for Majestics

@Majestic please check my post [url]http://stackoverflow.com/questions/6261017/how-to-add-different-jcombobox-items-in-a-column-of-a-jtable-in-swing/6261853#6261853[/url] and then really ask the question, sure there are lots of ways how to implements that, anyway basic tutorial show this issue in low lever form [url]http://download.oracle.com/javase/tutorial/uiswing/components/table.html#combobox[/url] examples for JTable [url]http://www.java2s.com/Code/Java/Swing-JFC/Table.htm[/url] (TableCellRenderer + TableCellEditor)

Member Avatar for Ezzaral
0
145
Member Avatar for ceyesuma

[url]http://www.java2s.com/Tutorial/Java/0140__Collections/MultidimensionalVectorsVectorsofVectors.htm[/url] [url]http://download.oracle.com/javase/6/docs/api/java/util/Vector.html[/url]

Member Avatar for ceyesuma
0
922
Member Avatar for marsangel

yes everything is [url]http://download.oracle.com/javase/tutorial/uiswing/components/table.html[/url] and examples [url]http://www.java2s.com/Code/Java/Swing-JFC/Table.htm[/url]

Member Avatar for mKorbel
0
289
Member Avatar for Majestics

@Majestics see my post in your second post, that really nonsence without seeing your code :-)

Member Avatar for Majestics
0
156
Member Avatar for winecoding

@pbl you missed .trim() @ztini your 2nd. code "if (a.equals("")) {" is total nonsenceas as answer for OP's, no never use that, nor to advice for someone real code would be [CODE]if(a == null || a.trim().length() == 0) {[/CODE] for OOP and class that can returs null value is there …

Member Avatar for mKorbel
0
159
Member Avatar for bufospro

but there are two Timers java.util.Timer and and javax.swing.Timer for your purpose is only javax.swing.Timer never call sleep(int) in Swing, because there no guarantee for unexpected output to the GUI

Member Avatar for mKorbel
0
99
Member Avatar for IIM

agreed with @masijade look here [url]http://download.oracle.com/javase/tutorial/index.html[/url] and tons of examples here [url]http://www.java2s.com/Code/Java/Database-SQL-JDBC/CatalogDatabase-SQL-JDBC.htm[/url]

Member Avatar for IIM
0
124
Member Avatar for Feriscool

I don't test or run you code, just there I missed [CODE]public static void main(String[] args) { NPCSpawn main = new NPCSpawn(); main.setVisible(true); }[/CODE]

Member Avatar for mKorbel
0
230
Member Avatar for pro_learner

and Driver's Package, that you downloaded from Microsoft contains full tutorial in Html forms

Member Avatar for pro_learner
0
112
Member Avatar for BOOMBOOMF

if you have proble with loop post here only code contains your problem, because (inc. me) nobody going to debug your problem for you, or with update to the GUI, your desription is vague

Member Avatar for mKorbel
0
363
Member Avatar for sirlink99

[I]<moderator edit: snipped instead of deleted to retain thread continuity>[/I]

Member Avatar for sirlink99
0
127
Member Avatar for sirlink99

painComponent(Graphics g){..} instead of paint(Graphics g){..) and if you want to really painting something ... then [CODE]if (SwingUtilities.isEventDispatchThread()) { paintImmediately(int x, int y, int w, int h) // or Rectangle r } else { Runnable doRun = new Runnable() { @Override public void run() { repaint(long tm, int x, int …

Member Avatar for NormR1
0
342
Member Avatar for sandyho
Member Avatar for syeda amna

[url]http://download.oracle.com/javase/tutorial/uiswing/events/focuslistener.html[/url] or [url]http://www.java2s.com/Tutorial/Java/0260__Swing-Event/0260__Focus.htm[/url]

Member Avatar for mKorbel
0
219
Member Avatar for JSS540

@NormR1 hmmm just question in most complete GUI I always (maybe my endless lazyness) call [CODE]((PanelWhichHeltLabel) this.getParent().getParent()).changeLabelText();[/CODE] because in All MultiThread App(not menaing only Java), is sometimes too hard timing output correctly to the GUI, this syntax (wrapped into invokeLater) always works, correctly and by expected order on the screen …

Member Avatar for JamesCherrill
0
1K
Member Avatar for C:\>
Member Avatar for C:\>
0
135
Member Avatar for Crono
Member Avatar for mKorbel
0
114
Member Avatar for WolfShield

as JamesCherrill wrote, that possible but this idea isn't easy job, beacuse wrong implemntations can freeze whole JList contents for a few moments good luck

Member Avatar for WolfShield
0
137
Member Avatar for jemz

you have to downolad [url]http://www.mysql.com/downloads/workbench/[/url] instalations added - MySql Administrator (gui for admin), mySql Migration toolkit (import database f.e. from MsAccess) and another two Options

Member Avatar for jemz
0
97
Member Avatar for kwins

@JamesCherrill that 1Mio times worse than you wrote, just for joke put this code to your IDE, really k*i*l*l*e*d my patience on lineNo 132., sure that not just Debuger test, that was unpalatable IQ test,

Member Avatar for jon.kiparsky
0
238
Member Avatar for AnkitKumar

@AnkitKumar wrote anybody tell me that java is object oriented or not . tottaly wrong asked question 1/ if you want to OOP, yes pure Object oriented 2/ if you don't want OOP, yes ..., despite that Java is pure Object oriented, then you can pretty ignore that and write …

Member Avatar for jwenting
1
326
Member Avatar for rosey_fci

yes read this tutorial [url]http://download.oracle.com/javase/tutorial/uiswing/components/table.html[/url] , then try all possible examples about that on [url]http://www.java2s.com/Code/Java/Swing-JFC/CatalogSwing-JFC.htm[/url] and then returns with concrete question(s)

Member Avatar for mKorbel
0
40
Member Avatar for 24x24

agreed with @NormR1... don't forget for that that Image and ImageIcon are too heavy for GPU, RAM and CPU

Member Avatar for mKorbel
0
163
Member Avatar for Sekhrian

[url]http://download.oracle.com/javase/tutorial/uiswing/components/dialog.html#features[/url] and [url]http://www.java2s.com/Code/Java/Swing-JFC/OptionPane.htm[/url]

Member Avatar for Sekhrian
0
188
Member Avatar for AhmedGhazey

AhmedGhazey wrote [CODE]i want a free tool to draw structure chart[/CODE] sure google is your best friend, but not everything is gold that glitters

Member Avatar for AhmedGhazey
0
106

The End.