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 dashed;
border-radius: 10px;
}
""")
@AppTitle("webforJ Hello World")
public class WebforjHelloWorld 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.PRIMARY)
.addClickListener(e -> showMessageDialog("Hello World!", "webforJ Message"));
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.
webforJ is licensed under the MIT License.