| Thread | Last Post | Replies |
|
| How do I enforce a data range/values in a JTable Cell? | 28 Sep 2004 19:40 GMT | 1 |
I have a couple of columns in a JTable where I need to validate or enforce the following rule(s): Col 1: 0 < n < 5 || n==""; Col 2: 0 <= n < 1000000, max 6 digits (ie. 999999), n!="" (required).
|
| JlayeredPane and own layoutmanager2 problem | 28 Sep 2004 17:08 GMT | 7 |
I've been developing an application, where in one part of it i need to drag Jbutton(s) to JPanel. First i used absolute values for JPanels and JButtons (to try out how i can make JLayeredPane respond to dragging). I used listeners to promote button to draglayer and back to normal ...
|
| DropDown in cell of jTable | 28 Sep 2004 15:50 GMT | 3 |
I wish to put a drop down where to choose from when the user edit a certai cell of a jTable. The drop down should appear in the position of the cell thas is going to be edited....
|
| Immediate editing in JTables | 28 Sep 2004 09:23 GMT | 1 |
A JTable consisting of strings using the default editor requires the user to double-click on the cell to edit. I would like to set up my JTable so the user can start editing after a single click or immediately after arriving at the cell using the tab key. Is there an
|
| GUI updating with Timers | 28 Sep 2004 08:42 GMT | 3 |
I currently have a Jlist within a scrollpane which displays a number of "Bot" connections to a server. Everything is working fine until I introduce a timer in order for the connections to be delayed ( ie connection 1 occurs at x seconds, connection 2 at x+5 seconds,
|
| Can I respond to an event when the user presses the [X] in an XP Window | 27 Sep 2004 21:46 GMT | 3 |
I know how to set Swing to close the window, when the [X] is pressed, but I need an event to respond to, when a window is closed. Do you know one? Thanks in advance S?ren
|
| Help needed displaying info in labels using arrays | 27 Sep 2004 19:43 GMT | 4 |
Hi, I'm stuck again in the little program I'm developing... Having a bit of trouble in displaying information in a JLabel by using array's. I work with 2 seperate classes: GeneralInfo.java and GIHelpClass.java
|
| Digital Clock - Transparent Background | 27 Sep 2004 18:05 GMT | 6 |
I am planning on learning the Java language. I have heard it is very useful, and integrates well with Macromedia ColdFusion. Not sure about details, but I guess that comes later. Anyway, I have a small project at the moment and I wanted to be sure Java
|
| Mac Focus Problem... | 26 Sep 2004 22:06 GMT | 4 |
Background: using Java Ver. 1.4.2: I have a static Inner Class that extends JDialog and implements FocusListener. It contains the FocusListener 'focusGained' method that
|
| JAVA SPEECH RECOGNITION | 26 Sep 2004 06:49 GMT | 2 |
Gday Folks, Im currently deciding whether or not to write off a project of mine....what I have is a JAVA program which I would like users to interract with via voice prompts for example Withdraw X, deposit Y. I have been looking at the
|
| How to calculate width of a string? | 25 Sep 2004 15:41 GMT | 19 |
I'm worried about calculating the width of a given string and a given font OUTSIDE of the paint() Method. Let's say someone enters a word into a JTextArea and presses the calc button I'd like to tell the width and height of this string in pixels.
|
| setDefaultCloseOperation doesnt work in constructor | 25 Sep 2004 08:44 GMT | 1 |
In the code below, the function setDefaultCloseOperation doesnt hava any effect if I put in the constructor MyFrame, but the same works when it set after the object is created(see the commented line). What is the reason for this behaviour.
|
| Problems restricting length of Japanese input in JTextField | 24 Sep 2004 21:19 GMT | 1 |
I have problems problems restricting length of Japanese input in JTextField. I use the following Document for restricting the input length: import javax.swing.text.AttributeSet;
|
| Damn GridBagLayout - why is this button centered? | 24 Sep 2004 13:24 GMT | 10 |
a very simple case: I have a JFrame (640x480) and set a GridBagLayout. All I want to do is tho set the added button at the top...why the hell doesn't this simple sample work? The button is ALWAYS centered. ...
|
| Minimum window size | 24 Sep 2004 08:27 GMT | 2 |
I have spend a lot of time looking for a solution to set a minimum size to a window (JFrame) containing a GridBagLayout. The simple code bellow shows a sample of my problem. import java.awt.Dimension;
|