953 Posted Topics

Member Avatar for bibiki

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 …

Member Avatar for bibiki
0
130
Member Avatar for alibm

hint removed, completely answered on Java-Forum thanks Darryl Welcome on this forum

Member Avatar for mKorbel
0
376
Member Avatar for HappyCat123
Member Avatar for WolfShield

if this small box would be JButton, then you can overRide ButtonModel

Member Avatar for WolfShield
0
105
Member Avatar for Shizuo

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 …

Member Avatar for Shizuo
0
96
Member Avatar for lsvife

<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>

Member Avatar for mKorbel
0
122
Member Avatar for mjv89

Comparator [url]http://www.java2s.com/Code/Java/Collections-Data-Structure/ListandComparators.htm[/url]

Member Avatar for mjv89
0
193
Member Avatar for Kirielson
Member Avatar for Phil++

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, …

Member Avatar for mKorbel
0
158
Member Avatar for shantanusinghal

[url]http://download.oracle.com/javase/tutorial/uiswing/events/keylistener.html[/url]

Member Avatar for mKorbel
0
189
Member Avatar for bharath54321

I can't any knowledge that some "drop down list box" exist, you'll need to bother and send your code here

Member Avatar for mKorbel
0
481
Member Avatar for nickliutw

@ 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] ++

Member Avatar for nickliutw
0
159
Member Avatar for monesh.infy

well, that great project, but if you read (carefully) this thread [url]http://www.daniweb.com/forums/thread99132.html[/url]

Member Avatar for stultuske
0
132
Member Avatar for Amillia89

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

Member Avatar for Amillia89
0
199
Member Avatar for sj5536
Member Avatar for peter_budo
0
227
Member Avatar for Progr4mmer

@ 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 …

Member Avatar for mKorbel
0
177
Member Avatar for bharath54321

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

Member Avatar for peter_budo
0
75
Member Avatar for Amillia89

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]

Member Avatar for Amillia89
0
201
Member Avatar for ccaatty

but before that [url]http://download.oracle.com/javase/tutorial/uiswing/events/keylistener.html[/url]

Member Avatar for mKorbel
0
2K
Member Avatar for sharathvcool
Member Avatar for GooeyG

and add [CODE] } catch (SQLException ex) { jlblStatus.setText("Update failed: " + ex); }finally{ stme.close } [/CODE]

Member Avatar for masijade
0
272
Member Avatar for bharath54321

[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]

Member Avatar for mKorbel
0
65
Member Avatar for lynnajoe

because your main method mising any statement [CODE] public static void main(String[] args) { } [/CODE]

Member Avatar for mKorbel
0
165
Member Avatar for Phil++

@ 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

Member Avatar for Ezzaral
0
280
Member Avatar for cybrix101

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

Member Avatar for Ezzaral
0
150
Member Avatar for Puertorro
Member Avatar for mKorbel
0
356
Member Avatar for mukorera
Member Avatar for Phil++

fof Swing JComponents you never, never use paint, but paintComponent and why don't use: 1/ Caret 2/ Html

Member Avatar for mKorbel
0
122
Member Avatar for sirlink99

@ 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 …

Member Avatar for mKorbel
0
587
Member Avatar for gekkoswave
Member Avatar for someone5

@ 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 …

Member Avatar for mKorbel
0
118
Member Avatar for carlitosway17
Member Avatar for smithy_2009

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

Member Avatar for mKorbel
0
120
Member Avatar for MFal

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 ...

Member Avatar for Ezzaral
0
3K
Member Avatar for hanvyj

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 …

Member Avatar for mKorbel
0
1K
Member Avatar for musikluver4

your code probably doesn't works because I think that never call [CODE]totalAYearLabel[i].setBounds(10, v, 250, 20);[/CODE]

Member Avatar for musikluver4
0
7K
Member Avatar for oldezwe

@ 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

Member Avatar for Progr4mmer
0
174
Member Avatar for jimJohnson

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 …

Member Avatar for Progr4mmer
0
140
Member Avatar for wonder_laptop
Member Avatar for Shizuo

here [url]http://java.sun.com/developer/onlineTraining/Programming/JDCBook/appA.html[/url]

Member Avatar for Taywin
0
135
Member Avatar for CMAUK

[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]

Member Avatar for jon.kiparsky
0
3K
Member Avatar for not4_me

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]

Member Avatar for Progr4mmer
0
146
Member Avatar for johang_80
Member Avatar for johang_80
0
343
Member Avatar for intes77

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), …

Member Avatar for mKorbel
0
1K
Member Avatar for cms271828

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),

Member Avatar for cms271828
0
246
Member Avatar for ARaza110
Member Avatar for mKorbel
0
100
Member Avatar for Taimoor Rana

[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]

Member Avatar for mKorbel
0
129
Member Avatar for kiko11
Member Avatar for thato21math

[url]http://download.oracle.com/javase/tutorial/essential/exceptions/index.html[/url]

Member Avatar for mKorbel
0
50
Member Avatar for ilikepaste

[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); …

Member Avatar for ilikepaste
0
240

The End.