Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-14-2008, 03:05 PM
Member
 
Join Date: Nov 2007
Posts: 6
alley is on a distinguished road
Actions
Good afternoon,

I have a query about a frame with 2 panels.

I want to put some buttons inside the bottom panel, but I need the actions (ActionListener) to occur inside the top panel.

Can you guide me how to connect the panels to be able to do this?

Thanks for your help!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-16-2008, 03:11 AM
Senior Member
 
Join Date: Jul 2007
Posts: 1,022
hardwired is on a distinguished road
Have the top panel implement ActionListener or contain an Action and pass this listener or action to the buttons that are in the south panel. The buttons will generate the events, notify the actions/actionListeners and these will receive the events in the top panel.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 03:52 PM
Member
 
Join Date: Nov 2007
Posts: 6
alley is on a distinguished road
Thanks hardwired,

I will try your suggestion.

Thanks!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help using Buttons/Actions with Drawings Deathmonger New To Java 0 04-08-2008 04:11 PM
Bean related actions in JSP Java Tip Java Tips 0 12-24-2007 11:04 AM
Maximum size permited in the parameters in actions and servlets Eric Java Servlet 2 07-03-2007 05:09 PM


All times are GMT +3. The time now is 03:09 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org