Java swing GUI tutorial #8: JInternalFrame

preview_player
Показать описание
If you have any question, leave it in comment section below. I'll be eager to answer.
Рекомендации по теме
Комментарии
Автор

Thank you!!! It works. Now i work on swing OS XD

commandpromptexe
Автор

MAKASIH KAKA UDAH SOLVED BUG SAYA THANKS BANGET!!!! <3

conykiss
Автор

What do you mean by decoration? Removing borders, setting backgrounds? Also, difference between main (I presume JFrame) is that JFrame can be standalone, while JInternalFrame cannot. More-less, they are same. Regards.

OverG
Автор

I tested application with JInternalFrame by setting: systems, nimbus and metal look and feel. Well.. in all three cases it looks "weird" (it doesn't look like JFrame). Btw, I personally avoid use of JInternalFrames...Its kind of characteristic for those old fashioned UI's. I mostly use CardLayout and JTabbedPane when it comes to work with multiple workspaces. I will cover look and feels too. Stay tuned!

OverG
Автор

If you added JDesktopPane on CENTER of JFrame (acording to BorderLayout) and JLabel on SOUTH of JFrame there shouldn't be any problems. Have a look at tutorial about BorderLayout since like 80% of all problems with swing comes from wrong use of layout managers. Good luck!

OverG
Автор

Hello! Thanks for the tutorial! I have a question regarding JInternalFrame class.
Is there a way to define where should my internal frame appear minimized?
I am facing a problem when i minimize my internal frame. It appears behind my status bar below :(

PS: My status bar is a JLabel

LazarNev
Автор

how do i add more internal panels so i can have more than one, atleast 6. thank you.

abdulwahabahmed
Автор

if you put a button on JInternalFrane how close this JInternalFrame and the main frame to stay clean.

rodrigogaspar