开发者

what are the Ways to create a gui to install a java app

I have a java web application . Currently the application is installed in a cli mode [on windows/linux /solaris] by running sh or cmd scripts. I would like to create a GUI for the App installation so that user can edit info in gui for the installation.

Any pointers/Best practices for developing gui would be helpful开发者_Python百科.

thank you


IzPack (http://izpack.org/) is one that seems stable and actively developed.


this covers it.

How to create Java webapp installer (.exe) that includes Tomcat and MySQL?"


Check out Swing. This is the GUI framework that comes with Java.

http://java.sun.com/docs/books/tutorial/uiswing/

public class Swing extends JFrame{
  public static void main(String args[]){
    new Swing();
  }
  public Swing(){
    JLabel label = new JLabel("Hello world!");
    add(label);
    setSize(100,100);
    setVisible(true);
  }
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜