ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing in Java
  • Overview
  • Generating a Java application with WINDEV
  • Available WLanguage functions
  • Special features
  • Image formats
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview

Generating a Java application with WINDEV

WINDEV allows you to generate a Java application without even knowing the Java language. The method for developing the application is identical to the method for developing any other WINDEV application.
When the WINDEV project is compiled, the windows and the WLanguage functions are automatically converted into Java.
Available WLanguage functions
AnimationXXX functionsTreeXXX functionsBinaryXXX functionsDrawing functions
Drag and DropEmailXXX functionsInXXXMode functionsWinXXX functions
External file management functionsHTTPXXX functionsHFSQL functionsPrint functions
FTP functionsString management functionsControl management functionsDate and time management functions
IniXXX functionsJavaXXX functionsListXXX functionsMath functions
MatXXX functionsMemXXX functionsMenuXXX functionsClipboardXXX functions
SocketXXX functionsMouseXXX functionsSQLxxx functionsTableXXX functions
Thread, Event and Semaphore functionsTimerSys and EndTimerSysURLXXX functionsXMLxxx functions
ZipXXX functions (only the ZIP format without password is supported)Looperxxx functions

This list evolves very quickly. It is recommended to check the documentation for each function. The logo indicates whether the function is available in Java as well as its limitations.
The filter of the online help + is used to view the functions available in Java.
Special features
The following elements are not available in Java generation:
  • the components.
    Remark: The internal components are available in Java. If the internal component includes an analysis, it will be ignored at runtime.
  • the use of Web services
  • the OLE Automation dialog
  • the use and generation of .Net components
  • the multiple inheritance
  • the dynamic compilation
  • the "GOTO" instruction
  • the syntax used to specify the name of a base class in front of a method
    Example: MyBaseClass::MyVirtualMethod
  • the external language
  • reports. However, the print is available in WLanguage.
    You have the ability to print in PDF format in WLanguage.
  • the "popup" windows
  • the indirections are not supported by the local variables
  • several structures with the same name cannot be found in the same project (even if they are defined in different classes).
  • the management of RTF format
  • the UMC (User Macro-Code)
The skin templates of version 10 (and earlier) are supported by the Java applications.
".CUR" or ".ANI" custom mouse cursors are not supported in Java.
Styles: the following features are not available:
  • Clipping the windows.
  • Shadow for static controls.
  • Transparency and animation of windows.
  • Some fonts specific to Windows may not be supported in Java (a default font will be used).
  • Font attributes: underlined and struck out.
  • Resizing the combo boxes.
  • Using the skin template of the project on system windows.
  • Buttons cannot have multiline text.
The Vista styles are available in Java.

Image formats

The following image formats are supported in Java: JPEG, PNG, GIF, BMP.
Related Examples:
WD JavaMail Training (WINDEV): WD JavaMail
[ + ] This example is a Java example used to read and send emails.
WD Managing the Java errors Training (WINDEV): WD Managing the Java errors
[ + ] WINDEV enables you to develop Java applications without even knowing Java.
You benefit from the power and from the automated processes of the WINDEV environment.
One of the most useful automated processes is the automatic management of errors.
This example presents the operating mode and the implementation of the mechanism for managing the WINDEV errors.
Some illustrations allow you to understand the simplification performed when implementing this feature.
This project is configured to generate a Java archive.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 07/01/2023

Send a report | Local help