Simple Swing is a Java Swing framework that simplifies the GUI implementation and improve the experience for new Java programmers.
Create multiple pages and route between them without any hassle. Easy to maintain and extend.
@Page("dashboard") // creates a page
public class DashboardPage extends SimplePage {
@Override
public void render() {
// page content here
}
}
Router.showPage("dashboard"); // switches to home pageFor creating a default page, use the home attribute in annotation:
@Page("dashboard", home = true)
public class DashboardPage extends SimplePage {
...
}The default page will be shown when the application starts.
There are 2 more methods to override, OnInit() and OnExit(), which are called when the page loads or unloads respectively
Hides all the complex layout function and lets you manage layout in easy and understandable way.
Easy to use components without adding
| Feature Planning | Status |
|---|---|
| Easy Page Routing | COMPLETED |
| Simpler & Better Layout System | PLANNING |
| Basic Simple Components | PLANNING |
| Better Style System for Components | N/A |
| Database Handling & Quering | N/A |
| Multithreading and Dispatcher Handling | N/A |
| Reactive Data Binding (Signals) | N/A |
| More Custom Components | N/A |
Contributions are welcomed. If you would like to collaborate, feel free to reach out to me.