Java GUI - General [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Hello all you helpful folks # stackoverflow!
Best resources for Java GUI's?
Looking at the Java Documentation, it is pretty easy to figure out the basics of JButtons, JFrames, etc but grasping the concepts of accessing JComponents from a frame, what creating a different panel does, etc is not very easy to understand.
Is there some tutorial that teaches the basics about Java GUI like swing and real-life examples?
Book suggestions are always welcome.

Hmm... Have you seen the The Swing tutorial?

Once you've finished the Swing Tutorial, you should have a look at Java Swing. It's a fairly comprehensive book.

java2s.com has good coverage of the Swing library, including sample code for common tasks.

For the technical stuff the Swing tutorials and after that the Javadoc API documentation are enough for most people.
Getting a understanding on how to make a user interface that make sense the Java Look and Feel Design Guidelines will be helpful.
Best tip I can give you is to get input from other people on your user interface. When you build and test an interface yourself your perception on what constitutes a logic and easy user experiences gets warped.

I use SWT/JFace instead of Swing (for the native look and feel, primarily.)
SWT/JFace In Action has been the best resource I've found.
Additionally, the SWT Widgets reference provided by the SWT project.

Related

Modern Java GUI [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm writing a little program with Java and it would be cool if it looked a bit more modern. I want something that looks like websites, or apps flat, colorful buttons, lots of white space, looking neat and simple. Something like this:
http://www.the-webdesign.net/freebie-28-kostenlose-psd-user-interfaces/
(To avoid confusion: I'm not writing a website, it is a private, offline programm, meant to help me planning role play games. Essentially I'm writing it to learn something about Java)
I've read some questions that sounded like mine, but found nothing quite fitting. There are the very simple answers concerning look and feels. I've checked that out, but I don't think thats what I want (or maybee it is, and I've just not found the right one? Maybee you can recommend one). And the really complicated ones, mentioning programs or whatever I've never head about, and I'm not sure thats still Java, but I'm quite sure it's to complicated for me.
So what I would like to know: is there a (not more than moderatly challenging) Java solution to do what I want? (If so, what is it?^^)
You have a number of choices, but it will depend on which frame work you wan to use...
Swing
You could:
Modify the look and feel properties of an existing look and feel to meet your needs
Create your own look and feel to meet your needs
Skin a look and feel using the Synthetic look and feel.
Provide custom painted elements as required...
Take a look at http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/index.html
Java FX
Allows you to "skin" the look and feel via the use of CSS.
See Skinning JavaFX Applications with CSS for more details
Passing thoughts
A "modern" looking application is a subjective thing. Users have predefined concepts of what an application should look like and how and application should work and the controls that should be used to achieve these results.
I would, personally, focus on usability as a primary goal and the look and feel as a secondary goal. Don't put form over function, it will always bite you in the rear in the end

Java programming for minecraft bukkit plugins [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Hello guys I know there are obviously tutorials out there for learning java, but I was wondering is there any existing tutorials that are aimed at teaching you how to develop bukkit plugins via teaching you java in the same adventure!
This can be in form of a eBook, video or whatever.
You need to learn java before you try to make bukkit plugins. I tried making plugins before I learned java, and it was much harder than I expected. Read this, and get a basic understanding of java before you start. Also java books are a great resource. Once you learn java, Pogostick29Dev and SGTCaze (Youtube channels) are a perfect place to start making Bukkit plugins.
Here is how I learned to code Bukkit plugins (It would be very helpful if you had a basic understanding of things like loops and if statements in other languages)
To learn java, theres a nice YouTube tutorial by TheNewBoston. It is for beginners, I watched only the first 20 episodes.
Then, you could take a look at Bukkit's official plugin tutorial.
After that, you should just Google what you don't know, and use the Bukkit forums under Plugin Development or the Spigot forums under Plugin Development, as questions on Bukkit get more attention there then they do here. If you have only Java questions, or any other code-related questions, then this is definitely the place to go.
If you have no understanding in coding at ALL, I recommend you take a couple tutorials at CodeAcademy on JavaScript, as it's one of the most simple and easy to learn programing languages (in my opinion), and it's the first language I learned.
Just remember, though, JavaScript is a different thing than Java, so you obviously won't learn Java at CodeAcademy, yet, if you take the JavaScript tutorial, it will give you a basic understanding of things like if statements, for loops, while loops, and switch statements.
All tutorials i've seen for minecraft assume that you have some basic java skills. As most minecraft tutorials will only show you how to use the API, not how to write java code. So i would suggest to start with a basic java tutorial, and try to implement that into a minecraft plugin.
Once you get basic Java down, http://www.youtube.com/user/PogoStick29Dev has some pretty sweet tutorials.
You should take a look at bukkit's plugin tutorial at:
http://wiki.bukkit.org/Plugin_Tutorial
Almost everything you need is there!
Have you tried this?
http://wiki.bukkit.org/Plugin_Tutorial
It worked quite well for me!

Is there any good java tutorials for beginner/intermediate coders [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
does anybody have any beginners java tutorials that they've found useful? I would love to have a few for future reference.
Follow the following Links it will may help you
http://docs.oracle.com/javase/tutorial/
http://www.mkyong.com/
http://www.tutorialspoint.com/java/
see the related video about your query...
http://www.youtube.com/watch?v=ezwJKkf5q0I
Hope it will help...
Check out thenewboston on youtube. He's pretty easy to understand and won't bore you to death like some of the Lynda teachers
http://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
check java tag info. It has lots of information. And if you find any other useful information do't forget to add that in java info.
Programming, motherfucker has links for Java and many other languages. I go there first whenever I need to learn a language or someone asks for a reference. Picking up a Java edition of any Data Structures & Algorithms textbook can be quite nice too.
edit 1:
Think Java, How to Think Like a Computer Scientist. I've read some other "Think X, How to Think Like a Computer Scientist" and have always been satisfied with them and keep a few (OCaml & Haskell & I think Prolog) as references.

Best GUI Toolkit/Framework for Java and Python [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've been write window programs with C# + WPF for a while now. It is very good, has alot of rich elements as of .NET 4.5 but I dont really buy the idea of porting window based programs to other operating system like OS X using mono and others.
I started working on Java and Python, I haven't written any desktop based program with anyone of them yet as there are war of GUI framework/toolkit out there and everyone is just getting religious about things.
I need some clarification hence the following Questions, mind you these questions might be answered before but like I said, Clarifications:
What is the different between GUI toolkit and GUI framework
For Java programming, I see swing is integrated with Netbeans, from my research, people are speaking of qt's Jambi and GTK for java and python, I have no idea about any of these and I want to know, (1) Which do you use and why? (for Java and python), (2) Visual studio do all the magic for WPF and C#, which IDE can do these magic in java and python.
Lastly, I want you all to know that my asking these question is just to know which rich, powerful GUI and cross platform toolkit/framework (Whichever the right term is) is best for java and python with easy learning curve.
Constructive criticism are welcome BUT, I will be glad if there are answers.
JavaFX seems like a poor imitation of WPF.
Still, I have not seen any examples of how much (if at all) support does JavaFX provide for MVVM, which is what makes WPF the best UI Framework in the history of mankind.
from what I've seen, swing is more similar to winforms than anything else, if you come from WPF that will feel like going back to the stone age.
Side Note: java IDEs don't hold a candle compared to Visual Studio.
I know QT is for Java (and Python of course). It is well documented and is used by a lot of people around the world.

Is there any tool for flow-diagram available? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
is there any tool available, to make a flow diagram or Flow Chart out of code. or make any other diagram like class diagram from the code.
http://www.websequencediagrams.com/
http://yuml.me
You can also look at StarUML
CASE tools like Rational Rose also do this, but for a price.
As you've now said it's Java, here you go:
Java UML generator
Enterprise Architect: C# to UML
Class diagrams in Visual Studio 2010
You may also want to consider Code Rocket. It can produce flowcharts (and pseudocode) from Java code. You can find more information about it here: http://www.rapidqualitysystems.com
Disclaimer: I am a developer on Code Rocket
Hope this helps.
Alan
Use the yED ( http://www.yworks.com/en/products_yed_about.html ). It is an excellent free flowchart editor that works on every modern operating system java works on.
I see people recommended UML tools. The only UML diagram that can be used instead of a typical flow-chart is the UML state diagram. Somehow I always found typical flow-charts to be more easy to understand by a person who has no technical background than UML state diagrams.
I have answered this here
https://stackoverflow.com/a/22479409/403571
code2flow is an online pseudo-code to flowchart generator which should do what you ask, just click on the image to play with it:
Use the UML plugin in Netbeans 6.7.1 and Reverse Engineer. Unfortunately, the UML plugin is not available in later versions of NetBeans.

Categories