Solved

Java Peer Class

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 95
map related example 6 47
MySQL  on Tomcat 8 43
Java: How do I open the default windows program for a given file type 3 28
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

786 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