且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用不同大小的netbeans创建UI!

更新时间:2022-12-03 09:41:09

您可以使用GridLayout或BorderLayout。另请阅读:使用布局管理器


I want to create UI for my program with netbeans but I don't know how to create a UI that when user change the size of program window( maximize or other sizes ) component of the program change sizes for match to that program size.

I want to create a GUI for aria2c download manager like Google Chrome that has one button to change state from HTTP to FTP or metalink and so on and a textField for import users download link and a button for settings like Google Chrome. Below this toolbar I want to show things that user want to download like IDM. That IDM show name and status of things that user want to download. Please suggest how I can create this GUI and which layout manager is comfortable for creating this GUI. Thanks very much.

You can use either GridLayout or BorderLayout. Also read this: Using Layout Manager