Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
jvx:firstapp [2018/01/25 08:53]
admin
jvx:firstapp [2018/01/29 14:10]
admin
Line 1: Line 1:
 +~~Title: First JVx application ~~
 +
 In the following paragraphs, we will show you how to create your first JVx application with minimal effort and code. In the following paragraphs, we will show you how to create your first JVx application with minimal effort and code.
  
Line 144: Line 146:
 |createMenuItem|Provided by the super class to create menu entries. The first parameter contains the name of the method which is to be called when the menu entry is selected. The second parameter contains the command (ActionCommand) which plays no role in our case. The text of the menu entry is to be defined in the third parameter, and lastly the image for the entry is passed over.| |createMenuItem|Provided by the super class to create menu entries. The first parameter contains the name of the method which is to be called when the menu entry is selected. The second parameter contains the command (ActionCommand) which plays no role in our case. The text of the menu entry is to be defined in the third parameter, and lastly the image for the entry is passed over.|
 |createToolBarButton|Similar to ''​createMenuItem'',​ except that this method creates a button which adapts to the layout of the toolbar.| |createToolBarButton|Similar to ''​createMenuItem'',​ except that this method creates a button which adapts to the layout of the toolbar.|
-|UIImage.getImage|Provides a predefined image from the JVx image library. For ease of use, we use a predefined image.|+|UIImage.getImage|Provides a predefined image from the JVx image library. ​\\ For ease of use, we use a predefined image.|
 |doOpenDBEdit|This method is called when the menu or the toolbar button are pressed and calls the corresponding work screen.| |doOpenDBEdit|This method is called when the menu or the toolbar button are pressed and calls the corresponding work screen.|
 |configureFrame|This method is provided by the super class and ensures that all frames look the same. This includes the menu icon.| |configureFrame|This method is provided by the super class and ensures that all frames look the same. This includes the menu icon.|
Line 386: Line 388:
 Once the database has been started, the application can be started via the Run menu in Eclipse. The finished application should now look as follows: Once the database has been started, the application can be started via the Run menu in Eclipse. The finished application should now look as follows:
  
 +{{:​jvx:​app_finished.png?​nolink|}}
  
 You can find more details about the components of a JVx application as well as step by step instructions for Eclipse under [[jvx:​firstapp_step-by-step|Step by step introductions to the JVx application]]. You can find more details about the components of a JVx application as well as step by step instructions for Eclipse under [[jvx:​firstapp_step-by-step|Step by step introductions to the JVx application]].
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information