Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good example of a Java Swing application?

Tags:

java

swing

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?

like image 335
Georg Schölly Avatar asked Nov 20 '10 19:11

Georg Schölly


People also ask

What is Swing in Java with example?

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.

Which application is built by Swing in Java?

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.

What are Swing applications?

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.

Which application is built by Swing?

It is built on the top of AWT (Abstract Windowing Toolkit) API and entirely written in java.


1 Answers

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.

like image 62
JGFMK Avatar answered Nov 19 '22 17:11

JGFMK