Thank you I just fixed it :) Rly thx for your help. I was adding it to wrong place. :-bd
Type: Posts; User: justyStepi
Thank you I just fixed it :) Rly thx for your help. I was adding it to wrong place. :-bd
Strange thing just happened , I commented everything out nd made the frame small and JScrollPane appeared? O_o Why? Why I can't see it when the Jtree stretches? In my code I used treePane.setBounds()...
So I did it, here you can see the pic : http://i.imgur.com/g2ero.png
The ScrollPane is working here, the vertical is it possible to make a horizontal as well?
So why here it work and in my...
Oki I'm going to try it. Let's hope that it will work
Well,
I have a JTabbledPane and on it I have several JPanels. On one of those JPanel there is a JTree. Jtree works fine except when I extend all the nodes, the JTree goes far beyond it's borders....
Nope it doesn't :( I tried that as well. I don't know what I'm doing wrong.. It just doesn't work..I even tried to create another JPanel instead of the Container but still doesn't work
Oh silly me,
Well I cant add the JScrollPane to the tree. When I execute my code the JScrollPane isn't in the JTree.
Oh I posted it here, coz It's in JFrame :) But maybe I should re-post it to the right directory
Hello,
In my program I'm using JTree and I'm having problem with adding JScrollPane. Can somebody please help me?
mainTab = new JTabbedPane(JTabbedPane.TOP);...