953 Posted Topics
Re: maybe you are mixing AWT and Swing Components, all your components you have to starts with "J" | |
Re: you need search for Java Ldap tools, part of them works with LDAP and AD too | |
Re: please change Canvas to JPanel and paint to painrComponent [url]http://www.daniweb.com/software-development/java/threads/358011[/url] | |
Re: hmmm, are you tested if(companyLogo == null){ System.err.println("My IconImage must be in same package as invoked class") } | |
Re: pack [CODE]log.append(n + ":" + s + "\n");[/CODE] into invokeLater method | |
Re: 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 ???, | |
Re: 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 | |
Re: [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 … | |
Re: google can bring some light with keyWords For loop or Iterator | |
Re: JTextPane + HtmlEditorKit, but Java unfortunatelly died on Html ver.<=3.2, | |
Re: Point#getLocationOnScreen(); returns correct Container Point | |
Re: 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 ... | |
Re: 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 | |
Re: 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) | |
Re: 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 … | |
Re: 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] | |
Re: 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] | |
Re: nobody can understood that from this code snipped, (look for Insets, not Bounds) revalidate(); repaint(); | |
Re: [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] | |
Re: 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, … | |
Re: 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) | |
Re: 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] | |
Re: it look like as protected value, again check that | |
Re: @ ~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 … | |
Re: 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] | |
Re: probably Authors WEB + Authors Docs + Authors Examples | |
Re: 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] … | |
Re: 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] | |
Re: search for Comparator | |
Re: [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 | |
Re: RoseIndia is full of malicious code, MallWare, SpyWare, your AntiVirus shloud be crying | |
Re: maybe you solved exception, anyway you have to move fw.close(); from try block to the finally block (try - catch - finally) | |
Re: that's from Harry Potter (two small childrens) | |
Re: 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 | |
Re: please edit your 3 posts and remove these spams are you want to only select some Item in JComboBox | |
Re: @ 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 … | |
Re: 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 .... | |
Re: maybe on Authors WEB, Authors Docs and with Authors Examples | |
Re: pack that [CODE] tF.setText(watch.time); [/CODE] into invokeLater, repaint(); if JTextField flickering | |
Re: [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 | |
Re: another java forum, and don't forget something about crosspost .... | |
Re: search for Collections.sort, some examples contains f.e. Comparator<Integer> r = Collections.reverseOrder(); | |
Re: @ stultuske :-) why did you hitJack too old threads, zoombie :-) | |
Re: [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] |
The End.