Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do i set action for taskpane component

Ramses Butarbutar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i made a test clas using swingx component. what i'm gonna do is i divide
frame into two part leftpanel and centerpanel using jxtitledpanel.
i made two link text in leftpanel so when i click, it suppose show some
gui on centerpanel. in sample i use jxlabel to mention it.
but when i set actionPerformed for the link(jxtaskpane) there's nothing
change on centerpanel. Any suggestion how to do it or idea or comment that
show me what i missed or wrong in my code??

Here's the code :

actionPerformed code :

thanks in advance...

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic