Results 1 to 4 of 4
  1. #1
    masa is offline Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    0

    Default working with splitpanes

    hi i a have a jtree with checkboxes in the left pane and some components in the right pane. the components include textfield,filechooser... if i click on a checkbox in the left pane i should catch the name of the node and place it in text field on the right pane. i am able to display the node name on the console but unable to display it on the text field. i used setText() method but still not able to do so... the components on the right hand side are in a seperate class which extends JPanel and i have added the panel to the scrollpane which i added it to the splitpane. can any one please help me out............
    thanks in advance

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    You don't seriously expect someone to write the complete working code for you, do you?

    db

  3. #3
    masa is offline Member
    Join Date
    Nov 2008
    Posts
    21
    Rep Power
    0

    Default

    i dont need the whole code i just want any suggestions any one can give.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    you may want to create a small compilable program that demonstrates your problem, a so-called SSCCE.

Similar Threads

  1. Jbutton not working??
    By rmabrey in forum AWT / Swing
    Replies: 7
    Last Post: 09-24-2008, 05:30 PM
  2. Replies: 8
    Last Post: 05-28-2008, 07:00 AM
  3. calculator not working
    By Renegade85 in forum New To Java
    Replies: 5
    Last Post: 03-10-2008, 03:27 PM
  4. sendredirect not working
    By ranga in forum Java Servlet
    Replies: 0
    Last Post: 02-11-2008, 10:48 AM
  5. Working With ANT
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 04-26-2007, 08:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •