如何制作行业标准桌面Java应用程序? [英] How to make industry standard desktop Java applications?

查看:112
本文介绍了如何制作行业标准桌面Java应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何在Swing中创建基本控件,但是进入行业标准应用程序开发,我缺乏执行它们的技能。

I know how to create the basic controls in Swing, but coming to industry standard application development, I lack the skills to do them.

我正在设计一个小的Java Swing应用程序。我没有为每个目的创建 JFrame ,而是想在一个窗口中创建控件,显示它们,隐藏它们(必要时),所有内容。

I am designing a small Java Swing application. Instead of creating a JFrame for each purpose, I would like to create controls, display them, hide them (whenever necessary), everything in just one window.

我该怎么办?我是初学者。请指出使用Swing进行桌面Java应用程序的传统方法的不错的Web资源。

How can I do it? I am a beginner. Please point me to nice web resources on the conventional ways of doing desktop Java applications using Swing.

推荐答案

我建议你使用NetBeans和使用Swing桌面应用程序预先存在的模板创建项目。

I suggest you use NetBeans and create a project using the "Swing Desktop Application" pre-existing template.

它将为您的应用程序创建基本基础结构,包括带有菜单和状态栏的主窗口所有预接线的进度条,关于框,事件处理程序等。

It will create the basic infrastructure for your app including a main window with a menu and status bar with a progress bar, about box, event handlers, etc, all pre-wired.

例如,进度条已经配置为可以监听任何进度条。您创建的操作任务,因此只需创建一个新的操作任务,您就可以获得一个工作进度条,该任务栏将在任务执行时运行,而无需对其进行编码。

What's nice about it for example is that the progress bar is already configured to listen to any action task that you create, so by simply creating a new action task, you get a working progress bar that will run when the task executes, without having to code it.

有关详细信息,请参阅此处

For more info see here.

这篇关于如何制作行业标准桌面Java应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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