I've developed a small app for someone.
I'm on windows, he's on a Mac.
He now tells me that in the "about" section he can see the package name I used.
I do not know how to access this menu on windows, he tells me it's right next to the apple button.
I used a nondescript name for the package, and he thinks it's ugly.
So...where would I find the settings for that in Eclipse?
I'll edit the question if it's too unclear...
But right now it shows something like com.foo.bar.etc
Stuff like that.
This is the default behaviour when you create a Java application and run it on MacOS. Give Macify a look - it allows you to integrate your Java app nicely with macos without breaking platform compatibility.
Related
I am continue trying to solve the error
I added Java EE on my eclipse after that I Can't see the option 'Dynamic Web Project'.And I can't also see the option Server.
here i am just watching red box mark on server tab
Red Box icon is showing here before Java EE. I am not understanding what the mess it is
I tried all the methods for this subject but didn't get the output.
Discard whatever type/version of Eclipse you have installed and download the following one:
https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2020-06/R/eclipse-jee-2020-06-R-win32-x86_64.zip
Note that Eclipse comes for various programming/modelling langauges and it looks like either you have selected a wrong type or an outdated version.
I made a java program, exported it from Ecplise as a runnable jar, and then used an app called "Launch4j" to wrap it with an icon into a .exe
This picture shows another app I have on the left. It has 2 instances open and you can see they overlap on the taskbar. My app is the little house, and the two java icons on the right are 2 instances of my app. How can I make my app overlap on the original icon like the other app?
Edit:
Additionally, in task manager, my app opens as "Java(TM) Platform SE Binary" instead of the .exe file as you can see eclipse does.
Thanks!
I'm guessing that windows uses the AppId to determine what buttons to stack on the taskbar.
So you would need to tell windows the AppId, which I don't think is very easy with Launch4j.
Instead you might try Inno Setup, here's a good answer explaining the differences.
Inno Setup should include examples which tell you how to specify your AppId among other things.
I'm struggling with specifying which one of the many java installations on my Windows 7 machine would be used by the Internet Explorer for (1) running applete as well as (2) for Java web start.
For example, I am going to that Java-View tab in Java Control Panel, change the checkbox there, then make Java Console visible in the advanced tab and then find from the Console header that not always Java which is checked in the Java-View is actually executing applets in my browser.
In Java Control Panel Java-View along with the "User" tab, there is also a "System" tab.
One usually cannot change anything there, but what does that mean, and does it play any role?
In Java Control Panel Advanced tab you see "Default Java for browsers" checkboxes.
Why Microsoft Internet Explorer checkbox there is always checked and always grayed out?
Is this checkbox important or is it Java-View tab screen, which actually affects IE operations?
Also in jre/bin folder of each java instalation I see javacpl.exe file and can execute each of them, but only one of them, I guess, appears in actual computer Control Panel. How do you determine, which of them is really shown and can be executed through my computer Control Panel? Does it make sense to do anything with alternative javacpl.exe executables - will their execution affect my IE java-related functionality.
Basically, I'm in total confusion of how this mechanism works, and wwould very much appreciate if someone could give some clarification on at least some part of the above questions. And I'm mostly talking here about Java 1.6 and Java 1.7, I guess it would be even more difficult if we try to cover in this question also older java versions.
Thanks a lot for any help on this subject.
Regarding your first question
" which one of the many java installations on my Windows 7 machine would be used by the Internet Explorer for (1) running applete as well as (2) for Java web start."
This can be tested by making your applets contain Java 7 features like "Diamond Operator". Compile it by jdk 1.7 and then try to run in browser, if it runs then your browser is using 1.7 else 1.6.
Second ques -
"In Java Control Panel Java-View along with the "User" tab, there is also a "System" tab. One usually cannot change anything there, but what does that mean, and does it play any role?"
Answer- This is my guess that system tab will contain that option which is configured in JAVA_HOME environment variable OR it can that jdk which was installed more recently installed. Because offcourse default can be only one and not two.
Third question -
"In Java Control Panel Advanced tab you see "Default Java for browsers" checkboxes. Why Microsoft Internet Explorer checkbox there is always checked and always grayed out? Is this checkbox important or is it Java-View tab screen, which actually affects IE operations?"
Answer - The option is grayed out because the option is already chosen for you and you need not specify that.
Hope that helps.
I got a fairly simple question, but I cannot find anything that helps.
I am building an Eclipse RCP application which does NOT have to be localized in different languages. In fact: I want it to just offer an English UI.
So, all my views, editors, menus are nicely only displayed in English the way I want it.
BUT: I use property views and other stuff coming from given Eclipse plugins - and all of them are using my system's language (which is German). My UI now looks totally awkward with mixed languages that I simply don't want.
So, my question is not how to properly internationalize an application, but rather NOT to have it display anything but English, no matter what the system is it's running on.
Should be, easy, shouldn't it?
I tried setting default locale with this:
Locale.setDefault(Locale.ENGLISH);
in the Application class start method, but that does not help at all. Why? Where does it get the language from?
Thanks for your help!
you can look at following runtime options to configure eclipse platform.
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html
osgi.nl is an option to run platform with desired locale.
Go to your .product file in the launching tab. In the 'launching arguments' part put in the 'All platforms tab' :
-nl en
Don't forget to export the product before testing. If you want to launch your app using Eclipse, put the previous line to your 'Run configuration' in the 'Arguments' tab
I'm building a Java application using NetBeans 7.0. The app is intended for use on Windows, so I guess the tool I'm really making most use of is Java Swing (for the cool, nifty screen elements).
My question relates to NetBeans' process of creating the various project types. The application I'm building is based on the "Java Desktop Application" template (?). My problem is that there seems to be a nice load of bloat built into that, and I can't figure out how to remove most of it without blowing up the app.
As a test, I created a "Java Application"project, but this has the opposite problem -- there's absolutely nothing built into the code, and I can figure out how to add anything. Specifically, a Java Desktop Application project created in NetBeans give me the ability to directly edit the screen layout like in Visual Studio. However, a Java Application does not appear to have this capability, I have no idea how (or even if) this can be addressed.
If I could start with a no-frills Java application, and add some capability to edit its layout and control the function of the screen elements (i.e. make it a windows application, I think), that would be just about perfect.
Does anybody have a suggestion for a minimal, but functional NetBeans application start point??
Thanks,
R.
If you start with a plain Java Application then as you realize you start with a bare bones type application. To add a GUI you can add New>JFRame Form. It adds a class that extends JFrame and Netbeans will recognize that it should open it in the visual editor for you.