| Thread | Last Post | Replies |
|
| Custom tooltip renderer in JTable | 30 Nov 2004 21:58 GMT | 6 |
I am trying to get a multi-line tooltip on cells in a JTable. Basically the cell is a large chunk of text, and I'd like to display it in the tooltip. First, you have to get any tooltip to display in a JTable. I created a
|
| Function not visible outside the NetBeans IDE | 30 Nov 2004 15:31 GMT | 1 |
I wrote a GUI application using NetBeans IDE 3.6 and J2SDK1.4.2_05 which worked out really well within the NetBeans IDE environment. But when I try to run it from the commandline or a desktop icon, the GUI comes up but one of the methods I'm calling from another class claims
|
| Refreshing JDialog | 30 Nov 2004 15:21 GMT | 15 |
I have a JDialog that has a button that displays a second JDialog over top the first. The OK button on the second dialog calls setVisible(false) to close the dialog. I fairly long process then starts during which, the first dialog is not repainted. A "shadow" of
|
| cut & copy function lost with custom TableCellEditor | 30 Nov 2004 10:56 GMT | 13 |
I've got my cut-copy-paste function working well now except where I have defined my own TableCellEditors. Paste works okay but cut & copy do nothing. I'm using the internal eg DefaultEditorKit.CutAction object
|
| Expand JTextArea size | 30 Nov 2004 08:29 GMT | 3 |
I'd like to be able to automatically resize a JTextArea component depending on the text and Font that has been entered by a user. Rather than place the component on a JScrollPane and use a scroll bar to view the text entered, I'd like to be able to progamatically increase or ...
|
| On focuslost () | 30 Nov 2004 05:01 GMT | 7 |
I'm stuck on a technical difficulty while I was implementing the validation logic for quite a few days. My validation logic is invoked on focuslost event of an editable combo. There are Ok and Apply button on the dialog will save the setting in a
|
| createImage sometime returns null and sometime returns non-null. | 30 Nov 2004 04:27 GMT | 1 |
I am debugging an Java standalone application and some servlets in eclipse3.0. I am using tomcat5.5 and jre1.5.0. There is a file, called FlowChart.java, which will be used in the
|
| short array as BufferedImage | 29 Nov 2004 21:16 GMT | 2 |
a small problem turns out to be a big problem for me: I want to display a two-dimensional short array (values <= 255) as a gray value image. Where can I find help for DataBuffer, ColorModel, Raster etc. and some example code? Thanks in advance.
|
| JSplitPane resize woes | 29 Nov 2004 20:35 GMT | 3 |
I've reduced my problem to a short, self-contained example, below. I have a JFrame that has a JSplitPane, that has a JTree (left) and JTextArea (right). I can't get resize behavior to work correctly. I've tried many combinations of
|
| suppressing list selection on initialization? | 29 Nov 2004 12:57 GMT | 3 |
When I populate a JList, the list selection listener fires a valueChanged event. How do I stop the initialization of the list from firing an event? Thanks Here's my code:
|
| How to Change TitledBorder details? | 29 Nov 2004 12:43 GMT | 4 |
Hi I am a bit of a newb when it comes to programming so please bare with me! This is what I have for one of my JPanels (called inputPanel) titles...
|
| JTable and findColumn | 29 Nov 2004 08:03 GMT | 2 |
Thanks in advance, Sample code I put together below. I create a gui which contains a JTable and the data in the cells is updated constantly (data read from a socket). All works fine, but I noticed when I'd move a column, the data wouldn't follow the
|
| Getting an image object from a JPanel that is not visible | 29 Nov 2004 07:39 GMT | 3 |
Hi Newsgroup! I need to create an image from a JPanel, that has not been displayed on the screen. I.e. I recieve a JPanel and want to pass it as image to a library without showing the JPanel to the user.
|
| Drawing | 29 Nov 2004 04:34 GMT | 9 |
I have a little problem with drawing in a JPanel. What I want to be able to do is the following: Setup an extended JPanel with the appropiate properties and then add it to my frame and make visible (no problem here). Next I want to be able to call
|
| Percent JFormattedField | 29 Nov 2004 03:39 GMT | 3 |
Hello, guys I'm trying to create a text field where I could enter any valid digits for percents (let's say -900 .. 900) and have it displayed with '%' sign, when the field looses focus or ENTER is pressed.
|