A robust and flexible framework that can help you deliver a modern and engaging web user interface with ease. In Java.
-
Event Handling: Handle user interactions and events with ease using the webforj's event system. Respond to user actions and update the UI accordingly.
-
Component-Based: Create reusable and composable components to build complex UIs. Components encapsulate their own state and logic, providing a modular and maintainable structure for your application.
-
Reliable: Our team in the United States and Europe have been building tools and technologies to help our clients fulfil their needs for over 35 years. We have consistently produced reliable and innovative technologies to ensure our clients have every tool in their kit needed to tackle modern, ever-changing needs.
The webforj's documentation site can be found at this link which contains guides, API references, and examples to help you get started with the webforj.
The following documentation sections may be useful for those beginning their usage of the DWCJ:
The Webforj's HelloWorld repository contains a sample program which can be run in GitHub codespaces, Docker, or locally and demonstrates the basics for creating your first DWCJ program. Here is the class created in the sample:
@InlineStyleSheet(/* css */"""
.mainFrame {
display: inline-grid;
gap: 20px;
margin: 20px;
padding: 20px;
border: 1px dotted;
}
""")
@AppTitle("Webforj Hello World")
public class HelloWorldApp extends App {
Paragraph hello = new Paragraph("Hello World!");
Button btn = new Button("Say Hello");
@Override
public void run() throws WebforjException {
Frame mainFrame = new Frame();
mainFrame.addClassName("mainFrame");
btn.setTheme(ButtonTheme.SUCCESS)
.setExpanse(Expanse.XLARGE)
.addClickListener(e -> msgbox("Hello World!"));
mainFrame.add(hello, btn);
}
}
The above program creates some static text and a button which displays a message box when pushed.
Contributions to the Webforj project are welcome! If you would like to contribute, please follow the guidelines outlined in the CONTRIBUTING.md file.
The Webforj Engine is licensed under the MIT License.