The default look and feel varies with the used platform. We need a running window manager to run the standalone application. We will directly jump to the Unicode query example. We were not able to accomplish the search in the terminal application. The search should easily be possible in the standalone application. The input fields are able to receive Unicode values. These values can also be retrieved from the user interface panel and handed over to the query interpreter. The result table should also be able to show Unicode:
The above screenshot shows the frame after having entered name criteria ‘Иванов’ [Iwanov] and after pressing the search button. As can be seen the standalone application has no problems with Unicode in the criteria and with Unicode in the result table. The terminal application would have displayed the built query as well. On purpose we have shifted this functionality into an alternative scenario for the standalone application. The end-user has to press the debug button to see the built query. The result can be seen here:
As can be seen the standalone application has no problems with Unicode in the built query. Let’s now turn to issue of exceptions. We didn’t look at this issue in connection with the termi-nal application. The terminal application would simply pass an exception outside of the main method. And the Java virtual machine would then display the exception on the console. The standalone application will instead show an alert dialog.