webswing 将Swing工程Web化工具

http://webswing.org/2.4/dev/development/


下载地址:http://www.webswing.org/

Quick Start Guide

This step by step guide will help you install and start Webswing server and setup your swing application in 5 minutes.

Prerequisities

  1. JRE 6,7 or 8 installed
  2. Modern browser installed

For the purpose of this guide we will use a Windows-based box. Linux installation is covered in separate page.

Download the distribution from Webswing home page and unzip it to new folder. For demonstration purposes we will useC:\webswing

unzipped webswing distribution

Open a command prompt and make sure you are using the current java executable. (Verify by running java -version at the command prompt.)

Double click on the webswing.bat file to start the Webswing server.

started webswing server

Open your browser to address http://localhost:8080

webswing login screen

Login using the default username and password admin and pwd.

application selector screen

Now you can see the list of demo applications and the Admin console icon in the selection. Click on the Admin console.

admin console screen

In Admin console navigate to Settings -> Server configuration. Here we can add a new swing application to the webswing.configjson configuration file.

admin console - server configuration screen

Click on the New button on the Swing applications tab, and fill in the basic details as required. Hover over the question marks for setting explanations.

admin console - new app

Set the application main class and classpath.

admin console - new app

Setup security

admin console - new app

Now click the Apply button to save and apply the new configuration.

Load the first page again, http://localhost:8080, where you should see the newly configured application.

admin console - new app

Click on the application to start the Swing application inside the browser.

admin console - new app

In case the application failed to start, search for the problem in the log file webswing.log located in the webswing folder - in our case C:\webswing.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值