473,395 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Help: GridBagLayout

Could someone please help me to figure out
how to use subj? I need to arrange 12 buttons
in four rows - four in 1st row, two in 2nd, another
two in 3rd , and last four in 4th row. I follow
tutorial from JDK docs but for some reason
on the 4th row only two buttons show up.

Thanks.
Jul 17 '05 #1
2 1916
Pablo wrote:
Could someone please help me to figure out
how to use subj? I need to arrange 12 buttons
in four rows - four in 1st row, two in 2nd, another
two in 3rd , and last four in 4th row. I follow
tutorial from JDK docs but for some reason
on the 4th row only two buttons show up.


You forgot to show us your code.

Stewart.

--
My e-mail is valid but not my primary mailbox, aside from its being the
unfortunate victim of intensive mail-bombing at the moment. Please keep
replies on the 'group where everyone may benefit.
Jul 17 '05 #2
I know this does not directly answer your question but after a couple of
painful weeks trying to get gridbag to do what I wanted, I tossed it in
the trash and started using TableLayout
(http://www.clearthought.info/software/TableLayout/)

Much more easily managed behaviour IMO.

Stewart Gordon wrote:
Pablo wrote:
Could someone please help me to figure out
how to use subj? I need to arrange 12 buttons
in four rows - four in 1st row, two in 2nd, another
two in 3rd , and last four in 4th row. I follow
tutorial from JDK docs but for some reason
on the 4th row only two buttons show up.

You forgot to show us your code.

Stewart.


Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
0
by: Peter Wieser | last post by:
this short program does not do as it should!!! when you resize the frame, the weights (3 and 1) would not stay the same. why??? import java.applet.Applet; import java.awt.event.*; import...
2
by: deezle | last post by:
Hello, I am trying to get my calculator GUI to +,-,* and /. I have got all of them to work except my division. I was wondering if someone could helpme figure out the problem. Any input would help...
3
by: gaz123 | last post by:
I realise this is probably something simple, but here goes. I'm a home-taught student and have been set the task of creating a GUI and engine for a game. My engine works fine, as did my GUI before my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.