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. ∞
2 Add the name of the project and choose a new folder for the project (the project folder must be empty) ∞
3 Set the project startup options:
set the name to HelloWorld (no space),
set the title to The infamous hello world example, or whatever you want,
the screem size to 640x480,
the package name to xui.projects.helloworld
∞
4 Choose the default options for the frameset (no frameset) ∞
5 Choose the default file names ∞
6 Choose the default extensions and click Finish ∞
7 The new project now opens in the Project View ∞
8 Now switch to the Files View and expand the pages folder ∞
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. ∞
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. ∞
11 (Optional) You can switch to the XML mode of the page editor to see the generated XML. ∞
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. ∞
13 Now, you should see your first XUI application running. ∞
Ok, so this application doesn't have much functionality -so, to see more check out the tutorials∞.
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. ∞
2 Add the name of the project and choose a new folder for the project (the project folder must be empty) ∞
3 Set the project startup options:
set the name to HelloWorld (no space),
set the title to The infamous hello world example, or whatever you want,
the screem size to 640x480,
the package name to xui.projects.helloworld
∞
4 Choose the default options for the frameset (no frameset) ∞
5 Choose the default file names ∞
6 Choose the default extensions and click Finish ∞
7 The new project now opens in the Project View ∞
8 Now switch to the Files View and expand the pages folder ∞
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. ∞
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. ∞
11 (Optional) You can switch to the XML mode of the page editor to see the generated XML. ∞
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. ∞
13 Now, you should see your first XUI application running. ∞
Ok, so this application doesn't have much functionality -so, to see more check out the tutorials∞.
Additions: 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.
∞
13 Now, you should see your first XUI application running. ∞
Ok, so this application doesn't have much functionality -so, to see more check out the tutorials∞.
Additions: 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.
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. ∞
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. ∞
Additions: 4 Choose the default options for the frameset (no frameset) ∞
5 Choose the default file names ∞
6 Choose the default extensions and click Finish ∞
7 The new project now opens in the Project View ∞
8 Now switch to the Files View and expand the pages folder ∞
Additions: - set the name to HelloWorld (no space),
set the title to The infamous hello world example, or whatever you want,
the screem size to 640x480,
the package name to xui.projects.helloworld
Deletions: set the name to HelloWorld (no space),
set the title to The infamous hello world example, or whatever you want,
the screem size to 640x480,
the package name to xui.projects.helloworld
Additions: ∞
3 Set the project startup options:
set the name to HelloWorld (no space),
set the title to The infamous hello world example, or whatever you want,
the screem size to 640x480,
the package name to xui.projects.helloworld ∞