Well, as i know from studies, pausing threads is unsafe anyway, you dont need to do that in EDT, and it should not be used. Is there anything really bad that can happed, if i just run threads the way...
Type: Posts; User: startas
Well, as i know from studies, pausing threads is unsafe anyway, you dont need to do that in EDT, and it should not be used. Is there anything really bad that can happed, if i just run threads the way...
Well, i have a simple GUI program with many buttons, variables and a few text fields. Lets take this little example :
private Building b1 = new Building("Name", 15.0, 15.0, 0.1, "Description");...
Well, center is center, but there is no <right>, well, i will leave it that way for now, not a big deal. How to create event listeners ? I dont know what excatly i need, but i have many variables,...
Ok, i found a way to use multiple lines in tooltip using html tags. I use this method to update my tooltip text every time i press a button. Now, i want to align just a part of this text to the right...
Is it possible to replace ToolTip with some other multi-line text box, or at least to make ToolTip multi-line ?
Yeah, i know, gonna fix that mess later, now i'm trying to get all my program elements and logic together.
BTW, i noticed, that freezes happens only with very low update time, like 10 ms, but with...
Well, for now it is just a big mess in netbeans with generated code, but it seems that "jTextField3.setHighlighter(null)" method works.
Ok, that worked, thanks. Now i have another question : i have three jTextField elements in my GUI program : jTextField1, jTextField2, jTextField3. I have three threads, that updates very fast these...
So, its very simple thing, but just cant figure it out ... You know, there is buttons and other gui elements, and in many programs, when you move your mouse over any button or icon or other element,...