| Thread | Last Post | Replies |
|
| Flow layout problem | 25 Jun 2004 22:44 GMT | 4 |
Hi, I have what I think is a relitavely simple problem: I have a bigger application with multiple JPanels etc but have scaled it down for the example below... When I resize the window so that it is too small to fit all the buttons on
|
| Will someone sell a GUI book to me? | 25 Jun 2004 17:33 GMT | 2 |
I need a good book on Java GUI, and I have found "Java Swing, 2nd edition" to be the best choice. The Amazon price is right, where I can buy a used book for only $11. Unfortunately, they won't do shipment to my country (Yugoslavia). So I was wondering if anyone would be willing
|
| Pressed Button Illusion | 25 Jun 2004 10:42 GMT | 1 |
I created a Button class with rounded edges that extends the JButton class with overriding the paintComponent() method using the fillRoundRect(....) method etc. Thanks all the guys for help in my last message.
|
| Buttons with rounded edges | 25 Jun 2004 07:59 GMT | 6 |
How can i make a JButton Object to have rounded edges. Have anyone a simple example?
|
| TreeModel and filesystem | 24 Jun 2004 23:26 GMT | 1 |
I'm using a TreeModel to represent a filesystem directory tree for presentation by a JTree. The first level of the directory appears fine, but when I click on any of the little triangles to expand a subdirectory, I get an exception,
|
| HTML on jdk 1.1 need help | 24 Jun 2004 19:25 GMT | 1 |
Hi, All! Whether instead of somebody knows of components for display or editing html on jdk 1.1? I need a component vith a minimum size. Thakns!
|
| consuming mouse events | 24 Jun 2004 13:02 GMT | 8 |
Given the documentation: A MouseEvent object is passed to every MouseListener or MouseAdapter object which registered to receive the "interesting" mouse events using the component's addMouseListener method. (MouseAdapter objects
|
| drawing a circle | 24 Jun 2004 07:41 GMT | 3 |
my aim is to write a class that handles the following problem: - it should draw a small coloured circle on a canvas - one should be able to switch it off/on at runtime - one should be able to change the colour at runtime
|
| JList not behaving properly | 24 Jun 2004 04:58 GMT | 2 |
I have quite a peculiar problem: There is a JList that uses a DefaultListModel to hold the elements. There is only one element in the JList at present. I have registered a ListSelectionListener on the JList. The valueChanged method displays a
|
| use my own panel in netbeans | 23 Jun 2004 23:20 GMT | 1 |
could anyone help me? I created class extending JPanel - added some content ... now i'd like to add it to my application window - by "clicking" in netbeans. But when i try to add it to pallete with other components and it says "class cannot be
|
| java gui | 23 Jun 2004 21:12 GMT | 3 |
I am developing on Java after doing C++ for a while and I wish I could find a free drag and drop GUI builder just like either C++ Builder or Visual C++. I don't suppose there is one ?
|
| JCheckBox.setEditable( false ) ? | 23 Jun 2004 13:43 GMT | 5 |
I use some checkboxes to signal boolean values from a read only model to the user. Unlike textfields have no method to set them in a non editable state, just disabled. But this gray out the text, which is not may desired behaviour.
|
| JComponent HTML: <html><img src="???"></html> | 23 Jun 2004 12:30 GMT | 3 |
I can get this to work: <html><img src=\"file:icons/xbar.png\"></html>" but understandably this fails after jar-ing up. This is for JTable header cells.
|
| How can I fire an event ? | 23 Jun 2004 09:36 GMT | 5 |
Th tutorial is full of places where it teach you how to trap an event, but how can I fire an event ? For example, when clicking on a button I'd like to fire a CloseWindow event, in such a way that the associated listener is subsequently
|
| custom component painting | 23 Jun 2004 04:06 GMT | 6 |
I'm very confused. I've been trying (with the help of Manning's Swing book) to create a custom component which controls its own painting. As I understand it, the steps are: 1) create a subclass which extends JComponent
|