953 Posted Topics
Re: nothing to your topic (because there nothing about Model and Controler), but questions 1/ why are you using RepaintManager and for disable DoubleBuffering, btw isn't correct play with opacity 2/ for why reason you slept 3sec (that's aminations) 3/ are you tried what's hapends if you refuse MFC(if at the … | |
Re: hint removed, completely answered on Java-Forum thanks Darryl Welcome on this forum | |
Re: welcome on this forum where do you want to place Image | |
Re: if this small box would be JButton, then you can overRide ButtonModel | |
Re: there are 3 ways 1/ set JComponent public static, beginers way, in this case you can directly call className.myComponent#someMethods (all methods as in original class) but combined JComponents sometimes refuse to work correctly, for this reasons there are exist 2/ set Constuctor for JCompoents between clasess, then you can modified … | |
Re: <ot> I would that, but with recrusive methods in finally statement only, then you can call continue; in catch statement instead of break; (break is nonsense in this ...) anyway this syntax is out from Java, are you **** with deQue too for (Thing t : things) </ot> | |
![]() | Re: Comparator [url]http://www.java2s.com/Code/Java/Collections-Data-Structure/ListandComparators.htm[/url] ![]() |
Re: Java upTo latest 1.6.24 implements just up to Html <= 3.2 | |
Re: hmmm, my not helicopter view, that's strange, what's going on, - there is presumsions that these people knows something about .... - they from their experiencies, im most case ...bla bla bla bla .. - on any Forum can't be punished for their views, is against democracy, just ... blablabla, … | |
Re: [url]http://download.oracle.com/javase/tutorial/uiswing/events/keylistener.html[/url] | |
Re: I can't any knowledge that some "drop down list box" exist, you'll need to bother and send your code here | |
Re: @ hertze_bogdan [CODE] Always do that on a white paper. Or you an IDE and debug your code, but it's better on a paper. [/CODE] ++ | |
Re: well, that great project, but if you read (carefully) this thread [url]http://www.daniweb.com/forums/thread99132.html[/url] | |
Re: your code snipped doesn't shows java import, and any imagine about User class, maybe that's look like as throuble with Java DeskTop Aplications (JRS 296), not exactly with constuctor, maybe will be better ask for help on Netbeans Forum | |
Re: well, you have to search on an iText Forum, or read docs comings with API | |
Re: @ ztini & masijade please to OP to ignore my post, because focusListener works in this case as she/he's expected, there is one ... strange ignorance on 1st. FocuLost, value must always be greater than 1T : [CODE]import java.awt.*; import java.awt.event.*; import java.math.RoundingMode; import java.text.NumberFormat; import javax.swing.*; import javax.swing.border.*; import … | |
Re: iReport (free and nonFree, but read carrefully usage and TOC) comings from JasperReport (nonFree) and another google probably will shows some link CrystalReport isn't win too | |
Re: there are completed infos about that [url]http://download.oracle.com/javase/tutorial/jdbc/index.html[/url] some expamples on [url]http://www.java2s.com/Code/Java/Database-SQL-JDBC/CatalogDatabase-SQL-JDBC.htm[/url] and there is MySql tutorial also [url]http://www.java2s.com/Code/SQL/CatalogSQL.htm[/url] | |
Re: but before that [url]http://download.oracle.com/javase/tutorial/uiswing/events/keylistener.html[/url] | |
| |
Re: and add [CODE] } catch (SQLException ex) { jlblStatus.setText("Update failed: " + ex); }finally{ stme.close } [/CODE] | |
Re: [url]http://download.oracle.com/javase/tutorial/uiswing/components/table.html[/url] and [url]http://www.java2s.com/Code/Java/Swing-JFC/Table.htm[/url] | |
Re: because your main method mising any statement [CODE] public static void main(String[] args) { } [/CODE] | |
Re: @ Phil++ never, never use [CODE]public void paint(Graphics g)[/CODE] but [CODE]public void paintComponent(Graphics g)[/CODE] sure better is following with hided hints posted by ztini | |
Re: then without previous jokes, 1/ post here your code, not some code snipped, sucked from some knows url 2/ describe what are you really expected | |
Re: then really, time to write this code by yoursefl, no idea... | |
Re: fof Swing JComponents you never, never use paint, but paintComponent and why don't use: 1/ Caret 2/ Html | |
Re: @ sirlink99 wrote [CODE]I would like to implement multiple swing timers[/CODE] yes good idea, is possible [CODE]each of which have a different function[/CODE] yes good idea, probably safer way [CODE]but I cannot seem to separate the functions. I have one actionlistener and I cannot make another one[/CODE] from ActionListener you … | |
Re: @ masijade no FW, sure by using validate() for addOns/removes JComponents on most cases works, but correct way is revalidate()...(revalidate covered validate too), in proofApp's you have to be care and hold this rule, hmmm for example some JComponents doesn't works correctly and as you expected (JComboBox missing data from … | |
Re: search for SimpleDateFormat (returns String) | |
Re: for example [url]http://www.java2s.com/Code/Java/Data-Type/CatalogData-Type.htm[/url] | |
Re: never surrender !!! just replace [CODE] JButton B = (JButton)e.getSource(); [/CODE] with [CODE] Object obj = e.getSource(); [/CODE] your Container probably freeze, put your long action(s) to the backGround Task, and if is method "print()" real outPut to PrinterJob, hmmmm ... | |
Re: ToolTip is stinky dead fish, I think that coming in with same form from Java 1.4, and never changed..., search for ToolTipManager, can help you in some cases, but if you really need works with that, then only html formatted give you ... (java accepted Html <= 3.2), look for … | |
Re: your code probably doesn't works because I think that never call [CODE]totalAYearLabel[i].setBounds(10, v, 250, 20);[/CODE] | |
Re: @ oldezwe if you done with your : [CODE] -List of names in a database -names have double assigned to them, x [/CODE] then sent here your Sql dump with column only, without those is your pleasure ..., so far much luck | |
Re: hmmm interesting, very (I'm talking now only about NetBeans and don't about Generic) 1/ why learns some programing language from some NotepadDinosaurusCreature not, no, never, don't do that, loose lot's of time, only you'll learn very fast typing as proof administrative... my view: I loose my ... on RPG and … | |
Re: or put that to some of Set because doesn't allows duplicates | |
Re: here [url]http://java.sun.com/developer/onlineTraining/Programming/JDCBook/appA.html[/url] | |
Re: [CODE]text file to change the C, into C++, how would I go about doing this? [/CODE] are you sure about ... and about C++, then you probably Win user, [CODE]("C:\\Applications\\eclipse\\Projects\\ATM\\src\\carlos.txt");[/CODE] | |
Re: there isn't something about JTextArea, you are missing add anything about JTextArea [url]http://download.oracle.com/javase/tutorial/uiswing/components/textarea.html[/url] [url]http://www.java2s.com/Code/Java/Swing-JFC/TextArea.htm[/url] | |
Re: [url]http://download.oracle.com/javase/1.4.2/docs/api/java/util/regex/Pattern.html[/url] | |
Re: before anything about DefaultTableSorter if you are able to implement this one instead of your JCombobox [url]http://www.java2s.com/Code/Java/Swing-Components/AutocompleteComboBox.htm[/url] two separeted classes (you needed both) [CODE] private ArrayList<String> listCustomer = new ArrayList<String>(); private final Java2sAutoComboBox customerCombo = new Java2sAutoComboBox(listCustomer); listCustomere.add("-"); listCustomere.add listCustomere.add listCustomere.add customerCombo.setDataList(listMmFullname); [/CODE] same for AutoCompleteJtextField (that s very interesting), … | |
Re: if your project run from NB then Project - Properties - Run there select your main class, save that, clean & build, that all for Eclipse same, but for built you have to look for buitl plugin or script(s), | |
Re: because I don't know something about it, then [url]http://forums.netbeans.org[/url], | |
Re: [url]http://download.oracle.com/javase/tutorial/uiswing/layout/gridbag.html[/url] and [url]http://www.java2s.com/Code/Java/Swing-JFC/GridBagLayout.htm[/url] | |
Re: error(s) comings just from dbConnection, GUI is correct, | |
Re: [url]http://download.oracle.com/javase/tutorial/essential/exceptions/index.html[/url] | |
Re: [CODE]import java.util.ArrayList; import java.util.Collections; public class odd { public static void main(String[] args) { int x = 20; ArrayList<Integer> odd = new ArrayList<Integer>(); ArrayList<Integer> even = new ArrayList<Integer>(); while (x > 0) { if (x % 2 != 0) { odd.add(x); } else { even.add(x); } x--; } Collections.sort(odd); Collections.sort(even); … |
The End.