953 Posted Topics

Member Avatar for Slyvr

maybe you are mixing AWT and Swing Components, all your components you have to starts with "J"

Member Avatar for JamesCherrill
0
103
Member Avatar for skajava
Member Avatar for mKorbel
0
91
Member Avatar for Slyvr

please change Canvas to JPanel and paint to painrComponent [url]http://www.daniweb.com/software-development/java/threads/358011[/url]

Member Avatar for Slyvr
0
126
Member Avatar for Kuroshi

hmmm, are you tested if(companyLogo == null){ System.err.println("My IconImage must be in same package as invoked class") }

Member Avatar for Kuroshi
0
143
Member Avatar for yancouto
Member Avatar for yancouto
0
798
Member Avatar for SMITA6076

maybe typos mistake,check that again because one cotainer you can add just one, that standard how to lay GUI, nice way hmmm these "panels" are declared (at all) as JPanels ???,

Member Avatar for JamesCherrill
0
395
Member Avatar for sirlink99
Member Avatar for HelloMe

again change JTextField to JFormattedTextField with Date/Time formatter, from there are comings more than 90pct of your *** nigth(s) or put that to JTable with Date.class for TableColumn

Member Avatar for HelloMe
0
105
Member Avatar for gunjannigam
Member Avatar for gedas

[CODE]is there alternative to using applets? [/CODE] yes JSP and there are (Free, nonFree, MixedLicencies) lots of Widgets, templates, examples, tutorials etc..., I'm using Netbeans and this sites contains a few good tutrials about that, maybe .... web framework ruby on rails (faster for endUser Html viewer) JApplets is very …

Member Avatar for gedas
0
78
Member Avatar for gingerfish
Member Avatar for sirlink99
Member Avatar for mKorbel
0
78
Member Avatar for Slyvr
Member Avatar for gedas

before anything please carrefully reads this thread [url]http://forums.oracle.com/forums/thread.jspa?threadID=2197433&tstart=15[/url] if not at for your level, then search on Oracle sites, there are a detailed descibed your ...

Member Avatar for Ezzaral
0
106
Member Avatar for SeanC

but as Darryl said (Java Forum) remove and add just if needed, if you'll able to set boolean flag (Ezzeral sugestion), then you'll be able same way remove&add whole Listener, that's good concept and the safiest

Member Avatar for Ezzaral
0
406
Member Avatar for SMITA6076

to avoids conversion between SimpleDateformat and Date (or Calendar) vice versa java.util.Calendar instance allows that [CODE]cal.add(Calendar.DATE, +14);[/CODE], java.util.Date too (but long value in milisec)

Member Avatar for SMITA6076
0
922
Member Avatar for madhavipoudala

well there are 2separated areas 1/ Active MQ plus JMS API [url]http://activemq.apache.org/[/url] and 2/ WebSphere (you have to be registred as IBM partner for jar distributions) [url]http://www-01.ibm.com/software/integration/wmq/clients/[/url] sure you can confortly listening and put/get plain Msgs, little bit hardier it would be with create the MqExplorer (a few "IBM" there …

Member Avatar for mKorbel
0
110
Member Avatar for Slyvr

majorities of Listeners works multiplayed, but just last give output to GUI, you can compare that with DocumentListener, ListSelectionListener ... [url]http://download.oracle.com/javase/tutorial/uiswing/events/index.html[/url] check this one [url]http://download.oracle.com/javase/tutorial/uiswing/misc/keybinding.html[/url]

Member Avatar for Slyvr
0
137
Member Avatar for SCass2010

I can' see differencies, lots of code for JPanel[], same as for each JPanel separatelly but JPanel[] is easiest and declared once, [url]http://download.oracle.com/javase/tutorial/uiswing/events/mouselistener.html[/url] for storing/identify clicked event please reads this thread [url]http://www.daniweb.com/software-development/java/threads/356281[/url]

Member Avatar for SCass2010
0
1K
Member Avatar for harinath_2007
Member Avatar for csl

nobody can understood that from this code snipped, (look for Insets, not Bounds) revalidate(); repaint();

Member Avatar for mKorbel
0
159
Member Avatar for jasperFernandes

[url]http://download.oracle.com/javase/tutorial/uiswing/components/textfield.html[/url] with [url]http://download.oracle.com/javase/tutorial/uiswing/events/documentlistener.html[/url]

Member Avatar for mKorbel
0
2K
Member Avatar for lee.j.baxter

very good choise, this one is very PowerFull methods for GUI based BackGround Tasks, I never had problems with that SwingWorked never should be ThreadSafe(some bugs, one with Executor still in Top25 for Java <1.6.22), but you can implements/wrote bad, good or excelent workAround ... I didn't see your code, …

Member Avatar for mKorbel
0
133
Member Avatar for Jaily

I think that constructor between classes must be declared on both sides, you had only on Time class (but this costructor is valid for Clock Class)

Member Avatar for mKorbel
0
491
Member Avatar for newcoder310
Re: Time

1/ are you sure that difference between Time will never be more that one day 2/ what value have result, miliseconds, seconds .... java.util.date knows value as long (number in miliseconds) please edit your post [CODE]two= 11:54:30.427[/CODE]

Member Avatar for ~s.o.s~
0
107
Member Avatar for mg120
Member Avatar for Crapz
Member Avatar for Bladtman242

@ ~s.o.s~ maaaaan in all due respect to you, don't do it, never, never... , sure you have to (maybe) wrote lots of code without, you are probably wrong, I think that in this form you lost remoteFile + close Object or ErrorMsg assume that finally block always works, [CODE]Scanner …

Member Avatar for Bladtman242
0
228
Member Avatar for ekin5683

imageIcon was correct see at [url]http://download.oracle.com/javase/tutorial/uiswing/components/icon.html[/url] syntax "\\" is for absolute path in Windows Native OS to OP I don't know why, just test if ImageIcon is null [CODE]if (fish == null){ System.out.println("can't find imageIcon"); }[/CODE]

Member Avatar for mKorbel
0
437
Member Avatar for Crapz
Member Avatar for Crapz
0
89
Member Avatar for sariberri

my view, very very bad, is posible to put Image directly to JPanel, withOut method paintComponent (this Method works for JPanel, for Panel is correct paint ) please search for JPanel instead of Panel sizes.setBorder(new LineBorder(Color.black, 1)); you have to start with [url]http://download.oracle.com/javase/tutorial/uiswing/[/url] and be sure that you'll read [url]http://download.oracle.com/javase/tutorial/uiswing/layout/index.html[/url] …

Member Avatar for Ezzaral
0
298
Member Avatar for joseph.roy9

Swing [url]http://download.oracle.com/javase/tutorial/uiswing/components/index.html[/url] JDBC [url]http://download.oracle.com/javase/tutorial/index.html[/url] lots of examples for those tutorials [url]http://www.java2s.com/[/url]

Member Avatar for Ezzaral
0
64
Member Avatar for sumprit
Member Avatar for kiswah03

[CODE]I have created the jar file from netbeans ide.Main-Class will be added automatically by build [/CODE] yes maybe added, but you have to check Project properties in Tab Run

Member Avatar for kiswah03
0
111
Member Avatar for jitsux

RoseIndia is full of malicious code, MallWare, SpyWare, your AntiVirus shloud be crying

Member Avatar for abhishek20
0
168
Member Avatar for Cassandra Low

maybe you solved exception, anyway you have to move fw.close(); from try block to the finally block (try - catch - finally)

Member Avatar for mKorbel
0
153
Member Avatar for rampapz
Member Avatar for ajaybali

that's basic stuff, correct and works mabye this one can hepl you [url]http://download.oracle.com/javase/tutorial/deployment/jar/index.html[/url] why did you post link as Spammer, I hate that

Member Avatar for Ezzaral
0
88
Member Avatar for ajaybali

please edit your 3 posts and remove these spams are you want to only select some Item in JComboBox

Member Avatar for Ezzaral
0
78
Member Avatar for 47pirates

@ Ezzaral <OT>I tried that, excelent but there exist another list for inMemory DB's http://en.wikipedia.org/wiki/Embedded_database<OT> to OP [CODE]Jackcess is a pure Java library for reading from and writing to MS Access databases (currently supporting versions 2000-2007).[/CODE] [CODE] Is it possible to create a microsoft access database (mdb) file through a …

Member Avatar for mKorbel
0
249
Member Avatar for MisterSinyster
Member Avatar for sumprit

hmmm there are two things (you have to overRode those Methods) both TableCellEditor and TableCellRenderer [url]http://download.oracle.com/javase/tutorial/uiswing/components/table.html[/url] [url]http://www.java2s.com/Code/Java/Swing-JFC/Table.htm[/url] [url]http://www.java2s.com/Code/Java/Swing-JFC/Table-Column.htm[/url] [url]http://www.java2s.com/Code/Java/Swing-JFC/Table-Model.htm[/url] [url]http://www.java2s.com/Code/Java/Swing-JFC/Table-Renderer-Editor.htm[/url] sure if you have a concrete questions, post here your code ....

Member Avatar for JamesCherrill
0
2K
Member Avatar for bharath54321
Member Avatar for bharathisankhya
Member Avatar for Taimoor Rana

pack that [CODE] tF.setText(watch.time); [/CODE] into invokeLater, repaint(); if JTextField flickering

Member Avatar for Taimoor Rana
0
846
Member Avatar for fodder

[url]http://download.oracle.com/javase/tutorial/uiswing/components/table.html[/url] search how to use TableModel, I'd be preferred for your issue DefaultTabelModel only

Member Avatar for mKorbel
0
98
Member Avatar for JamesCherrill
Member Avatar for JamesCherrill
0
206
Member Avatar for heryirawan1

search for Collections.sort, some examples contains f.e. Comparator<Integer> r = Collections.reverseOrder();

Member Avatar for heryirawan1
0
228
Member Avatar for jansenkzh
Member Avatar for masijade
0
131
Member Avatar for sumprit

[url]http://download.oracle.com/javase/tutorial/uiswing/components/icon.html[/url] for [url]http://download.oracle.com/javase/tutorial/uiswing/components/label.html[/url] and look for proper LayoutManager (mess going into gridbag is possible to save with PreferredSize) [url]http://download.oracle.com/javase/tutorial/uiswing/layout/index.html[/url]

Member Avatar for sumprit
0
174

The End.