Xoetrope
HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

A First Application


In this first example we will look at creating the infamous 'Hello World' example, a very simple application that just shows the text Hello World.

1 Having installed the KalIDEoscope module for NetBeans, start NetBeans and choose the File | New Project option and choose the XUI project wizard.
image

2 Add the name of the project and choose a new folder for the project (the project folder must be empty)
image

3 Set the project startup options:
image

4 Choose the default options for the frameset (no frameset)
image

5 Choose the default file names
image

6 Choose the default extensions and click Finish
image

7 The new project now opens in the Project View
image

8 Now switch to the Files View and expand the pages folder
image

9 Double click on welcome.xml in the Files View to open the page editor. Once the editor opens click on Label in the component Palette and then click on the page to add a new label component.
image

10 The new component is initially blank so we click on the Text entry in the Property sheet an enter the text Hello World!. Also, change the Style entry to Heading, so that the text is displayed in a larger font.
image

11 (Optional) You can switch to the XML mode of the page editor to see the generated XML.
image

12 The application is ready to run or debug. Click on Save and then Debug (this automaticall saves the project anyhow). We recommend that you run in debugger as it is more useful and carries little overhead, apart from a slightly longer startup time.
image

13 Now, you should see your first XUI application running.
image

Ok, so this application doesn't have much functionality -so, to see more check out the tutorials.

SourceForge Logo

There are no comments on this page. [Add comment]

Page was generated in 0.1953 seconds