| Thread | Last Post | Replies |
|
| Setting caretPosition correctly | 19 Mar 2004 15:56 GMT | 2 |
I want to set the CaretPosition right where the component (JButton) is in JTextPane (textPane). I have used the following code, which is supposed to work: textPane.setCaretPosition(textPane.viewToModel(e.getPoint()));
|
| More HTMLEditorKit advice needed | 19 Mar 2004 14:24 GMT | 1 |
After much experimentation, I've got something which can display an HTML page and wich lets me modify bold & italic attributes of the text. But I have some niggly questions: 1) To bolden, I obtain a MutableAttributeSet for the selected text and
|
| Non Modal JDialog does not show contents | 19 Mar 2004 14:19 GMT | 8 |
I am trying to create a non modal JDialog When I do this the Frame appears but there is no contents. If I set the Dialog to be modal it all appears fine.
|
| How to calculate height on JTextPane with HTML tags | 19 Mar 2004 12:08 GMT | 3 |
I have a custom ToolTip which is displaying a JTextPane. The JTextPane contains HTML formatted text. How can I best determine the preferred size for the JTextPane and for the JToolTip? The HTML text needs to be word wrapped on the JTextPane
|
| JOptionPane and mnemonics. | 18 Mar 2004 19:43 GMT | 1 |
I am using a lot of JOptionPanes in my swing application and would like to get mnemonics working on them. Any ideas are greatly appreciated. Thanks in advance.
|
| Suggestions for JClass like functionality | 18 Mar 2004 18:24 GMT | 1 |
Folks, I havent done any Swing development for a couple of years - last time I spent ages wrestling with JTable and eventually resorted to the Sitraka JClass library to simplify things. I found the native JTable very complex to
|
| Changing Font in JTree: Width too short causes '...' as part of node. | 18 Mar 2004 17:59 GMT | 3 |
Hi again everyone. Another problem with a JTree and custom fonts. I want to highlight the selected node and path by making the font for those items bold.
|
| JOptionPane blocking the event dispatch thread | 18 Mar 2004 17:10 GMT | 3 |
I've been studying the example at http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html and there's something I can't figure out. The Example2 pane pops up a JOptionPane that is documented
|
| Dragging self-made JComponents | 18 Mar 2004 17:06 GMT | 9 |
Is there a java-native way to move self-made JComponents with the mouse? If not, my idea was to solve it using MouseListeners, but I ran into the problem that the coordinates returned by the Listener were the ones on the JComponent. What I needed to implement a draggable JComponent ...
|
| Anybody Using XML/XUL To Build Java UIs? | 18 Mar 2004 16:22 GMT | 12 |
is anybody using XML to build Java Swing or Eclipe UIs? Can you you let us know what toolkit you use (e.g. Thinlet, SwiXML, JellySwing/SWT, GroovySwing/SWT, Ibex, Luxor, etc.) and how it all works out?
|
| JTable question - row header look and feel | 18 Mar 2004 15:57 GMT | 1 |
(This is a repost of a question I asked in the wrong group, in comp.lang.java.programmer.) Two questions about JTable (I'm using 1.4.2_03 on Redhat and Windows). 1: Row headers.
|
| JTable row height wrong if I change Font | 18 Mar 2004 12:16 GMT | 2 |
If I change the font used in a JTable with myTable.setFont(myFont); The new font is shown but the heights of rows are not recalculated. If I choose too big a font
|
| JTree fails to resize with Windows System Look&Feel | 18 Mar 2004 12:13 GMT | 2 |
I create a JTree. Default JTree() shows the problem but it is a real app. Without setting any look and feel I can use setFont(.... and the tree appears at a resonable size.
|
| Dual Monitor and Swing JFrame | 18 Mar 2004 08:56 GMT | 2 |
I have created an applet that launches a JFrame with JPanel. Everything works fine when only using a single monitor. I use pack() to set the JFrame size. The problem is that when dual monitors are used. If the second
|
| Getting the parent of the node | 18 Mar 2004 06:55 GMT | 3 |
I have a tree structure as below: Root
|__Parent1 |___Child1
|