The Artima Developer Community
Sponsored Link

Java Answers Forum
jdk 1.4 swing gui

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Andreas Novak

Posts: 3
Nickname: andy
Registered: Aug, 2002

jdk 1.4 swing gui Posted: Aug 10, 2002 6:48 AM
Reply to this message Reply
Advertisement
Dear list,

I got a problem with a windows explorer like applet. I'm using a tree in a scrollpane which is embedded in a splitpane. The right side of the splitpane contains a table with the files in the selected directory.
My problems are:
When I'm expanding the tree on the left so it won't fit in the scrollpanel, no scrollbars are shown, although the documentation says, that scrollbars appear automatically. As a model I'm using a class extended from DefaultMutableTreeNode ( not AbstractTreeModel! ). Is there anything I got to take care of? Perhaps setting some scrollpane properties?

Second problem concerns the table to the right: I want to use a popup menu in the table. Therefore I've added a MouseListener. The table is in a scrollpane on the right side of a split panel. Querying for the popupTrigger with event.isPopupTrigger() doesn't work.

Any ideas?

Thanks in advance

Topic: Java curser on a text field Previous Topic   Next Topic Topic: Class Collission

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use