|
Curry Francis wrote: executive binary files. Only available to management then. 
|
|
|
|
|
Yeah, true. But he didn't mentioned what exactly he wants from it, so.. 
|
|
|
|
|
I guess we need an irony emoji.
|
|
|
|
|
You could roll your own using exactly the same mechanism.
All it does is put the java jars and the VM into a binary for the target platform. When it is executed it starts the VM and feeds the jars to it.
|
|
|
|
|
I want to iterate through the Controls on a form using a For loop to find the JLists then create an array of the selected items on certain JLists by JList name hopefully
In vb I would do something like:
For each ctrl in me.controls
if ctrl.name="abc" then
[do something]
end if
Next
|
|
|
|
|
|
Thanks, was simpler than I thought.
Had tried searching, just should have thought a bit more about what i was searching for, it was a long night.
|
|
|
|
|
Given your question, what else could you search for?
|
|
|
|
|
hi,
i'm an experienced C++ , C# and Python programmer. Now i'm thinking of learning java (i know the basics though).
But i'm wondering what will be the use of that... i know Java is pretty popular, but it cannot run without JRE (i.e. it does not support standalone executables) and the source code is also visible (even you can extract the .jar files and view the source code).I'm also an opengl programmer (with C++), and i've seen some opengl game tutorials with java, so the question arises that where those games will be played.. ive never seen a game with .jar executable.Im also known to the popular SWING toolkit, but where are those SWING apps used, i've never seen one. So i want to know the main purpose of learning java. And i've also got my environment ready with JDK and eclipse. 
|
|
|
|
|
Ratul Thakur wrote: So i want to know the main purpose of learning java. The same purpose as learning any language: to develop applications. Whether for your own amusement, or as a requirement of your employment, is up to you to choose.
|
|
|
|
|
no no... i dont need employement im just 15,
i mean ... .... well... i want to know that if i create a GUI app on swing, where will that be used?? ..ive never seen a commercial app developed in swing, neither a 3D opengl game in the .jar file format. Or is there a way to make platform specific binary executables??
Thanks for your help!
|
|
|
|
|
Ratul Thakur wrote: if i create a GUI app on swing, where will that be used? Anywhere that you can get people to use it.
Ratul Thakur wrote: is there a way to make platform specific binary executables? No need, java is write once, run anywhere.
|
|
|
|
|
thanks mate, i searched google... and i think my main purpose of learning java is going to be android developement
getting started now!! ive got a pdf from tutorialspoint.com .
|
|
|
|
|
|
Most platforms have the JVM installed, so it's not necessary to make an executable. You can make a standalone executable if you want, but you will loose Java's portability.
Releated stack overflow question.
Instead of Swing you should the newer GUI library, JavaFX. As far as games go, LWJGL is used for making games in Java. Minecraft was originally written in Java.
|
|
|
|
|
thanks
i've completed half of the book on java programming.... and i find this language great. And then i'm planning to learn JavaFX and then probably OpenGL with java for android developement.
|
|
|
|
|
These are the reasons that I personally came up with:
Java has a very rich API, and an incredible supporting open source ecosystem. There are tools upon tools for just about everything you would like to do.
Java is an Object Oriented language. It internally embraces best practices of object oriented design.
The IDEs available for Java will blow your mind.
Java is running just about everywhere you can imagine. It’s usually where most large applications end up due to its scalability, stability, and maintainability.
All Android Apps are written in Java.
Java is a verbose language, which at first can seem daunting. However, after learning the basics you’ll find that you can easily grab onto more advanced concepts because the code is very explicit.
Hope it will help you!
|
|
|
|
|
Kimberly Weldon wrote: All Android Apps are written in Java. Not true, many are now written in C, C++, C# etc.
|
|
|
|
|
who will prefer C++ over java if both languages are gonna give the same result?! 
|
|
|
|
|
Probably all those people who have not learned Java and do not want to start now.
|
|
|
|
|
i've completed 60% of the book by now.... its syntax it quite similar to C#
and netbeans is blowing my mind
..i recently found out that it was written in java...
but the newer versions of visual studio are way better than it.
|
|
|
|
|
|
Hi guys I gave up on this code ! trying figure out how if condition became true ! since
i never will be greater than
j
public static void main(String[] args){
int a[]={4,2,7};
for(int i=0; i< a.length ;i++) {
for(int j=i; j< a.length ;j++) {
if (a[i]>a[j]){
System.out.print("condition is match ");
}
}
}
}
i start with 0
j start with 0
j became 1
j became 2
i became 1
j start with 1
j became 2
i became 2
j start with 2
I got confuse ,
modified 20-Jun-16 13:57pm.
|
|
|
|
|
You're not comparing i to j ; you're comparing a[i] to a[j] .
Look at what happens when i = 0 and j = 1 :
a[i] == 4
a[j] == 2
a[i] > a[j]
=== 4 > 2
=== true
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Thank you Richard for your replay in fact, this is my question how on the second loop j start with 1 ? should start with 0 since j always j=i ; and i start with 0 , then j will be 0 so a[i] will be 4 and a[j] will be 4 ?
for(int i=0; i< a.length ;i++) {
for(int j=i; j< a.length ;j++) {
modified 20-Jun-16 14:16pm.
|
|
|
|