Solved

Java: How to nest A GridLayout in a BoderLayout

Posted on 2009-03-28
6
338 Views
Last Modified: 2012-05-06
Hi experts:

I would like to learn how to nest a GridLayout in a zone of a BorderLayout.

I will much appreciate if you may give a sample code which demonstrates how to accomplish that.

Thank you in adavnce!
0
Comment
Question by:duta
  • 4
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
basav_com earned 500 total points
ID: 24011457
0
 

Author Comment

by:duta
ID: 24011475
Master, thank you so much for your kind, prompt tip.

I know how to use basic layouts, such as FlowLayout, BorderLayout, GridLayout.

But I do not know how to nest one in another.

I  am particularly interested in learning how to nest GridLayout in a zone of BorderLayout.

Thanks!
0
 
LVL 12

Expert Comment

by:basav_com
ID: 24011508
One would typically go for GridBagLayout for such requirements.

or create individual panels of your requirment layout and embed these panels into the Frame.
0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

Author Comment

by:duta
ID: 24011678
Thank you very much, Master.

I already created three separate listeners classes, one each for Radio Buttons, Check Boxes, and buttons (compute, clear, exit ).

From each of the listeners, I get inputs from the user.  

I need to compute, using the user inputs.
What I would like to know is:  How to combine the user inputs from the three different listener classes.

Thanks!
0
 

Author Comment

by:duta
ID: 24011681
Please ignore my immediate post, which should have been posted in my latest question.
0
 

Author Comment

by:duta
ID: 24011685
Using your tip, I already figured out how to nest one layout in another. Thanks!
I just posted a new question regarding how to combine and compute user inputs from different types of listeners.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question