| Thread | Last Post | Replies |
|
| Increasing mouse wheel scrolling speed | 12 Apr 2004 16:32 GMT | 1 |
Is there a global setting for all java components that increase the scrolling speed when using mouse wheel? By default, it's scrolling very slow and setting mousewheellistener for every scrollable component in the project does not sound like an exciting idea.
|
| Dynamic resizing of JPanel | 12 Apr 2004 12:14 GMT | 2 |
Dear experts, I have the a JDesktopPane and a JPanel added to the CENTER and SOUTH position of a JFrame respectively. I would like to dynamically resize the JPanel upon mouseExited like the
|
| Remove "Padding" from GridLayout/Buttons | 11 Apr 2004 23:13 GMT | 6 |
I have a 10x10 grid of buttons created using a GridLayout. Each button has a 30x30 pixel GIF icon on it. Unfortunately, nomatter what I try, I can't seem to get each icon to sit side by side (so that there's no gap between them). Currently there's an
|
| JPanel.PaintComponent(Graphics g) | 11 Apr 2004 21:45 GMT | 6 |
I have created an overridden version of the JPanel.PaintComponent(Graphics g) method in order to display a JPEG image. I'm fairly sure my new ImgPanel class is OK, but I'm just not sure what Graphics object to pass into the method? What exactly is Graphics g?
|
| JMenuitem space | 11 Apr 2004 18:16 GMT | 1 |
I have a JMenu , I add three JMenuItem to that JMenu. Just above the first JMenuitem and below the last JMenuitem, I see a thick gray color area. Please tell me which class is that area? I want to overload its paint() method.
|
| JTabble, textbox and a button in a column | 11 Apr 2004 15:01 GMT | 2 |
can anyone tell me how to put a textbox(or combobox) and a button in a single column. (like those found in properties editor). thanks.
|
| JTextPane & get removed text | 11 Apr 2004 11:45 GMT | 1 |
I'm programming a text editor and use a JTextpane for it. I added a DocumentListener to it, so that the functions insertUpdate() and removeUpdate() are called everytime when someone inserts or removes text. Now in the function removeUpdate() i somehow need to know which text was ...
|
| Size of GridLayout | 10 Apr 2004 22:12 GMT | 2 |
How do I set the size of one "cell" in a GridLayout?
|
| Cannot resolve symbol | 10 Apr 2004 19:12 GMT | 3 |
Does anyone know why I'm getting a "cannot resolve symbol method showMessageDialog(java.lang.String)" error from this line here: javax.swing.JOptionPane.showMessageDialog("Hello world."); BTW It's just sitting in a normal class, not a frame.
|
| JTextPane | 10 Apr 2004 09:39 GMT | 1 |
Hey there, I'm trying to make a JScrollPane/JTextPane for logging multi-colored text with a fixed height for the buffer. My current method has a wrapper around the documents insertString()
|
| CPU intensive task inside a cellrenderer | 10 Apr 2004 00:41 GMT | 16 |
Is it possible to start a CPU or I/O intensive task, like a SQL query to a database, inside the getXXXCellRendererComponent method of a CellRenderer ? Every example I've seen in the net are very simple, like changing the background color of the cell, putting a little icon in ...
|
| Resizable image window? | 09 Apr 2004 22:45 GMT | 1 |
I'm trying to create a resizable window (displaying an image) that sits on top of everything inside my JFrame. Preferably with no title bar, just a border. It needs to be draggable and resizable by the user. Any ideas?
|
| state indicator | 09 Apr 2004 19:23 GMT | 2 |
Is there is built in state-indicator widget. It would have 4 possible states and 4 possible associated gifs. You just set the value and it displays the corresponding icon. --
|
| Thread for ProgressBar | 09 Apr 2004 17:54 GMT | 1 |
I have a question on threading for the progressbar. My program will call a few methods and those methods are really time consuming, the time it takes all depends on how much information are being pump in, sometimes it can be less than half a minute, sometimes
|
| Jittering Sized components | 09 Apr 2004 17:20 GMT | 1 |
When you have a component that jitters in size, it is annoying because it keeps adjusting the entire layout. The behaviour I'd like is for it to settle on a size, and stick to that, growing if necessary, but not shrinking below that size so that
|