Introduction

    SWT is a project of Eclipse, used to write desktop programs. SWT can run on multiple platforms and can also run on web pages through RAP.

    XWorker's model manager is mainly written using SWT. If you want to use XWorker programming, it is best to have some understanding of SWT.

    https://mvnrepository.com/artifact/org.xworker/xworker_swt

Example

   The following XML is an example of a SWT model. SWT can run on the WEB. You can click here to run the model, run A window will open with a browser displaying the XWorker homepage.

<?xml version="1.0" encoding="utf-8"?>

<Shell name="shell" text="Hello World!" descriptors="xworker.swt.widgets.Shell"
  width="800" height="600">
     <FillLayout name="FillLayout"></FillLayout>
     <Browser name="Browser" url="https://www.xworker.org"></Browser>
</Shell>

    The GIF video below shows the editing and running process of the above example.

 

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号