| Thread | Last Post | Replies |
|
| JProgressBar not displaying properly | 22 Nov 2005 20:56 GMT | 1 |
I am trying to get a JProgessBar to appear (in indeterminate state) and animate while a database is connecting and then disappear when connection is made. Here's my attempt at code: progressBar.setIndeterminate(true);
|
| repaint problem | 22 Nov 2005 20:31 GMT | 4 |
I've got a problem with paint(). My window needs a complete redraw if the window size changed. Thus I added a repaint() in the componentResized() callback. This callback is called -- I checked.
|
| repaint() but no changes until i minimise then maxamise? | 22 Nov 2005 20:02 GMT | 5 |
I have an application where entering certain numbers changes the data held, I had observers looking at these observables and when they are notified they make changes to what is displayed on screen, one of these is some swing graphics. I do a repaint() in the observer but when I run
|
| JFrame focus when used as a popup | 22 Nov 2005 19:09 GMT | 2 |
I know this is probably poor implementation on my part but I've got a GUI application that needs to popup a window with several controls on it that allow some options to be set. I implemented this popup as a JFrame and now, of course, when you touch the underlying GUI, the popup
|
| Q: Keeping JCheckBoxMenuItem and JToggleButton in sync through Action | 22 Nov 2005 18:13 GMT | 3 |
I am using Action objects when building my JCheckBoxMenuItem and JToggleButton items in the menubar and toolbar. I assumed this would keep the two in sync just like happens with the "enabled" property, but it seems I somehow have to manage the
|
| ActionEvent valid/invalid id | 22 Nov 2005 15:16 GMT | 3 |
I have defined a custom Action that extends AbstractAction for quiting my application. This action performs all types of house-keeping before calling System.exit(0). Now I would like to perform this action when the user clicks on the close X of the main JFrame. What I have done is
|
| JSpinner with DateModel, setValue not working ? | 22 Nov 2005 07:45 GMT | 4 |
I wrote a JSpinner-based Class that I use as a Time Chooser. The spinner has a DateModel. My problem is that the setValue does not work : the content of the spinner is not updated.
|
| Progressbar Stops Updating | 21 Nov 2005 21:26 GMT | 2 |
I'm having some strange issues getting a JProgress bar to update correctly. I have set up a pretty basic app that does RSA decryption. It's supposed to read in a CSV and a certificate containing a private key and output a decrypted version of the file. I set the code up using
|
| Icons overlapping | 21 Nov 2005 18:16 GMT | 5 |
Hello, I have a question. Does anybody know how to overlap (I don't know if this is the right term in english!) two or more icons? For example, in Eclipse this happens when you have a static or final field (or method). There is the field
|
| GUI builder for Eclipse? | 21 Nov 2005 03:00 GMT | 5 |
Is there a GUI builder for Eclipse? Where can I get it from?
|
| javax.swing Timer implementation | 21 Nov 2005 01:34 GMT | 5 |
I am having some problem, I need to implement Timer, The program should work this way: Buttons placement in program should be generated randomly. Button stays there for a period of time, if user clicks it in that period of time then Button changes placement randomly again if ...
|
| Need a JSplitButton | 21 Nov 2005 00:45 GMT | 1 |
Like the back/forward button in a browser, where it is basically 2 buttons, one on the left is the large button and on the right is an arrow that will pop-up a JMenu when clicked. This would look pretty much like a JButton with th4e JComboBox's arrow button. Thanks!
|
| JFormattedTextField inconsistent behavior | 20 Nov 2005 23:33 GMT | 1 |
I'm attempting to create a JFormattedTextField that will accept only a certain set of characters, but there is not a limit on the length of the string. I have put together a MaskFormatter like this (pardon any typos, I'm having to type it in from scratch):
|
| File I/O question | 20 Nov 2005 15:51 GMT | 6 |
I would like to look for a filename consisting of at least an 'a' and '.txt' and then let the program just search the disk for it. When looking at file I/O (e.g. at mindprod) I get the impression that I won't be able to just scan through the filestructure on disk. Is this a
|
| something similar to a JTabbedPane | 19 Nov 2005 21:59 GMT | 3 |
I have N number of panels that I need to switch between, only 1 panel being visible at a time. But I do not want Tabs shown. My first thought was to use a parent panel with a layout of BorderLayout and place the
|