| Thread | Last Post | Replies |
|
| Empty space between objects | 19 Dec 2003 18:40 GMT | 5 |
How can i put empty space between the border of my JFrame and the objects i put on the screen? I'm using a GridLayout with 3 rows and 1 column, the problem is that my screen i completly filled with the elements; How can i tell the GridLayout or the frame that i need an empty space ...
|
| GridBagLayout - strange resize behaviour | 19 Dec 2003 17:27 GMT | 1 |
GridBagLayout - strange resize behaviour °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°° Hi there, I have done a Swing application using GridBagLayout - looks good,
|
| Creating a "default" button when hitting the Return/Enter key? | 19 Dec 2003 16:26 GMT | 4 |
I'm just wondering how I can create a "default" button click when hitting the Return/Enter key. In VB, this is simply a matter of assigning a specific propery to the default button to be pressed, but I am at a loss for how to do it in Java without using an ActionListener. Is ...
|
| How to keep JPanel bgcolor during plotting? | 19 Dec 2003 10:05 GMT | 6 |
When we want to keep the initial background color of a panel for a plotting application, we do simply the following for java.awt.Panel: <code> public class PlotPanel extends Panel{
|
| GUI Panel goes blank | 19 Dec 2003 01:42 GMT | 10 |
I have impletemed a JFrame Swing application. When I press ctrl+alt+del in Windows 2K the panel goes blank. Any ideas on how I can catch this and send a repaint to the frame? I also have the same problem when comming back from the password
|
| Drag'n'Drop & Using Drag Images | 18 Dec 2003 21:41 GMT | 12 |
I have a situation where I want to be able to drag a component (or an image of one) from one container to another. Using the excellent beginner article at http://java.sun.com/products/jfc/tsc/articles/dragndrop/
|
| Drawing images over tree icons | 18 Dec 2003 18:12 GMT | 1 |
I have a treetable and have to display some status indicators for objects in the treetable. The chosen way of doing this (not entirely my choice) is to overlay the tree icons with small images representing these states. Increasing the gap between icon and text and drawing in
|
| jtable to html or ASCII | 18 Dec 2003 09:36 GMT | 2 |
is there an easy way to save ( and get) the contents of a jtable to (from) html-tables or ascii? Thanks Greetings Mark
|
| how to use wait/notify with table model? | 17 Dec 2003 18:19 GMT | 1 |
My application sends data to the gui frequently, but not constantly. So far, my implemenation of wait/notify on a linked list of arriving data has worked fine. Now I need to update a JTable based on incoming data. I'd like the JTable cell values to change based on incoming data. ...
|
| picture in application | 17 Dec 2003 14:46 GMT | 3 |
i have a problem with using pictures in my app. i would like to use a jfilechooser to choose picture file that i would like to show in app. I managed to get a full path and picture name, but i dont know how to use it to put that picture on screen(not in separate window, but
|
| Using JLabel getLabelFor() for calling respective text input elements.selectAll() by mousePressed event on that JLabel | 17 Dec 2003 14:17 GMT | 2 |
public void mousePressed(MouseEvent e){ if (e.getSource() instanceof JLabel){ JLabel labelFor = ((JLabel)e.getSource()); if ( labelFor.getLabelFor() instanceof JTextField
|
| Installing extra Java Packages | 17 Dec 2003 00:07 GMT | 2 |
Hi All, I'm running Mandrake 9.0 and I am trying to install the java swing packages, etc. I downloaded the j2re-1_4_2_01-Linux-i586.rpm.bin and I installed and everything seems ok, but i can't seem to use those packages, (if in fact they are the right ones) I haven't been able to ...
|
| jCheckBox in a jTable | 16 Dec 2003 13:50 GMT | 2 |
i don't manage to set a jCheckBox in a jTable... Can anyone tell me what's wrong with my code. Thanks //******************************************************************
|
| JRadioButton positioning in JRE 1.4 | 16 Dec 2003 13:12 GMT | 2 |
I've long been maintaining an application that positions many JRadioButtons inside JFrames having GridLayouts. For an application built with SDK 1.3, the positioning of the buttons has always been consistent with JRE 1.2 and 1.3. However I've found that the same application ...
|
| JTable scroll | 16 Dec 2003 13:07 GMT | 1 |
While selecting the last row of my table works fine (view jumps to the end of the table), selecting the first row doesn't (only row is selected without scrolling). Here's the code: public void setSelectionIndex(int ix){
|