| Thread | Last Post | Replies |
|
| Question about Borders in Swing. | 25 Aug 2005 09:32 GMT | 1 |
I've got a question about applying borders to Swing components. I'd like to apply an etched border to only the top side of a JPanel. I've searched the web and the JDK 5.0 Javadocs to no avail. Any help would be greatly appreciated.
|
| To convert RTF to HTML using GNU GPL-licenced component | 25 Aug 2005 07:47 GMT | 6 |
Do you know of a GNU GPL-licenced Java component, class or function that converts RTF to HTML? Thanks, Dan
|
| cannot get rid of new lines after getText form JTextArea | 24 Aug 2005 22:58 GMT | 2 |
In my GUI application, I have a JTextArea. I type the following testone testtwo Now I do a getText() but I want to get rid of the newline between
|
| How to introduce padding for JTable cell text | 24 Aug 2005 19:14 GMT | 7 |
Hi experts, I am working with JTables containing (left aligned) columns. I would like to introduce a uniform left-padding for all cells (say single space, or 3 pixels) so that the text in each doesn't appear too close
|
| need wise guidance on componentResized | 24 Aug 2005 18:29 GMT | 1 |
Hi thanks for taking the time to read this. I am using a JFrame with multiple objects (buttons, Jtree, JTables, Scrollpanes, etc) and I want to be able to make them react appropriately when ComponentListener's componentResized is called.
|
| Mouse position within a JTree item? | 23 Aug 2005 19:51 GMT | 7 |
I need to find out the mouse coordinates within a JTree's item. I use my own ItemRenderer. The aim is to draw a line above, below or through the item on which the mouse cursor actually rests.
|
| Why aren't there setName, setSize, setStyle methods in Font class? | 23 Aug 2005 14:27 GMT | 2 |
Why aren't there setName, setSize, setStyle methods in Font class? Is one suppose to create a new Font object everytime instead?
|
| Help with GridBagLayout | 22 Aug 2005 20:37 GMT | 10 |
Using GridBagLayout, the width of a JComboBox expands when it is set to editable. I have the following layout (where b is the JComboBox). +------------------------------------+
|
| setPreferredSize(new Dimension(0, 0)) | 22 Aug 2005 20:32 GMT | 2 |
For GridLayout, when i set panel.setPreferredSize(new Dimension(0, 0)), I found that using it gave me the desired layout that looks like the following: +------------------+
|
| How to consume mousePressed for JButton? | 22 Aug 2005 18:42 GMT | 3 |
at the end of my post is an example where I try to consume() the mouse event, when the click in a button is in the right part of it. When the click is in the left part, nothing is done and the button shall get pressed. However, it does not work. Can anybody give me some advice ...
|
| Picking with java 2D ? | 22 Aug 2005 13:24 GMT | 2 |
Hello, I just wrote a simple Java 2D based component to display geometrical entities. On some off them I want to display a tooltip. In the Tcl/Tk canvas I would bind the mouse enter event for the
|
| simple jtable that shows content of a tab-delimited file | 22 Aug 2005 10:01 GMT | 4 |
I want to simply read a file which has tab delimited data (each row will have the same number of columns). I have the following code but it does not work. Can someone please help,
|
| more grid lines then rows in JTable | 22 Aug 2005 00:41 GMT | 1 |
Hi. I would like to have all the area of JTable filled with lines, not only the area with added rows. Is this possible, and if so - how to do that? Thanks. LobiX
|
| JPanelGraphics.. | 20 Aug 2005 18:05 GMT | 1 |
Hi thanks for trying to help. Im trying to create a JPanel that contains a RenderedImage, that can be added to a JFrame. I extended the JPanel class to be able to "draw" the Image that I pass
|
| Overridden createToolTip not being called. | 19 Aug 2005 23:39 GMT | 4 |
I was hoping someone might provide me with some clues as to what might be happening. I have a label which acts as a clock and when the user moves his mouse over it the date will show up in a tool tip. The label class that shows the clock is extended from JLabel and is an
|