Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I should clarify my question here, I want to practice my programming skills and I want to develop a simple diagram modeling tool, something where I can move objects with the mouse, drag and drop, but I have no idea where to look to learn this kind of things in Java.
I hope my question is clear, thank you.
Are you looking at a desktop application or a web based application?
For a desktop based application, you should start looking a swing or javafx to get started with the basic ideas and the move along.
For web application, it is a bit more complicated for a beginner. I suggest you to start with spring examples and then implement the front end with the help of some javascript library. Like JQuery, Dojo and Draw2D etc.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am trying to make a standalone graphical Java program that runs on the users desktop (pref. Windows). I did some research, and came across the java.awt.* package, javafx, and Java Swing.
Can someone tell me the differences?
Java awt is the first generation, Java Swing is the second generation and the JavaFx is the third generation UI-Toolkit for designing and implementing Graphical User Interfaces with Java.
If you want to learn more about these APIs and the other related APIs, you did not mention, please read the discussion here and there is also a video about the differences between these three APIs here.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have to create a user interface in Java, I asked in another forum for some recommendations and somebody answered me, at that moment, few people write GUI application in JAVA, its most used .NET, could somebody help me?.
Thanks
Maria
The way with java gui is to use javaFx. For that you'll need java 8 (no other lib is needed). This is easier to use as Swing or AWT before. Also its fancier by default.
Although its somehow not new to the community(2 years), there can be some pitfalls you will run into. By now i don't see a better solution. If you need more native "look and feel" you can use the platform dependent swt which is somehow old, proofed but harder to use.
http://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am a C# .NET developer and I always use Visual Studio to create my applications. Now I am studying Java with the netbeans IDE and I have no clue of how to create a Form Application?
I have used Jform etc. But this is just annoying. I was trying for 3 hours just to relocate a button while resizing my window.
Does anyone have any suggestions on how to make this easier?
Unfortunately, IMHO, creating GUI applications in Swing is a pain, especially coming from .NET.
Whenever I need to create Swing apps I find it easier to just hand code it. Although it involves much more work than in .NET, and also has a pretty steep learning curve, I find I have more control over my code that way.
BTW, once you get the hang of how things work in Swing, hand coding is pretty manageable.
Good Luck!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I was wondering about how is possible to make graphics in a programming language just like Java, I mean in the web there are HTML + CSS etc but what here?
I already found out I might start to code with Java Swing (?) but if that's so: where's the best place to start learning it and really briefly: what can I do with that?
Please, note I don't want to start a broad talk with this question, so don't worry and be brief if you don't want to spen too many words with it ;)
For graphics you can use a Canvas/JPanel with Swing, JavaFX, or libGDX if you need a bit more power behind your graphics as it used OpenGL.
As some of the other commenters have already shown, there are many tutorials on how to use all three options, so you're pretty-well set to learn whichever you choose. I'm not entirely sure how well JavaFX deals with graphics, but Swing works perfectly fine for most purposes.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Yes, as what I'm trying to think is that, for example I want to create a simple library system. but my question is it is a good idea to use a game structured system using rendering? Would it give give a performance issue? Also, since I want that system to be compatible with few operating system using libGDX.
Using a game structured system for making a GUI for simple software is not a good idea, because it will consume a lot of time, you can use Java in netbeans for simple softwares it has a drag and drop menu where many components needed for software are present you can use them by just draging and droping them where you needed.
Using a game structured system can give software a non-traditional look, But if you are really good at that game structured system then you can make a very stylish GUI, but it will be non-traditional.