| Thread | Last Post | Replies |
|
| user objects in DefaultMutableTreeNode's | 28 Oct 2005 17:10 GMT | 2 |
I have a MouseAdapter for my JTree with this method ... public void mouseClicked(MouseEvent e) { int selRow = tree.getRowForLocation(e.getX(), e.getY()); TreePath selPath = tree.getPathForLocation(e.getX(), e.getY());
|
| set specific tree nodes to editable? | 28 Oct 2005 17:05 GMT | 1 |
Hey all, I saw that JTree allows a user to edit it's nodes by using myTree.setEditable(true). What if I only want to allow certain leaf nodes under a specific folder to be editable. How is that done? Doesn't
|
| JTextPane control rendering region | 28 Oct 2005 17:04 GMT | 2 |
I was playing with my JTextPane when I suddenly realized that it is agonizingly slow only when running in a *maximized* window. When I resize to a smaller window, it runs with blazing speed. Problem seems to be with modifying the StyledDocument: Updating the color on even a short ...
|
| Mouse clicks within JTable unreliable | 28 Oct 2005 17:02 GMT | 7 |
I have a jdk 1.4.2 applet-form which has a JTable with 2 columns. The number of rows is variable (up to a 100) depending upon the key fields. Column 1 of each row shows a checkbox and column 0 shows the corresponding description. The table has a mouseListener with methods
|
| How to size a JTextField according to a fixed string length? | 28 Oct 2005 16:56 GMT | 1 |
How do I size a JTextField, such that I know for a fact that it can display a certain string lenght? I do not want the field to grow or shrink according to content, it should be fixed upon initial creation. Thanks in advanced,
|
| problem with JTabbedPane and stateChangeEvent and set busy cursor | 28 Oct 2005 16:36 GMT | 1 |
I have written an application that consists of several JTabbedPanes (the number depends on the users action) and each Pane will contain a number of JInternalFrames showing some graphs. The Graphs are drawn with help of the paintComponent(Graphics g) function and are for the
|
| Hi, I need your ideas. swing problems!!!!!! | 28 Oct 2005 16:18 GMT | 1 |
Hi, I hope someone of you can help me!I have two problems: 1- how can I insert a JTextArea on a JTree node? 2- my JpoupMenu works on my JTree but I need it works on nodes,what ca I do?
|
| Newbie question | 28 Oct 2005 08:15 GMT | 23 |
Please, can somebody help me to solve this: I have two frames (two windows), jFrame1 and jFrame2. Program starts with jFrame1 loaded. jFrame1 contain jButton1.
|
| problem related to transferhandler | 27 Oct 2005 18:11 GMT | 3 |
i have gone through the examples provided by java help but could not find any solution related to my problem..! Problem: If i am extending the TransferHandler how do i implement the export method for exporting the data of my class type?
|
| LayoutManager2.layoutContainer: "wrong height"? | 27 Oct 2005 10:08 GMT | 4 |
I have run into a strange problem with my custom LayoutManager. The problem boils down to that one: I call pack on the JWindow. The LayoutManager returns a preferred size. Upon the first call to layoutContainer, the size of the parent is
|
| Java image support | 27 Oct 2005 08:19 GMT | 4 |
A while back I remember using something like createImage to automatically read in an image file as an Image object. I also remember that it wasn't a method of Image, but something else -- at first I thought Graphics. But searching the API doc shows that createImage is actually a ...
|
| Regex in Java | 27 Oct 2005 01:06 GMT | 3 |
Two questions: 1 can regular expressions be made in Java or does that work together with e.g. Perl like JPL? 2 can these reg.exp. be used to look for filename on disk?
|
| Problem with JMenu using JMF component | 26 Oct 2005 22:57 GMT | 2 |
I fetch the visualComponent from the JMF Player. This component, showing a video, always remains on top, so that when I click on the menu, the pop up items are not visible, because they get overlapped by the visual Component of JMF.
|
| user objects in DefaultMutableTreeNode's | 26 Oct 2005 21:20 GMT | 2 |
I have a MouseAdapter for my JTree with this method ... public void mouseClicked(MouseEvent e) { int selRow = tree.getRowForLocation(e.getX(), e.getY()); TreePath selPath = tree.getPathForLocation(e.getX(), e.getY());
|
| Graphics class problem | 26 Oct 2005 20:39 GMT | 7 |
is there a way to - fill a shapeless area bordered with previously drawed lines (with solid color)? - get back the color of one pixel?
|