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
Related
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 writting an editor program. Like any good editor, it should have opening, saving and all the similar functions that go with it (usually found under the "File" menu in editor programs). However, I'm not sure how to write the code to be both functional and well structured.
Since what I'm talking about is major part of so many programs, I'm sure that some kind of standardized way of writing such code exists.
Can you point me to somewhere where I could find informations about that? I'm sure there must be books that deal with this matter, I just don't know what keywords to google to get viable resutls...
Any help is appreciated!
EDIT:
What have I tried so far?
Various combinations of Filechoosers and dialogs with boolean and String markers, always failing in the end, either due to code becoming chaos or getting lost in it's structure and failing to unify my markers.
I could put in some effort and make a working code, but since this is such a widespread problem I'm sure it's been done before, and what is most important, it has been done far better than I could ever do it. It's not that I'm lazy, I just want it to be done as best as possible.
I'm also not asking for the best source or book, but a source or a book. So I'm not encouraging a disscusion by asking for the best suggestion, I just want any suggestion I can get.
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.
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'm looking for something rather specific here. It'd be great if it already exists, if not I don't mind piecing together what's needed.
Essentially: I want to show a 3D human body model on the screen, and in code, be able to manipulate joints to create custom animations; nothing too facny though. Just something along the lines of leftElbowJoint.rotate(57) would be perfect.
Any recommended code and/or starting points?
If you want to use 3D objects in your Application or Wallpapers. Take a look at RajaWali Library which is based on OpenGL ES 2.0/3.0. Download the library and Demo App where he use good 3D Animations on Blender objects. Like Crawling , Hand moving. One of his Animation Example is here.
I'm not sure how advanced your programming experience is. But here are a couple of options how you could achieve this:
1) Start from scratch. Have a look at the OpenGL ES library for Android. You would code the basis of your application.
2) Have a look at a 3d library build on top of OpenGL ES, that will should reduce the amount of coding need. You would be getting the basis for your application.
3) Have a look at unity. Animating 3d objects can be done with ease.
The 3d object human you could either make yourself with an app like Blender or download from a website like.
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'm a CS student, so obviously IDEs are a bit of an overkill for me. I mainly code with Vim (well technically MacVim) and compile and run using the terminal. In the past I usually debug by using print statements. However I feel that it's time I move on to more appropriate tools for my need. I have heard of and tried jdb but I would prefer a GUI one. Any recommendations guys?
Unless you're already extremely experienced with using another tool and love it to death, if you're doing Java, you should just use an IDE. You can go against the grain if you want, but I don't see the advantages for you. Eclipse and Netbeans are both free and excellent tools. It takes 2 minutes to create a new project thats ready to build/run with a single click. Syntax highlighting, refactoring, debugger, code completion are all things you will learn to love even if its a small program. If its complicated enough to need a debugger, its complicated enough to use an IDE.
I would like to suggest Eclipse for 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.