RAP is an Eclipse project that allows SWT to run on the WEB. Official website address: https://eclipse.dev/rap/.
The following XML is an example of a SWT model. It has been placed on the XWorker URL and can be Click here to run the model. After running, 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>
Copyright © 2007-2019 XWorker.org 版权所有 沪ICP备08000575号