Solved

Java Peer Class

Posted on 1998-12-13
1
452 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Eclipse Java import and method not resolved 4 76
Fast way to search item into Java Array (Rhino compatible) 2 38
hashmap order 17 40
program arguments vs VM arguments 4 28
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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

749 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