| Thread | Last Post | Replies |
|
| JCheckBox/JRadioButton is not clickable | 17 Mar 2005 11:47 GMT | 3 |
I encounter a weird problem: I have several JPanels (ImageObject) on a JPanel (topPanel) inside a JScrollPane (both inside Folder) - the ImageObjects get displayed fine - but the JCheckBox and JRadioButton which are positioned on the ImageObject (which is a subclass of JPanel)
|
| How to add column to a JTable - sample code tutorial | 16 Mar 2005 19:30 GMT | 1 |
In order to understand how to add columns to a JTable i made this small application. I think it may help somebody so i decided to post it. I haven't seen such a tutorial in java website. --------------------------------------------------- import java.awt.event.ActionEvent;
|
| paint jcombobox | 16 Mar 2005 09:32 GMT | 1 |
Is it possible to paint a JComboBox yourself. I want the selected item always be the first item in the popup menu, now it is at the bottom of the popup menu John
|
| deriveFont wont work after createFont | 16 Mar 2005 06:13 GMT | 3 |
deriveFont wont work after createFont ..................................... Hello, I created a font using a font file say font.ttf using the method
|
| KeyListener with FileNotFound and IO Exceptions | 16 Mar 2005 02:21 GMT | 2 |
I'm coding a game, and when the user presses an arrow key, it calls up a move character method, which might call an entity interaction method, which then might call a load map method wich throws a FileNotFound and IOException. The problem is that the keyPressed function won't ...
|
| Annoying beeps - is there a way to prevent them? | 16 Mar 2005 02:14 GMT | 4 |
Hi group, Is there any way to tell a Java application _not_ to emit a beep whenever an exception occurs? I'm working on a program (mostly finished, but not completely) that has
|
| Right-click context menu? | 15 Mar 2005 21:26 GMT | 4 |
Is there a way using Java and possibly Swing, to add right-click context menus to nodes of a tree. What I am trying to do is add different right-click context menus when the user selects different nodes of the tree.
|
| killing branches on a JTree | 15 Mar 2005 20:02 GMT | 2 |
Ive been wrestling for nearly a day with what ought to be a simple algorithm. I'm trying to find leafs on a JTree where the data emanates from a given file (which has an integer index), whereby I delete the leaf itself, and the entire branch all the way up to the root node such that ...
|
| Cross platform compatibilty (Windows ME) | 15 Mar 2005 19:38 GMT | 4 |
I'm teaching myself java and have been trying a small gui example from a book, using swing. Basically, it creates a window with a couple of pull-down menus. I've found it to work fine on solaris, linux and
|
| How to draw lines to connect buttons ? | 15 Mar 2005 18:52 GMT | 1 |
Ok before I ask my Question let me tell you what the program does. When you load the program two button will appear within the window. You can ckick and drag these buttons anywhere you want on the screen. The code for this is very sinple. The code works perfectly. So its obvious ...
|
| Detecting the drawn area | 14 Mar 2005 21:24 GMT | 4 |
An application that I am writing will contain tools that will extend from a class 'similar' the following: public abstract class Tool { public abstract void draw(Graphics2D g);
|
| UML with Intellij IDEA? | 14 Mar 2005 21:17 GMT | 7 |
How can I create a UML diagram with Intellij IDEA? Which plugin can I install? Thanks for any advice! Regards,
|
| Why Image can be cast inot a BufferedImage? | 14 Mar 2005 20:32 GMT | 5 |
A newbie student wrote the code: /* in a custom Component class */ BufferedImage bi = (BufferedImage)createImage(100, 100); I gave him a cruelly low grade.
|
| JSpinner oddities | 14 Mar 2005 20:00 GMT | 2 |
I'm noticing something odd with JSpinner. If I call setEditor on a JSpinner, I get a different font in the text area than if I let the JSpinner create its own editor. For example, in the metal laf, an editor set by setEditor is bold, while the font
|
| color in strings | 14 Mar 2005 16:56 GMT | 2 |
How do i make a string containing different colors. For example String s = "This is red, this yellow" must display red in the color red and yellow in the color yellow; John
|