Currently, we are using IBM VisualAge for Java to program Swing classes for our legacy system. We plan on migrating to Eclipse, but I cannot find a simple way how to. Is there any tool to migrate the VisualAge Java classes repository (.dat file) and visual composition of Swing classes to Eclipse?
Eclipse includes the WindowBuilder tool that is pretty good at reading existing UI code and providing a nice "visual" edit mode for it. The latest Eclipse IDE for Java Developers package includes WindowBuilder; it can also be installed into any of the other packages via Help > Install New Software.
You can learn all about WindowBuilder at http://www.eclipse.org/windowbuilder/
Related
I recently downloaded VS Code for Java development. When I initially opened an existing Java Project in VS Code, it was unable to identify objects from the Selenium library. I downloaded the Java Extensions plugin and a few others, and now VS code will not recognize any of my imports as valid. Javax and Java.swing are among the now undetectable libraries. Is there a setting I missed? What do you recommend?
VSCode just an Editor, after you install some extensions, it only makes the editor more convenient, get more abilities even can help you develop the project of some kind of language through combine with the language support in your computer. Such as, you need to install JDK, then to install the 'Java' extension, then the extension to combine with the JDK and the VSCode, then you will get the ability to develop java project in VSCode.
That's means, The 'Language Support for Java(TM) by Red Hat' has nothing to do with java development. For example, after you install the JDK on your computer, you can develop java projects in the other IDEAs such as Intellij IDEA or some others. The 'Language Support for Java(TM) by Red Hat' extension just to combine the JDK with VSCode better, to make VSCode better to develop java project.
As you said, you failed to import libraries. Of course, the 'Java' extension without any libraries of java. You need to configure it by yourself. In the Explorer panel, you can find 'JAVA PROJECTS'. In it, you can find which libraries you have referenced and you can adds libraries in it. And of course, you'd better take maven to manage your project.
By the way, recommend you to install 'Java Extension Pack' extension.
You're going to need to add support through extensions because by default VS Code does not support Java. The great thing about this extension is that you get a slue of other extensions as well, such as; maven, debugging tools, support for junit, auto completion, etcetera.
On a side note, you could always use an IDE/IDEA like IntelliJ, Eclipse, or likewise. I'm definitely partial to IntelliJ but they all have their pro's and con's.
I want to now if there is a mechanism or an automated way to migrate a generated GUI (that was used with Java 6) in Netbeans 7.1.2 to a newer version of Netbeans (that of course is using Java 7)?
The export settings from the old one and import it to new one is not actually very helpful, also, when i solve all the problems, the project runs but the GUI is not looking the same as it was in Netbeans 7.1.2!
If someone has any solutions, or experience the same issues please guide me to a possible solution!
Thanks! :)
I am trying to set up Eclipse that I follow below steps and I guess need some help :)
Firstly, I want to say that I've download JRE from here:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html and set up jre-8u60-windows-x64.exe
Now, I am dealing with to download Eclipse but I cannot decide which IDE I should download from here:
https://eclipse.org/downloads/ (My operating system is Windows 8.1 - 64 Bit)
Is there any difference between these IDEs? I want to Eclipse which contains Java and C/C++ programming for now and I might install other programming languages for the future. Which IDE must I download?
You won't find an Eclipse distribution that supports both Java and C/C++ out of the the box.
If you want a single IDE for both, you can download the distribution for Java, and later install C/C++ components.
Eclipse IDE for Java Developers is the basic Java IDE. Eclipse IDE for Java EE Developers includes additional tools for developing Java Enterprise Edition applications such as webapps and EJBs. So, if you are a beginner or you mostly work on Java Standard Edition, download Eclipse IDE for Java Developers.
Then, as this post suggests, You can go to Help -> Install New Software menu item to install C/C++ components.
I want to make a executable file of my project which I made in JavaFX 2.0. Can anyone help me with this?
The JavaFX team implemented support for this in the tools bundled with the JavaFX 2.2 SDK (included in Java7 from update 6). The JavaFX packaging toolset for packaging executables is documented in self-contained application section of the JavaFX deployment guide.
See RT-19446 "Add ability to co-bundle Java + JavaFX + App into a single native executable" for more information (anybody can sign up to view the jira).
3rd party tools such as the JavaFX maven plugin or the JavaFX gradle plugin, streamline integration of building native JavaFX executables using common build systems.
The JavaFX packaging tools can also be used to natively package any Java application, not just JavaFX applications. For example, a Swing application, as demonstrated by this shell script for packaging a Swing application using JavaFX on OS X.
If you want to do the packaging for the 2.0 or 2.1 versions of JavaFX (not JavaFX 2.2+), then you should review Packaging JavaFX Applications as Native Installers.
Javafx 2+ can now easily be packaged as a native exe (with an added payload, which the current JRE), the up to date (as in the end of 2012) article is here: http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm
Out of curiosity I created an executable on Windows (copy-pasting the netbeans build code into netbeans' build.xml) from the canvas and the hello world examples: the app is around 20k, the executable/launcher is around 80k and the added runtime is 138mb.
By the way if you have an older netbeans install (installed with a pre 1.7jdk) you may have to update it or edit its netbeans.conf fixing the "netbeans_jdkhome" path, otherwise the bundled executable's packaging may fail.
There are several tools to generate a customized exe launcher for your Java application.
I have good experience with Winrun4J: http://winrun4j.sourceforge.net/
but you will always need an installed Java/JavaFX Runtime even if you have an .exe that contains all your code.
I learnt to program using Java in eclipse. Recently I've wanted to learn C and C++ so I installed the C/C++ version of eclipse. I still have some Java programming to do though and the option to create a new Java project has disappeared.
Is there an easy way to have both C++ and Java projects accessible on eclipse or should I find a new IDE to code Java in? If I was to reinstall the Java version of eclipse would it remove the C++ version?
Eclipse is a platform, you can most certainly use it for C/C++ and Java at the same time. The development tools for each language are actually just plugins. That said, many people prefer to use separate installations for each language, so as to keep their workspaces clean.
If you want to install the Java tools in your C/C++ IDE you can go to Help > Install New Software..., and search for "Java Development Tools."