Is there a QToolbox equivalent in JAVA?

C

Chris Head

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm learning how to build GUIs in Java and am transitioning from Qt for
a project. I was wondering if something equivalent to the QToolBox
widget exists in Java.
Here's what the QToolBox does :
http://doc.trolltech.com/3.3/qtoolbox.html#details
Thanks in advance.
Jo

Hi,
I'm not sure I quite understand the documentation of QToolBox, as I've
never used Qt before. However, it seems that it's a basic system by
which to create a tabbed window, where clicking another tab brings
another "page" into display, except with the two differences that (a)
the tabs are all displayed one above the other (none beside each other),
and (b) tabs for items "after" the current item go to underneath the
actual item.

It seems to me the closest Java equivalent is a javax.swing.JTabbedPane.
I'm afraid I really don't know how to duplicate this behaviour, though,
as I haven't used a JTabbedPane either. It gives you a starting place
for your research though.

Good luck,
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFCrmTWgxSrXuMbw1YRAv6+AJoCT4Hw+sk6MdM5JF+ZB5v2WlYDdwCglqCs
oSN9Pig15nQIq2UiW1Pdmm8=
=KmN7
-----END PGP SIGNATURE-----
 
S

slightlykirix

Hi Chris,
That is exactly the behavior I'm looking for. I tried JTabbedPane, and
I can get the tabs to display one above the other by restricting the
width of the pane, but the tabs are fixed in place.
Thanks for your reply.
--Jo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top