| Thread | Last Post | Replies |
|
| Repaint not happening when compnent added to panel progrmatically | 29 Sep 2007 20:02 GMT | 5 |
I have five classes MyFrame, MyContainerPanel,MyPanel, MyButton and MyLine. MyFrame contains MyContainerPanel, MyContainerPanel contains MyPanel and MyPanel
|
| Programatically displaying scrollbars of a JScrollPane | 28 Sep 2007 05:04 GMT | 5 |
I have a JScrollPane on a JFrame. The JScrollPane contain a JPanel.On click of a JButton, i'm adding new JButtons to this JPanel, side by side. import javax.swing.*;
|
| Setting component size while using border layout | 28 Sep 2007 00:14 GMT | 5 |
Is there any was we can mention size of component when we are using border layout?Myproblem is that I have 3 JPanels placed side by side on a JFrame with border layout. But i need the first and last JPanels to occupy 25% each of the width and the middle one to occupy 50%. I'm
|
| how to set left click to display pop-up menu for system tray | 28 Sep 2007 00:11 GMT | 1 |
I use JDIC package to create a system tray icon for my application and would like to display the pop-up menu when left clicking on the system tray icon. But, unfortunately, it seems JDIC system tray icon can only support right clicking to show the pop-up menu. Is there anyone can
|
| keeping multiple highlighted tree nodes selected | 27 Sep 2007 16:40 GMT | 1 |
DISCONTIGUOUS_TREE_SELECTION allows me to select and highlight multiple JTree nodes. I then right click on the highlighted selections to bring up a popup menu which will affect the configuration of those nodes, but the problem is when I make that initial right click on the
|
| Webstart windows warning message | 27 Sep 2007 04:16 GMT | 6 |
can anyone tell me whether it is possible to get rid of the warning message at the bottom of webstart windows when the windows are children windows without decoration? My application window is a JFrame and it opens up several Window instances. The JFrame is the parent
|
| repaint issue when compnent added to frame programatically | 25 Sep 2007 09:53 GMT | 3 |
I have a component "JPResourceBox" which extends JPanel import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JMenuItem;
|
| Default key behavior of JFrame | 25 Sep 2007 09:21 GMT | 2 |
I am using jdk1.5 development kit for development. I am developing desktop base application. I created a frame (JFrame frm), added two buttons with label "OK" and "Cancel", some text fields and labels. I want to know, how I can define default behavior of frame on key
|
| JTable column size | 25 Sep 2007 09:11 GMT | 2 |
I have a table contains many columns. One of columns contains checkbox. I have tried the following code to set the size, but the size is still too big. Please advise. Thanks. table.getColumnModel.getColumn(4).setPreferredWidth(5);
|
| JTable - Merging cells | 25 Sep 2007 08:35 GMT | 1 |
Is ther anyway cells can be merged row-wise in JTable? Any sample code available? Thanks in advance Chanchal
|
| MVC: how do I stop mutual recursion? | 24 Sep 2007 10:08 GMT | 5 |
Okays, although I'm not the oldest person here I'm struggling to understand an issue in MVC with a Swing java application. If someone could point me in the right direction I'd be obliged.
|
| JTable (setForeground on text in cell) | 23 Sep 2007 17:42 GMT | 1 |
Thanks, Based on Events/conditions , I need to set the text in a JTable cell from default color (black) to background color (white) to "hide" the text. These conditions will force back/forth to the foreground coloring.
|
| Common actions and translation of text, tooltips, mnemonics... | 22 Sep 2007 22:04 GMT | 7 |
I'm wondering about repeatingly occurring actions in an application or application framework. Most often, actions are repeated *many* times inside an application, today most of them also need to be localized so that the actual button will reflect the user readable state.
|
| Applets automatically resizing when page size changes | 22 Sep 2007 05:50 GMT | 29 |
I know almost nothing about applets so please excuse the possible lameness of this question. Can someone tell me if it's possible for an applet to adjust its size (i.e. the amount of the web page it takes up) when the size of the web page itself
|
| include another java file | 22 Sep 2007 00:26 GMT | 6 |
I use import TableTest1 in my TableDemo.java file. But I got compiling error as below. TableDemo.java:5: '.' expected import TableTest1;
|