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

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.

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

Login using the default username and password admin and pwd.

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

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

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.

Set the application main class and classpath.

Setup security

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.

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

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.


你可能感兴趣的:(webswing 将Swing工程Web化工具)