Any complex example project for Java desktop-style GUI? - java

I'd like to see how the code is organized and how the various GUI design patterns are applied. Anything Java and in desktop gui style is fine: GWT, Swing, SWT. Thanks.

ArgoUML
(source: tigris.org)
OpenProj
http://openproj.org/themes/bluebreeze/images/OpenProj_big.jpg
LimeWire
http://www.blogcdn.com/www.downloadsquad.com/media/2008/12/limewire-1234-4.jpg
Those are some I can remember.

Azureus

I was a huge fan of the work done for Aerith. It uses Swing and Java 2D.

Have a look at projects on SourceForge.net that is using Java, there is many. I.e. JBoss, Hibernate and jEdit.

Related

How do I desing my application on Java(eclipse)

I'm new with learning Java. I was learning C# and C# has own designer inside it. Like " Add: Button, Label, Timer, TextBox" But in Eclipse there is no such a thing. Should I use and external program for design or I'm blind and can't see it?
Take a look at the Eclipse RCP, that is a good documented environment to create graphical GUI's
https://wiki.eclipse.org/Rich_Client_Platform/FAQ
You can use NetBeans it has all of the features you are looking for (Add: Button, Label, Timer, TextBox), And it supports java. It is very easy to use and it is very similar to eclipse. good luck!

How to use a Java GUI designer for Clojure?

I'm LOVING coding with Clojure. It's a great language! But until the moment I haven't found any GUI designer for Clojure (with drag and drop components such as Visual Studio's Form Designer, etc). I'm studying programming and my teachers are used to require we do forms. Sometimes the forms are very simple, sometimes more complex.
What I really want to know is: What's the best way to integrate Clojure code within a Java Swing project? I know all that stuff off using jars from compiled Clojure code, but it doesn't seem the right way to do it (coding Clojure, compiling it than using it in the Java project).
I usually use NetBeans for Java projects and Atom + proto-repl for Clojure.
Thank you! (and sorry for any English mistake)
I use seesaw (https://github.com/daveray/seesaw/tree/develop). It is not a GUI designer, only a library/DSL for constructing user interfaces in Clojure build on swing but in clojure, because of REPL, is very easy to develop gui interface interactively (see the tutorial https://gist.github.com/daveray/1441520)

Java GUI framework similar to .NET

Is there a similar plugin/framework for GUI creation in Java as it exists in .NET? I am talking about the new XAML/WPF world, with a neat, interactive content panes, which you can pretty much arrange using mouse rather than coding the styles and visual properties.
You can try the plugin for eclipse and the internal plugin of Netbeans with Swing.
There is no analog to WPF, there are Swing GUI, JavaFX, but these frameworks are far to WPF form .NET, just for my opinion.
Have a look at JavaFX and the Scene Builder for JavaFX.
Try this, it is Eclipse plugin.
this JavaFx this is a internal link for viewing GUI part

Which tool is Prefered to design a GUI .? Java or .net C# WPF

I want to know which is the best tool which can be used to make GUI . Currently I'm working on VC++ 6.0 and I can't give a good look(Vista Look) in that.
So can anyone help me which one will be more suitable for GUI .. Java or any other tool(.net WPF) and if you can give the reason then it is very helpful.
Thanks
I would recommend WPF .. It has the new markup language which suits well the UI development, supported by code behind.
Check some examples http://blog.trivadis.com/blogs/manuelmeyer/archive/2008/06/12/cool-wpf-samples.aspx
Java is designed to work well across multiple systems.
.NET underlies Windows.
If you're trying to imitate Vista's look and feel as closely as possible, go with the framework that was written by the same company that also made your operating system.
Any of the above are capable of a good "Vista" look (including VC++). You just need to opt-in to the new visual control styles with a manifest. WPF will have the most options for a "sexy" Windows UI, and won't need the manifest.
You can use WPF for serving your purpose. WPF lets you
edit the opacity of the elements : so that you can create transparency effect as in Vista
create storyboards for your animations
change the look and feel of existing controls using styles, so it can be easy to create Vista style controls
apply bitmap effects such as Outerglow, Dropshadow, etc.
Although WPF is not limited to the above features, but it is the partial list of features for which you can use WPF to achieve your desired effect.
If you do decide to go down the Java route, take a look at the JGoodies libraries. They take a lot of the pain out of writing Swing apps by providing (amongst other things) a much more usable layout manager, a data binding framework, and some some Windows like look & feels.
Take a look at this to see why you don't want to use one of Swing's standard layout managers directly...
Depends on what you mean by "best" tool.
In Java you are most likely looking at Swing to develop your application as far as frameworks go. If you are looking for a complete RCP, you could take a look at the Netbeans Platform or Eclipse RCP. The Netbeans IDE also has a nice GUI editor that can be used for generating Swing GUIs (if you don't mind working with generated code and the Netbeans IDE).
WPF is very nice but has quite a large learning curve.
Swing is a bit chunky.
7 years ago at least Delphi was a really really polished and good way to produce a windows GUI, since then Delphi has moved to be a .net laungage. So I would recommend at least looking into Delphi
The tool decision should follow your requirements.
Do you need a GUI for a stand-alone Application or a client-server architecture? If it's stand-alone, do you need it for a single operating system or you need it portable? If it's client-server, do you want a thin client ('webapplication') or a rich client, if it's a rich client, you want the user to install it or shall it be provided by a webservice?
Do you want to hardcode the GUI or declare it? Do you have some expert knowledge on a certain programming language or a certain framework or do you want to use the project to learn on or the other (or both)?
I think, it's much easier to recommend something when we have some more background information.
From the few things I know I suggest:
Upgrade your visual c++ environment and keep working with the tools and frameworks you already know. Microsoft products should be the best solutions to develop applications for Microsoft operating systems.
I would recommend Flex with Adobe AIR - it's nice! adobe flex

Matisse in Eclipse

I have just installed Eclipse 3.4 and found out that there is not a plugin to create Swing applications yet. I also have found that there is a Matisse implementation in MyEclipse IDE, but I'd like to now whether there is such a Matisse plugin for free.
Instatiations Swing Designer is the best in my opinion. We settled on it after trying may different Eclipse plugins.
there isnt one for free. myeclipse is the only way to run matisse inside eclipse.
Although this is not a true answer to your question, you may as well look at alternative solutions in terms of layout management: Matisse and GroupLayout are neither the only way, nor the best one, to define your GUI forms.
I would suggest you take a look at:
MigLayout (very powerful and quite
simple)
and DesignGridLayout (quite powerful
and very simple)
Both are open source and have a friendly license (not GPL).
A quick search on Google will give you the links immediately.
Disclaimer: I am one of DesignGridLayout both project owners, but I point you to it because I'm convinced it provides a better way to define Swing layouts.
I did a quick Google search and found that you could use Netbeans Matisse and Eclipse in parallel:
NetBeans Wiki: UsingNetbeansMatisseAndEclipseInParallel
It seems to basically involve building the Swing GUI in Netbeans and doing the other coding tasks from within Eclipse.

Categories