ideas for a GUI

S

Spitfire

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How do I design a window such as the Firefox's Download window? Each entry
having an image to represent the concerned item, a progress bar to indicate
download time or some other metric, and buttons to cancel or pause the
activity? Any ideas or references would be greatly appreciated.

- --
_ _ _]{5pitph!r3}[_ _ _
__________________________________________________
“I'm smart enough to know that I'm dumb.â€
~ - Richard P Feynman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)

iD8DBQFHkwjEKVWYDRRZoskRAmg6AJ4+LihfGbPdwwovRfa7VkxMjT6GUQCeKDEw
yu1Rx24FTUz7xGYYhJPHZW0=
=RSYJ
-----END PGP SIGNATURE-----
 
M

Mark Space

Spitfire said:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How do I design a window such as the Firefox's Download window? Each entry
having an image to represent the concerned item, a progress bar to indicate
download time or some other metric, and buttons to cancel or pause the
activity? Any ideas or references would be greatly appreciated.

In my opinion, that download box is a JScrollPane with 0 or more
JPanel's. Each JPanel has the objects for one download -- icon, status,
progress bar, etc. When you remove a download ("Clear" button) you just
delete the JPanel. You can arrange the JPanels with a vertical
BoxLayout (I think that's the one, didn't look).
 

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,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top