Solved

Java Peer Class

Posted on 1998-12-13
1
433 Views
Last Modified: 2010-05-18
Hi,
can i know what is JAVA Peer class?,what is the use of this?
0
Comment
Question by:senthil_krn
1 Comment
 
LVL 16

Accepted Solution

by:
heyhey_ earned 20 total points
ID: 1229454
java.awt.* are the standard java UI components. but they can't be written entirely in Java language - they need some platform support (fro example zipping/ unzipping of a stream can be done in pure Java). so all java.awt.* components has some native stuff behind them - that is their peers
java.awt.peer.* package contains some definitions, of some native written classes.
most of the time you don't work with peers, you don't see them, you don't think of them ... only if you are planning to make your own Java VM for some platform, you'll have to implement the native peer classes it your platform native language (they use a lot of low-level system resources ...). all other classes (java.awt.* / java.io.* / ....) should be standard .
 
hope this helps you
 heyhey
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now