How was the prebuilt objects in java created? [closed] - java

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am trying to figure out how they created all of the methods in java, because w/o these objects we wouldn't be able to do much. If there is any website you could link me, it would be much appreciated. & sorry if i am off topic.

http://grepcode.com/snapshot/repository.grepcode.com/java/root/jdk/openjdk/7-b147/
Here you can see the source code for all the standard library. For example, the String class:
http://grepcode.com/file_/repository.grepcode.com/java/root/jdk/openjdk/7-b147/java/lang/String.java/?v=source
I think the entire source for the standard lib also comes with the JDK, in some folder somewhere, but I don't remember.
Of course the standard library is not all that makes java, because you also have the JVM. But since you're talking about objects, I guess that's what you want.

Related

User interface in Java doubts [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have to create a user interface in Java, I asked in another forum for some recommendations and somebody answered me, at that moment, few people write GUI application in JAVA, its most used .NET, could somebody help me?.
Thanks
Maria
The way with java gui is to use javaFx. For that you'll need java 8 (no other lib is needed). This is easier to use as Swing or AWT before. Also its fancier by default.
Although its somehow not new to the community(2 years), there can be some pitfalls you will run into. By now i don't see a better solution. If you need more native "look and feel" you can use the platform dependent swt which is somehow old, proofed but harder to use.
http://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm

I'm new to java programming and I am trying to use Java docs but I am completely lost [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
This may sound really silly but there is a whole documentation of the libraries and classes in java and I am trying to learn how to use this to write programs since I don't want to refer to someone else code but I was completlely lost when I look at the documentation online: http://docs.oracle.com/javase/7/docs/api/
Can someone please help me understand how i can use this?
I think you need to go up one level and look at tutorials first: http://docs.oracle.com/javase/tutorial/. Once you understand the basics of Java, then you can use the API reference to find the classes and methods you need.

How installing Java Agent? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I would like to know how to use java agent and how to install java agent.
I handle for the first time java agent.
So they are not familiar.
So please explain in detail.
Presuming that you actually mean agents as in instrumentation, check this tutorial:
http://www.javabeat.net/introduction-to-java-agents/
it will give you a quick start in writing your first agents and set up everything you need to get started.
Just on a side note: if you want specific, detailed answers, ask specific, detailed questions.

How would I run my code without revealing it to the user? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have been working on Java and I am wondering how could I restrict people from accessing my code?
Is user-authorizing all classes (except driver) good enough? Or am I required to take further steps?
Any help would be appreciated.
Thank you.
Some of the more advanced Java bytecode obfuscators do much more than just class name mangling. Zelix KlassMaster, for example, can also scramble your code flow in a way that makes it really hard to follow and works as an excellent code optimizer...
Also many of the obfuscators are also able to scramble your string constants and remove unused code.
Another possible solution (not necessarily excluding the obfuscation) is to use encrypted JAR files and a custom classloader that does the decryption (preferably using native runtime library).

Listing of functions in java [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
am new to the java world and am having troubles in remembering the function names in various imports. So is there a way to open an import file and see all functions within it ?
basically what I need is the syntax.
The Java documentation is probably what you're looking for.
The frame on the left lists all the classes, and when you select one the main frame will list all of the functions, their parameters, and return values.
As #DanielGibbs stated, the Javadoc should be bookmarked so you can have it handy when you have a question.
But also if you use an IDE like IntelliJIDEA or Eclipse, you should also be able to find the Javadoc through some means like hovering over a class/method or with a Control-Click.

Categories

Resources