| Thread | Last Post | Replies |
|
| remove all nodes from a JTree? | 05 Aug 2004 11:48 GMT | 10 |
I have this problem with my JTree. I have implemented a JTree, with a root node, where I add all my nodes on the first level. Since I have a bunch of trees to show, I need to change my JTree, according to element that has been selected in a JList. Now the problem is, that if I ...
|
| SWT(JFace) UI update from worker thread | 05 Aug 2004 03:47 GMT | 2 |
I'm writing a JFace & SWT application. It has a worker thread who does some periodic data checking. If it detects some changes on the data, the UI should be refreshed. But SWT's UI mechanism is not allowed to call 'refresh' method from
|
| JComboBox as a (command) menu | 04 Aug 2004 23:47 GMT | 1 |
I have a JComboBox with 3 items. When the user chooses one of the items, I would like that to fire a corresponding action, just like it would work in a Menu. I tried simply adding an Action object directly (JComboBox.addItem(action)) and it doesn't work. How do I do this? Thanks.
|
| JScrollPane and refresh | 04 Aug 2004 15:44 GMT | 14 |
excuse my english, so I will be direct. I've got a JScrollPane init with a JPanel --> new JScrollPane(myJPanel); How can I repaint de JPanel when I move the scroll bar of the JScrollPane ? Thanks in advance, JPh.
|
| Link a textfield and a button | 04 Aug 2004 15:44 GMT | 1 |
Can't find what I want in the API, I know it exists. What is the class/method for linking e.g. a JButton with a JTextField for accessibility purposes. TIA
|
| Setting isCellEditable for JTable via User Event | 04 Aug 2004 15:24 GMT | 1 |
I have a JTable with a custom TableModel which I want to allow the user to be able to right-click row, select Edit, and have a set column (i.e. only column 2 will become editable, set within the program) for that selected row become editable.
|
| Unexplained redraw after several seconds... | 04 Aug 2004 12:45 GMT | 3 |
Hi, I have a simple application with a pretty plain dialog on the screen (using jdk 1.4.2 on Win XP SP1). The app starts & displays the dialog quickly, but after about 5(?) seconds there is a flicker as the dialog gets repainted. It's more noticeable the more complex the dialog ...
|
| multiple tables with cell editors problem | 04 Aug 2004 10:17 GMT | 1 |
I've been trying to implement a simple table cell editor but nothing seems to work well. I started using the AbstractCellEditor route, but found out that I'm restricted to the space inside the cell only. I want something like the combo box that pops up directly underneath the ...
|
| Window closing | 04 Aug 2004 08:55 GMT | 1 |
I have the following problem: my application needs to performs some actions befor it is closed. Ok, on window closing a dialog appear, but if the user press cancel i would like to mantain the app
|
| Writing in a JTextArea | 04 Aug 2004 07:01 GMT | 1 |
I am having a JTextArea and i want to get my values to be written in the textarea in a phased manner one line after another.I am using append()method for appending text into textarea.I am using System.out.println() and ta.append().The values are fetched from
|
| how to map from display metrics to physical metrics... | 04 Aug 2004 00:24 GMT | 5 |
Suppose I have a screen which is 1024x768, how can I map this rectangle in pixels into physical world dimensions in meters or in inches? Actually I want to know the physical size of the viewable area of the monitor... Please help me...
|
| Displaying Japanese character in applet problem | 03 Aug 2004 22:43 GMT | 5 |
I am using the Eclipse IDE. When I run my program, the Japanese characters disply fine, but when I run the applet inside Internet Explorer 6, I just get garbage characters. I have changed the encoding to Japanese(JIS) and Japanese(EUC). However, neither seem to
|
| can I obtain information about the monitor by programming in Java? | 03 Aug 2004 17:21 GMT | 7 |
I need your help on this. I need to automatically obtain information about the monitor both on Linux and Windows. So I chose to program in Java. Basically, I need the physical dimension of the monitor and its gamma value and all other valuable information about the monitor which is ...
|
| How to save a picture drawn in applet as a "BMP" file | 03 Aug 2004 05:10 GMT | 3 |
If I have written a progarm in java(using awt components) which can draw a picture, how to write code for saving that picture to a file?
|
| Looking for GUI skeleton, or... | 03 Aug 2004 04:14 GMT | 1 |
I want to write a GUI application but I don't want to reinvent the wheel. Is there a place I can get a working program that doesn't do much, but that has all/most of the standard hooks like the common menu options with working submenus and working
|