| Thread | Last Post | Replies |
|
| Simple jButton question. | 01 May 2005 00:00 GMT | 1 |
I want a jButton to replace a selected text with the new text in a JTextPane. How can i do that? JTextPane p = new JTextPane; JButton b = new JButton("Replace Text");
|
| Java GUI -v- .NET Winforms ? | 30 Apr 2005 19:54 GMT | 4 |
Can anyone give a reasoned response to how a Java UI compares to a .NET Winforms UI, or links articles discussing this ? [please, no flame war!] Typical arguments I hear are about Java UI's are: "Just never looks quite right" - always slightly different to a "proper"
|
| Event handler problem in JTable | 30 Apr 2005 05:05 GMT | 1 |
I am using an extension of the JTable (JXTable, from Sun's JDesktop Network Components). I am able to use event handling in this class. One of the columns within this table has cells containing a custom JPanel with their own event handling capability. The only thing is
|
| JMenu holding JButton instances - bug with 5.0? | 30 Apr 2005 04:52 GMT | 4 |
In the past I have had reasons for adding JButton (and JCheckBox) instances to a JMenu's popup. This has worked successfully prior to 5.0. Now with 5.0 it seems the buttons and checkboxes get stuck when clicked, with no indication of what went wrong. They get stuck before
|
| "standards" for tooltips? | 29 Apr 2005 23:07 GMT | 2 |
All, I'm working on a large Swing app. which has inconsistent use of tooltips. In fact I have to address a bug report complaining about the inconsistencies of the tooltips. Some of our widgets display "helpful
|
| Java gui control for incrementing and decrementing a field? | 29 Apr 2005 14:21 GMT | 2 |
What is the java Gui control for incrementing and decrementing a field? I need an up and a down arrow. Clicking the arrows increases or decreases a number in the field. Is there anything in Java like this? example :
|
| J2ME, protected void keyPressed() no response on soft button. | 29 Apr 2005 13:21 GMT | 4 |
Hi, I can`t detect a soft button event, my codes: protected void keyPressed (int keyCode) { ...
|
| How to call run() of Canvas from MIDlet ? | 29 Apr 2005 11:26 GMT | 11 |
I want to restart the run() of Canvas from the call of MIDlet, how to do it ? Thank you very much. Best regards
|
| Difference between itemStateChanged and stateChanged for a JCheckBoxMenuItem | 29 Apr 2005 08:51 GMT | 3 |
which one is better to use for a JCheckBoxMenuItem: - itemStateChanged or - stateChanged
|
| Replace row in JTable | 29 Apr 2005 06:31 GMT | 4 |
Is it possiable to replace a row in a JTable with another on? I update a row from the JTable, and want the new data to replace the old ones. Brian
|
| Cut & Paste in Swing | 29 Apr 2005 02:26 GMT | 1 |
Hi. I have an application with a JTable and a custom cell editor object. I have cut and paste from the system clipboard working, but only for unformatted strings. My custom cell editor allows text formatting including bold, underline,
|
| Problem with Font.createGlyphVector(frc, String) | 28 Apr 2005 23:24 GMT | 1 |
Hello, I have the following problem: I create a GlyphVector, and drawing this GlyphVector later. It works fine with regular string, but if string starts from blanks, they are disappear. It means, that if I have
|
| Horizontal wrap with JScrollPane | 28 Apr 2005 23:17 GMT | 1 |
My own component contains elements, these elements can be laid out horizantaly, horizontaly with wrapping etc. This component is usually wrapped in JScrollPane. I have problem with HORIZONTAL_WRAP - in that orientation horizontal
|
| doubt in JScrollpane | 28 Apr 2005 23:10 GMT | 2 |
my image size is big, so i added jscrollpane. when i drag to select the full image, jscrollpane is not moving automatically... i couldn't select the full image...
|
| revalidate() vs. repaint()? | 28 Apr 2005 19:05 GMT | 3 |
do I interpret the docs correctly that validate(), invalidate() and revalidate() are only useful if I use a layout manager? I know: "ALWAYS use a layout manager" :-), but if I don't a repaint() should be enough, or am I wrong?
|