| Thread | Last Post | Replies |
|
| Font size in text Field and text Area | 15 Sep 2003 01:58 GMT | 1 |
I am using swing. I want to reduce the size of the font in text areas and text fields to fit more in. Is there an easy to do this?? Mark
|
| how to (right) align text within JTextField component... | 14 Sep 2003 16:16 GMT | 2 |
i'm trying to right justify text within a JTextField component. what am i doing wrong...can someone point me in the right direction? import javax.swing.SwingConstants.*; displayText = new JTextField("0.",20); // this compiles but is left
|
| How would you implement a Wizard dialog in Swing? | 14 Sep 2003 16:14 GMT | 7 |
You know, the kind of dialog with the "<< back", "next >>", "finish", and "cancel" buttons. Fill in the fields, press "next" and see the next set of input fields, checkboxes, etc. All in the same JDialog? I don't want to write several JDialog boxes. I just want one JDialog
|
| Threads and GUI | 13 Sep 2003 12:24 GMT | 2 |
by pressing a button in my gui I want to start a thread which is doing some time consuming stuff. Unfortunatelly the gui does not refresh or repaint or revalidate itself until the thread is finished. I start the thread by calling the start-method of an inner class wich inherts ...
|
| Panel focus change: mnemonic stays with former panel | 13 Sep 2003 10:40 GMT | 1 |
When I change focus from panel 1 to panel 2 (within a JFrame), it seems that the mnemonics stick with the panel 1's keyboard definitions. Only if you press Esc then the appropriate mnemonic works. Has anybody seen this, and if so, how can I correct this?
|
| Dragging dialog causes marks on JPanel | 13 Sep 2003 04:54 GMT | 6 |
when I drag a JDialog around on my JPanel, it leaves a track mark I don't know how to get rid of. Various calls to validate() and repaint() offer no resolution. A picture speaks louder than words: http://www.e-report.dk/mno/guishit.jpg
|
| Center JFileChooser on screen | 12 Sep 2003 20:35 GMT | 3 |
Could anyone tell me how to center a JFileChooser dialog on screen? Thanks!
|
| JList Keystroke positioning problem | 12 Sep 2003 20:34 GMT | 1 |
I have a dialog frame with a list and a text field. When the list has focus and an alpha key or backspace is entered I want to write the key to the text field and search for the text field text in the list. It works some of the time but not evertime.
|
| Swing screen snapshots for user manual | 12 Sep 2003 03:59 GMT | 9 |
Now that I've written my application, I'm drafting the user manual. Are there any tricks in Swing to make taking the screen snapshots easier? Thanks Jeff
|
| DefaultTableModel addrow problem | 12 Sep 2003 00:55 GMT | 1 |
MyDefaultTableModel.addrow(new Object[]{"a","b","c"}) add new row . instead of "a", "b", "c" for value of each column, i see "a", "a", "a" What is wrong??
|
| JEditorPane HTML font sizes shown query | 11 Sep 2003 17:22 GMT | 1 |
When a JEditorPane displays font sizes 1 to 7 it seems to get the sizes of the fonts wrong when compared to the sizes browsers use. This is most noticable when you have font sizes of 7 which most browser display as 36pt.
|
| Form not painting until finished | 11 Sep 2003 17:08 GMT | 1 |
I have a little swing application which is exporting data out of a database. There is a JFrame with a TextArea and a TextField which gets updated as each "event" happens - e.g. 1000 rows exported. However, despite calling repaint() after appending to the TextArea,
|
| Need a second (mouse-) pointer | 11 Sep 2003 14:34 GMT | 4 |
I need a second (mouse-) pointer in my swing-based application. I like to use it as a "ghost mouse pointer". It'll be controlled by the application and not by an other input device. So, do you know a way to do that trick?
|
| Java Swing problem on Win2k | 11 Sep 2003 12:14 GMT | 1 |
I am developing a Swing based GUI application for Win NT/2k. On NT, the GUI application starts up immediately, but on Windows 2k the GUI sometimes does not appear at all. I suspect the culprit to be in the ImageIcon construction part, specifically
|
| Getting images from web sites | 11 Sep 2003 08:53 GMT | 1 |
I'm developing a simple program which you can use to point at a web site and download the HTML and images found at that URL. At the moment, to retrieve images I am inspecting the HTML for <img> elements and extracting the value of the src attribute. I am then using this
|