| Thread | Last Post | Replies |
|
| [OT] Ultimate Interface. | 30 Sep 2004 20:17 GMT | 6 |
I have been asked by a charity in my home town to consult on getting a computer system in to manage their rota of slightly over 300 volunteers filling about 180 different duties (time slots) in a week. The biggest problem they have without a doubt is getting the 60-80 year old
|
| programatically determine if scrollbar is visible? | 30 Sep 2004 19:07 GMT | 1 |
I have a scrollpane with vertical scrollbar set to show as needed (see snippet below). I'm trying to work out a reliable way of determining whether the vertical scrollbar is showing. I've tried calls to isVisible, isShowing
|
| Stopping close in windowClosing | 30 Sep 2004 17:38 GMT | 9 |
I have an application where I would like to ask the user if (s)he wants to cancel current action. The close is issued by clicking the [X] mark in the (XP) Window. I use WindowAdapter.windowClosing in order to respond to this action.
|
| How to handle the Cancel button on JOptionPane.showInputDialog | 30 Sep 2004 16:02 GMT | 3 |
I have a input dialog that gets the password. When i enter a value and click OK it works fine. But when i click Cancel i get a Null Pointer Exception. How to handle the Cancel button Any help in this regard would be greatly apprecialted
|
| label vs button | 30 Sep 2004 15:01 GMT | 1 |
Hi folks, Please explain me why this two program behave differently. The only difference is in the use of JButton and JLabel, respectively. Here is the first with JButton:
|
| should I use pack() or set the size manually | 30 Sep 2004 03:19 GMT | 2 |
This is a GUI question relating to use of pack(). Generally when I create my gui's using GridBagLayout() and call pack, each component is created very close to each other without any gap in between.
|
| Graphics e JScrollPane | 30 Sep 2004 00:59 GMT | 5 |
ciao ho un problemino con un interfaccia grafica. Ho un pannello sul quale richiamo Graphics(poich? devo disegnarci). Il mio problema ? che molto spesso il disegno va fuori dallo schermo, allora ho pensato di inserire il pannello dentro ad un JScrollPane. ma il problema
|
| One swing application blocks another | 29 Sep 2004 20:31 GMT | 10 |
I have the following problem: One swing application is executed in the following way: - C++ code is executed via windows service - this C++ code runs a batch file.
|
| null UserObject after drag n drop in JTree | 29 Sep 2004 20:14 GMT | 3 |
Hi Gurus, I am implementing simple drag n drop for mutabletreenodes between JTrees. I simply want to copy nodes from on JTree to another by dragging them over.
|
| what are panels for? | 29 Sep 2004 17:33 GMT | 4 |
I have seen programs, in which a programmer adds components to panels and finally adds panel to JFrame's content pane. I dont see any difference if the same program is performed by directly adding component to the JFrame.
|
| JButton.setEnable(false) doesn't disable the Listener (Linux) | 29 Sep 2004 14:54 GMT | 4 |
I assign an ActionListener or a MouseListener to a JButton and later in the programm I disable it (bt.setEnable(false)). It becomes gray but I can click on the (J)Button. That happends on Linux
|
| Moving a time-consuming task out of the event-dispatching thread | 29 Sep 2004 10:18 GMT | 1 |
I have constructed a GUI with a JButton and a JTextArea. When the JButton is pressed I want to execute a method that reads information from somewhere and prints it to JTextArea. The method that reads the information takes a few seconds to compute.
|
| Date chooser problem | 29 Sep 2004 07:08 GMT | 3 |
I have made a custom date chooser control using a JButton and a JDialog. I am using the JDialog like a popup menu i.e. setUndecorated ( false ) and it pops up just below the button. As soon as a date is selected, it disposes itself.
|
| FileDialog.setDirectory("") ? | 28 Sep 2004 23:23 GMT | 5 |
... FileDialog fileDialog = null; if (fileDialog == null) { fileDialog = new FileDialog(this,"Otvori");
|
| Printing a JTable | 28 Sep 2004 21:38 GMT | 2 |
I want to print a JTable with many rows and columns; I recently read an article (http://java.sun.com/developer/onlineTraining/Programming/JDCBook/advprint.html) that describes, how to print a JTable an multiple pages, but this JTable only has many rows, but not many columns, so not ...
|