Solved

Java Peer Class

Posted on 1998-12-13
1
462 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

728 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