I'm learning Java at my university, but unfortunately only the language and not really the framework.
I'm interested in writing some Java applications in Swing. What are some projects that use a clean document layout so that I can see how one normally structures a Java application?
Swing in java is part of Java foundation class which is lightweight and platform independent. It is used for creating window based applications. It includes components like button, scroll bar, text field etc. Putting together all these components makes a graphical user interface.
Java Swing is part of Java Foundation Classes. It is used to create window-based applications which makes it suitable for developing lightweight desktop applications. Java Swing is built on top of an abstract windowing toolkit API purely written in Java programming language.
The Swing Application Framework (JSR 296) is a Java specification for a simple application framework for Swing applications, with a graphical user interface (GUI) in computer software. It defines infrastructure common to most desktop applications, making Swing applications easier to create.
It is built on the top of AWT (Abstract Windowing Toolkit) API and entirely written in java.
One of the things I usually do for things like this is look at Amazon for book reviews. For the ones with favourable feedback, I then go to the publishers website and download the source code. So for this question I'd take a look at these reviews and the publishers website. Note you can actually get the code examples for versions 1 & 2. Also you can get the first edition of the book for free in Word. On a final note, if you get to really like Swing, have a look at Griffon too. It makes coding Swing applications a whole lot nicer because it uses a Groovy DSL. Good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With