| Thread | Last Post | Replies |
|
| Editing elements in JComboBox ! | 14 Aug 2003 10:46 GMT | 1 |
Hai, I am kinda new to swing programming. I am trying to edit the elements in a JComboBox. The logic is such that, if the original list shows 3 elements 'a','b' anc 'c', if the user changes the element 'b'
|
| JButton borders in JToolBars with XP look and feel | 13 Aug 2003 13:05 GMT | 1 |
I'm having a problem with JButton bordersin a JToolBar. I'm making an aggregate component that is made up of two JButtons in a JPanel. I'd like to be able to add this to a JToolBar. However, when I do, the borders of the JButtons do not match the borders of a JButton added
|
| Using a custom TableCellRenderer | 13 Aug 2003 11:53 GMT | 1 |
I have this table that I would like have an icon and text in one column. So I created subclassed DefaultTableCellRenderer and overrides the getTableCellRendererComponent() method. Here is the code I am using: class UserCellRenderer extends DefaultTableCellRenderer {
|
| Can I associate menus and and actions in a data-driven way? | 13 Aug 2003 07:36 GMT | 2 |
I know someone has solved this problem, so all I need is a pointer. To associate menu items (JMenuItem objects, specifically) and their actions, several fairly clumsy-looking ways exist. Sun's Java Look and Feel Design Guidelines (http://java.sun.com/products/jlf/) have
|
| vertical tabs in jTabbedPane | 13 Aug 2003 00:05 GMT | 2 |
I'm trying to find a component whose functionality closely resembles the jTabbedPane except that the tabs run from top to bottom across the full width of the component and the active pane sits beneath it's tab but above the remainder of the tabs. An example of this component can
|
| Rollover with buttons.... | 12 Aug 2003 16:58 GMT | 2 |
Dear All... I have a question regarding icon buttons. When i add a icon button directly to a container from a window the button behaves the way i like.
|
| JTextField uses JButton instead of enter key | 12 Aug 2003 12:24 GMT | 1 |
Howdy from Texas, I'm using a JTextField to allow the user to input some info. But I've been requested (by the boss man) to have an "add" button (instead of the <enter> key to allow the user to input the info. How do I get my
|
| ImageIcon hangs | 11 Aug 2003 22:38 GMT | 2 |
We're experiencing a problem that causes our whole application to freeze. In the Bug Parade similar problems have been marked as "Fixed," but we're using 1.4.1_02 and still get the problem. All the app is trying to do at this point is create a new JLabel with a new
|
| Get movie frame size with java media framework | 11 Aug 2003 19:34 GMT | 1 |
I'm developing a client / server system and I need to know the width and height of a movie file. I have seen there is a method called getSize() in class ViedoFormat, but I haven't found the way to reach that class. I have full access to the movie file.
|
| applet with threads | 11 Aug 2003 17:19 GMT | 3 |
I am wondering if I can in an applet run more than one thread executing their own graphics animations in different areas of the same applet. If so , please tell me how I can do it. I tried with canvas, it seems to work but I am not sure.
|
| Invisible JTextArea | 11 Aug 2003 13:55 GMT | 1 |
I'm doing a quick mock-up where buttons and Textfields are placed on top of a screenshot of an existing GUI. The screenshot is placed on a background panel: JImagePanel background = new
|
| saving image file | 11 Aug 2003 03:31 GMT | 2 |
How do I save a Buffered Image to a file(.gif,.jpg,.png,etc)? Thanks in advance, Lem
|
| JTree from TreeNode? | 11 Aug 2003 03:19 GMT | 1 |
If a TreeNode has been added to a JTree, is there some way of recovering the tree from the node (other than by adding code to remember what tree the root belongs to when you set the root of the tree, or something like that). E.g. a 'treeOf()' method for nodes.
|
| Exception handling | 10 Aug 2003 22:16 GMT | 2 |
I have a swing app where I want to catch all exception that accoures. The problem is that this doesn't work(since JFrame starts a new thread I think). How can I make it work?
|
| JTable renderer JTextArea | 10 Aug 2003 10:32 GMT | 2 |
I have a JTable and a want that all the cells be multilnes. But it seems taht JTable does not permit this feature ... So I have done a renderer with a JTextArea, but my problem is that the JTable automatiquely resize my JTextArea (only 1 line), and so the multiline
|