• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

Java Peer Class

Hi,
can i know what is JAVA Peer class?,what is the use of this?
0
senthil_krn
Asked:
senthil_krn
1 Solution
 
heyhey_Commented:
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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now