Ready to start?

From Pointui

Contents

Applet Structure

The Applet structure is quite simple. In fact, it's a single folder which will contain all the components which will be used by the applet (code, images, files, etc...). First of all, choose a location on your PC where you will put all your Pointui ressources.

  1. Create a 'Pointui' main directory
  2. Then, create an 'Applets' sub folder

[image]

Applet Name

The Applet name must be unique and representative of what the applet is designed to. Your first applet is called 'HomeSweetHome':

  1. Create a sub folder and name it 'HomeSweetHome' under the 'Applets' folder

[image]

Of course, this 'HomeSweetHome' is quite empty for the moment but don't worry, we are going to populate it.

Applet Script

The Applet script is a simple text file which contains the Pointui C code, all the instructions needed by Home to display your applet.

  1. Open the Notepad
  2. Copy and Paste this text in it :
	class HomeSweetHomeApplet : Applet
	{
	}
  1. Save this text file with the name 'HomeSweetHome.cs' in the 'HomeSweetHome' folder.

Note :

  • Syntax is very important. As you see, the class name is composed with the name of your applet suffixed by Applet. Also, you must add an '{' and a '}' to open and close it.
  • You could read this line: create the object HomeSweetHomeApplet of the Applet class.
  • The file extension '.cs' is also imperative.

What have I done?

Well, your first applet is now created. To summarize, here is what you should see on PC:

[image]


Ready to continue?