Hi there and thanks for having a look at my question. I'm facing the following problem when developing swing applications in Eclipse: When I try to start a simple swing JFrame application (for example generated by a gui builder like window builder or from small examples out of my programming handbook) the program will run without any error but the JFrame won't by visible. Of course these examples make the JFrame visible at the end with
Framename.setVisible(true)
.
I think the problem is somewhere located in Eclipse because when I generate a runnable jar of this application in Eclipse and run it outside of Eclipse the JFrame will show up as expected. This behavior occurs with all examples I have tested yet. Do you have a tip for me how to solve this problem? Thanks in advance Richard.
--
Edit: I solved my problem by myself but I don't understand why this works: It seems that swing applications don't work, when they are inside a project which has referenced SWT/JFace libraries (1). As soon as I remove those references, or move the class to another project, the class is back working. Is there any good reason for this behavior?