PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • Principle for generating a Java application with WINDEV
  • Available WLanguage functions
  • Specific features
  • Image formats
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview

Principle for 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
FTP functionsFunctions for managing stringsFunctions for managing controlsFunctions for managing dates and times
Functions for managing external filesHTTPXXX functionsHyperFileSQL functions
HFSQL functions
Print functions
IniXXX functionsJavaXXX functionsListXXX functionsMathematical 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. We recommend that you 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.
Specific features
The following elements are not available in Java generation:
  • the components.
    Note: The internal components are available in Java. If the internal component includes an analysis, this analysis will be ignored during the execution.
  • the use of Web services
  • the OLE Automation dialog
  • the use and generation of .Net components
  • the multiple inheritance
  • the dynamic compilation
  • the "GOTO" statement
  • the syntax used to specify the name of a base class in front of a method
    Example: MyBaseClass::MyVirtualMethod
  • the external language
  • the reports. However, the print is available in WLanguage.
    Versions 19 and later
    You have the ability to print in PDF format in WLanguage.
    New in version 19
    You have the ability to print in PDF format 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.
The custom mouse cursors (".CUR" or ".ANI") 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.
  • The buttons cannot have a multiline caption.
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 create an applet.
This applet can then be used in an Internet page.
This applet enables you read and send emails.
In this project, a second configuration enables you to manage a "Standard" Java application (.jar).
To generate the Java applet and the "Standard" Java application, select "Workshop - Java - Generate the Java archive",
for each one of the two configurations of project.
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.
WD Java Chart Designer Training (WINDEV): WD Java Chart Designer
[ + ] WINDEV enables you to create some Java applications without even knowing Java.
You program with a 5GL (WLanguage) and WINDEV generates the Java code.
The drawing functions of WINDEV are available in Java generation.
This example explains how to create charts with these drawing functions.
Three types of charts are presented in this example:
- the bar chart,
- the scatter chart,
- and the line chart.
WD JAVA Calls Training (WINDEV): WD JAVA Calls
[ + ] WD JAVA Calls is an example containing two configurations of project:
- A "Windows Application" configuration that is used to create the executable of the application
- A "Java Application" configuration that is used to create the Java archive (.JAR) of the application
This example is supplied with a JAR archive named "JavaFunction" external to the application.
It presents the call to the methods of classes of this JAR archive via the WLanguage function named JavaExecuteFunction.
This example also explains how a memory table can be filled (identical in Java mode and in Windows mode)
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment