I'm looking at learning JavaFX.
I've tried setting Eclipse to develop a small app and I've downloaded the Eclipse plugin.
Eclipse JavaFX plugin
BUT... it just seems, well, flakey.
So I have 3 questions...
1: Is there a better plugin?
2: Or is there some great set of tutorials out there that I'm missing?
3: finally, is it meant to be easy to call Java code from FX? I'm stuggling, it there a good example somewhere?
On questions 1 & 2, Eclipse underlines code in red that just shouln't be. For example..
see this image... alt text http://www.qenet.co.uk/fx.jpg
Why does it underline bit of imports in red?
I know this is little of an open ended question. So I guess my main question is this...
Is my experiance of JavaFX and Eclipse the best I can hope for? Or am I missing something ?
(and I'm not looking for a Yes/No response) :-)
Just looking for a discussion on how best to learn/develop JavaFx.
This kind of thing is not unusual. A lot of Eclipse plugin editors have problems dealing with error tags and the like. For example,
I find that the XML and HTML file editors often fail to clear error and warning markers, and the only way to get rid of the markers it is close and reopen the file.
Even the Java viewer gets it wrong in some circumstances, though the problem goes away when the relevant files are saved.
When you update a spelling dictionary, the spelling checker is not rerun and the spelling error markers are not updated. In fact, you have to restart Eclipse for this to happen.
I suggest that you try saving files, and closing/reopening editors to see if that makes the bogus error markers go away. Then decide whether Eclipse is the right IDE for this task.
I've never used NetBeans (at all), but you would expect that it would do a better job supporting JavaFX. After all NetBeans and JavaFX are both high profile Sun products at the moment.
Netbeans is really the only way to go at the moment for JavaFX development. They are both Sun products and Sun has made sure the two work very well together. Before long Eclipse and others will catch up but for the moment that's how it is.
There is another JavaFX plug-in for Eclipse from Exadel. You can download it here: http://exadel.org/javafxplugin. Give it a try.
I have similar problems but funnily only under Linux, not Windows. Hope they change that soon.
To me this has happened when I wronlgy installed javafx sdk 1.2.3....This plugin works only with 1.2.1... :/
Related
First time with JavaFx. To begin with, I've made sure that my version of Java is, indeed, Java 13: Screenshot:
And, I've followed all the directions on the JavaFx tutorials: https://openjfx.io/openjfx-docs/#introduction
I've spent so many hours on this issue. I found similar problems, but the closest "solution" to my problem assumed that the VM customization was put in verbatim, but I have made sure to use the correct path. I have tried the tutorials for both modular and non-modular applications. I have customized everything, for the project itself to Appearance and Behavior preferences. I downloaded the separate JavaFx 13 file from via Gluon and made sure I was able to access them (I have a Mac, so this required a security override).
I have gone so far as to uninstall all Java and JavaFx libraries from my computer and reinstalled them.
After trying what seems to be everything, I have the same error :(
Screenshot:
Otherwise, if I try to toggle some, I'll get the classic (but dreaded) result:
"Error occurred during initialization of boot layer
java.lang.module.FindException: Module JavaFxProject not found"
Does anybody have some insight into this? I'd love to find out it was a tiny bug that I could easily eliminate, even though I've already spent so many hours trying to solve this problem myself.
Thanks in advance.
When I copy/paste by Ctrl+C/Ctrl+V or typing code, my eclipse quite delay 3-4s to handle. Sometimes, it caused that my CPU has loaded 100%. I really need adivices for this issue.
it's maybe be a bit late for OP but i've experienced same behavior when using CTRL+C/CTRL+V (and CTRL+Space)
i've seen that ctlr may be used to perform hyperlinking. Then i mapped the hyperlinking modifier key to ALT (General-> Editors-> Text Editors -> Hyperlinking) and eclipse is not lagging anymore when i try using CTRL+C/CTRL+V
It is problem only in Eclipse? It is only sometimes or allways? Can be caused by other proces running like antivirus etc? Wich one eclipse are you using? Did you tried other version of eclipse? Im using Photon, after start up its take few sec to load stuff using ctrl+space bar, but after first one is ok.
I spent a lot of time googling, now I'll try it here. Some of you might know the "regions" available in Microsoft Visual Studio, which allow you to collaps an arbitrary part of your code to just a single line, more or less like
// [start] The text which will appear instead of the collapsed part
...
A bunch of lines of code
...
// [end]
In my opinion this is a really fine way to comment code, but it doesn't seem to be available for Java and Eclipse. However, there was a plugin for that ( click ) but it doesn't work with Eclipse Helios.
So here's my question: Do you know a way to achieve this kind of code folding in a current version of eclipse?
You can try this one - http://incubator.apache.org/isis/ide-support.html
It claims to be working on Eclipse 3.5, so there is a chance it will work on 3.6/3.7 (you will have to try).
Hope that helps!
I wonder, if there is an Eclipse plugin for code birdview (preview, visualization, minimap, however it may be called)? I mean, when you see your code in a small preview window and may scroll using this window. Wait, I'll show you...
Like this. (See the column, where the white rectangle is).
Here is "Overview" plugin from a deleted by a mod answer that provides a minimap view.
(I don't see a reason for deletion, it's exactly what OP asked for).
I saw this question again today, and found someone working on such a plugin on github. I have no idea how far progressed this project is, but it may be worth checking out:
https://github.com/apauzies/eclipse-minimap-view
Hope this helps!
Minimap is now present in Eclipse starting version 4.9
Official link to the feature
I need to know a couple things.
What is the terminology for the pop-up box shown in this Image? (Not the text, but the actual box itself) This is with Visual Studios.
alt text http://www.freeimagehosting.net/uploads/16060e2a55.png
I need to do a project in Java and I heard that Eclipse has this pop-up box, but I cant seem to find it. Does anyone know where this option is? I was hoping maybe finding out the terminology of the box will help me find the option easier.
Is there a better IDE for java than Eclipse with this box included?
Thank you for the help.
This is IntelliSense, it's activated automatically, but can be invoked manually using Ctrl+Space.
Yes, Eclipse does have this as well. Press Ctrl+Space to bring it up (I don't think Eclipse does it manually - it's been a couple of months since I last used Eclispe so I may be wrong).
You might want to look into IntelliJ IDEA or Netbeans (the former over the latter). IMHO, Eclipse is the most powerful and represents best value for money :-)