使用不同大小的netbeans创建UI! [英] Create UI with netbeans for different size!

查看:142
本文介绍了使用不同大小的netbeans创建UI!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用netbeans为我的程序创建UI但我不知道如何创建一个UI,当用户更改程序窗口的大小(最大化或其他大小)时,程序的组件会更改大小以匹配该程序我希望为谷歌浏览器等aria2c下载管理器创建一个GUI,它有一个按钮可以将状态从HTTP更改为FTP或metalink等等,还有一个textField for导入用户下载链接和Google Chrome等设置按钮。在这个工具栏下面,我想显示用户想要下载的内容,如IDM。该IDM显示用户想要下载的内容的名称和状态。请建议我如何创建此GUI以及哪个布局管理器可以轻松创建此GUI。非常感谢。

解决方案

您可以使用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

这篇关于使用不同大小的netbeans创建UI!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆