I have a program with a GUI developed in swing. There's a menu item that I want to load my API documentation that I created with javadoc. Anyone possibly know how to accomplish this?
This seems like a job for an annotation.
Related
due to reasons I am working with undocumented java library code that I cannot alter in any way or write into. Im using eclipse 2020-06 and I would like to leaves some notes for myself to make things easier. Is there a way to do that? or maybe an eclipse extension?
You can use bookmarks. They work somewhat similarly to breakpoints, without pausing execution when you're debugging.
You can add them via the context menu.
If I recall, you're a bit limited by the amount of information you can add. It's basically just a single text box.
See the help section on bookmarks
Maybe there's some plugins which extend the functionality (e.g. this one for adding keyboard shortcuts)
I opened a Form application source in IntelliJ, but i can't find the ".form" file, there are just java class. I want to know whether i could open it's GUI designer, and how?
but i can't find the ".form" file, there are just java class
You need to learn how to create GUIs, without the 'GUI designer' of an IDE. That's right, you'll need to actually learn Java. (Shock, horror.) GUI designers work better once you can code a GUI in pure Java, in any case.
I want to know whether i could open it's GUI designer,as figure 2, ..?
No. Most Java code for GUIs don't have an associated .form file.
I'm working on a game editor with SWT/JFACE. I'm looking for something like PropertyEditor or PropertyGrid (like PropertyGrid in C#) in SWT, to provide modification of objects in the editor. Does anyone know something like that? Thanks
If you are going to develop standalone SWT application (without Eclipse RCP) you could use this open source library.
Using data bindings might be what you're looking for.
https://developers.google.com/java-dev-tools/wbpro/features/swt/data_binding/example
I have here a small Scala console application and its working fine. I have now just one trouble: this application should be extended. One of the requests are, that there should be a GUI (AWT,SWT, Swig - doesnt matter, it just have to run on windows).
Well I really dont want to write my own GUI. I like tools like the WindowBuilder. Can I combine this effective? If I would create the GUI with the editor, I'll get generated Java code right? Could this be a problem? I just have to create a Mixin-Project, build the GUI and for each GUI element (Button or whatever with a listener) allocate a scala function. So I dont have to rewrite any of the scala stuff, just point to the function. Is this how it could work? Any suggestions? Thank you
Edit: For me it looks dirty to generate java code in a scala application, but well as I see there is no other solution.
I've done this several times and see no problem with mixing Java and Scala code in one project.
To make things easier for Scala compiler don't put Java and Scala classes into the same package.
Do you know of any tutorial/example on how to code a dynamic GUI with Java Swing in Netbeans? What I'd like to do is:
Write a text configuration file with parameters for several components
Launch the GUI, which reads the configuration file and automatically builds the graphical interface for those components.
I've never worked with Java GUI before, so I'm not really sure where to start.
The Swing GUI Builder, (formerly Project Matisse), creates such configuration files as a normal part of its operation. The files have the extension .form.
http://download.oracle.com/javase/tutorial/uiswing/index.html
Everything for creating the GUI can be found there. You can choose your own configuration file format (XML, JSON), parse it and away you go. There are probably a number of solutions just like this in open source.
SwiXml looks like a possible answer for this.
I found this (and the likely dup using this query: http://www.google.com/search?q=dynamic+java+swing+gui).