| Thread | Last Post | Replies |
|
| how do I veto a setSelected() on JCheckBox | 24 Feb 2006 23:07 GMT | 6 |
Hello all, I am confused as to how to do this? I would like the change to veto a setSelected when the event happens but not sure how to go about this. If I am in the actionPerformed of a JCheckBox, I guess
|
| Exception Removing Tabs from JTabbedPane | 24 Feb 2006 00:21 GMT | 3 |
While perusing a newsgroup I found a simple subclass of JTabbedPane that includes an X icon for deleting tabs. However, when I tried it I periodically get ArrayIndexOutOfBounds exceptions on the event thread when deleting tabs - not sure why. Stack trace and code below.
|
| Sorting JTable with fixed column | 23 Feb 2006 23:42 GMT | 5 |
I need to make a jtable with these requirements: - The first two columns fixed - It should sort the rows by clicking on the headers name By clicking on the column header both columns need to be sorted
|
| Pls Help: JMenu with 2 columns | 23 Feb 2006 18:51 GMT | 4 |
I am creating a JMenu that put its items in 2 columns, with the first column holding JMenuItems and the second menu holding submenus (JMenus). It looks somewhat like this: -----------
|
| Open Question: How do _you_ write "stringtable"? | 23 Feb 2006 17:55 GMT | 3 |
I've been referencing string tables for years and have seen people write both stringtable and string table. Neither spelling is listed in dictionary.com or webster's site. Which do you think is write? ('you' being anyone who wants to respond).
|
| Scaling/Resizing 2D graphics in JPanel | 23 Feb 2006 16:45 GMT | 4 |
I am about to start writing a section of an application which will take data from an XML file and draw it in a JPanel as lines/polygons. I am also going to have a few bits of text around the main drawing. Although I don't need any 'zooming' capabilities I do want it so that if the
|
| Why I can't add a JLabel object into JList/JComboBox? | 23 Feb 2006 16:21 GMT | 3 |
I'm try to make a list with different background colors. Here is what I do JLabel label1 = new JLabel("Red Background"); JLabel label2 = new JLabel("Blue Background");
|
| True Type Fonts in Java | 23 Feb 2006 15:08 GMT | 1 |
I'm currently trying to use a True Type Font in Java. I installed the font under windows and it works fine in e.g. Word, but when I try to use it in Java all I can see are "rectangles". I'm not sure if the problem lies in the font itself or if it is a problem of Java. The
|
| Create TextBox In Java File | 23 Feb 2006 15:05 GMT | 2 |
I'm new to java ,, my question is that , how can i design a frame by putting text entry and label controls in a java file (not jsp). I want to make these controls and put data which is in variables. Plz advise some solution.
|
| Jpanel Takes Time To Draw Image (late) | 23 Feb 2006 08:57 GMT | 2 |
Hi Friends, I am using JPanel in loginscreen of one of my projects. I am using drawImage() and drawing an image on the panel but, the image is drawn after sometime . Single textbox is displayed at two places and
|
| configuration required to load icons from disk | 23 Feb 2006 06:37 GMT | 29 |
What all is needed to be configured in order to load a gif from within my own jar file and use it within my GUI? I've set a CLASSPATH variable in my Command window (WinXP) and that doesn't work. I've included the .classpath file from the Eclipse workspace directory in my jar ...
|
| JTextPane, JEditorPane, copy & paste etc. | 23 Feb 2006 04:25 GMT | 1 |
I've been playing around with JTextPane and JEditorPane and found a few odd things. At least under Windows and Java 1.5, neither JTextPane or JEditorPane support copying & pasting of formatted text very well. The former doesn't support it at all (even inside the control), and the
|
| Advanced GUI - user driven scripting? | 23 Feb 2006 03:55 GMT | 2 |
My applications have GUI forms with controls dynamically generated and placed on the panels. The controls are defined in a database - JType, size, name, default etc. They are also dynamically bound to a model using DocumentListeners et
|
| How can i add JApplet to a JFrame | 22 Feb 2006 20:46 GMT | 1 |
I have developed an application in JApplet. But i want Give that application to my client with Non-Resizable JApplet. For that i added my JApplet to non-resizable JFrame. But i am unable to view the components(JButton, JLAble) Which are already on my JApplet. For that i
|
| Custom AWT control construction | 22 Feb 2006 17:32 GMT | 3 |
I want to make a custom list control that contains line items that have this format: checkbox followed by a string followed by a button. I'm thinking of using a GridBoxLayout. Does this sound like the correct path to go down?
|