Java AWT

Java AWT

What is the relationship between the Canvas class and the Graphics class?
View Answers

October 28, 2010 at 10:44 AM

Hi,

Here is the answer.

Canvas object provides access to a Graphics object via its paint() method.

Thanks.









Related Tutorials/Questions & Answers:
awt in java
awt in java  using awt in java gui programming how to false the maximization property of a frame
Java AWT
Java AWT  What interface is extended by AWT event listeners
Advertisements
Java AWT
Java AWT  What is meant by controls and what are different types of controls in AWT
JAVA AWT BASE PROJECT
JAVA AWT BASE PROJECT  suggest meaningful java AWT-base project
java awt calender
java awt calender  java awt code for calender to include beside a textfield
Java AWT event hierarchy
Java AWT event hierarchy  What class is the top of the AWT event hierarchy?  The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy
awt
Java AWT Applet example  how to display data using JDBC in awt/applet
java - Swing AWT
What is Java Swing AWT  What is Java Swing AWT
awt - Java Interview Questions
awt  what is the difference between awt and swings  Hi friend, These are basically the main differences between awt and swing. 1.swing components sits on the top of AWT components and do the wiork. 2.AWT
Java AWT
Java AWT  What is the relationship between the Canvas class and the Graphics class
Java AWT
Java AWT  How can the Checkbox class be used to create a radio button
Java Swings-awt - Swing AWT
Java Swings-awt  Hi, Thanks for posting the Answer... I need to design a tool Bar which looks like a Formating toolbar in MS-Office Winword(Standard & Formating) tool Bar. Please help me... Thanks in Advance
java awt package tutorial
Java AWT Package In Java, Abstract Window Toolkit(AWT) is a platform independent widget toolkit for windowing, graphics, and user-interface. As the Java programming language, the AWT is also platform-independent. A common set
Awt programming with java
Awt programming with java  Write a java program, which provides a text area with horizontal and vertical scrollbar.Type some lines in the text area and use scrollbars to move the text within the text area.Read a word in a text
AWT
AWT  How to set size of button in awt
awt
JDBC and AWT to display data  how to display data using JDBC in awt/applet
awt
JDBC in awt applet  how to display data using JDBC in awt/applet
date and time in awt(java)
date and time in awt(java)  sir, do you have an example of date in awt java which can be view over a textfield.   Display time in JTextField import java.util.*; import javax.swing.*; import java.awt.event.*; public
awt
JDBC in awt  how to display data using JDBC in awt/applet
java - Swing AWT
information, http://www.roseindia.net/java/example/java/awt/ Thanks...java  i want a program that accepts string from user in textfield1 and prints same string in textfield2 in awt   hi, import java.awt.
java awt components - Java Beginners
java awt components  how to make the the button being active at a time..? ie two or more buttons gets activated by click at a time
Java Dialogs - Swing AWT
/springlayout.html http://www.roseindia.net/java/example/java/awt/borderlayout-example...Java Dialogs  a) I wish to design a frame whose layout mimics...: Java Applet Demo Thanks  Hi Friend, a)Please
What is AWT in java
What is AWT in java In this Example we will describe awt in java. The awt in java stands for Abstract Windowing Toolkit and is a package... in java full tutorials We have described Interface and Description of AWT Package
Java AWT Package Example
Java AWT Package Example       In this section you will learn about the AWT package of the Java... as Abstract Window Toolkit (AWT).   What is AWT in java
java-awt - Java Beginners
java-awt  how to include picture stored on my machine to a java frame? when i tried to include the path of the file it is showing error. i have... information, http://www.roseindia.net/java/ Thanks
java - Swing AWT
java  How can my java program run a non-java application. Will it be possible to invoke a gui application using java
Java Program - Swing AWT
Java Program  A Java Program that display image on ImageIcon after selecting an image from the JFileChooser
Java Program - Swing AWT
Java Program  A Java Program to send message from one computer to another
Java - Swing AWT
Java    Hi friend,read for more information,http://www.roseindia.net/java/example/java/swing
Java Program - Swing AWT
Java Program  A java Program that send message from one computer to another and what are the requirements
java - Swing AWT
java   Write Snake Game using Swings
Java - Swing AWT
Java  Hello friends, I am developing an desktop application in java & I want to change the default java's symbol on the top & put my own symbol there.. Can Anyone help me
Java Program - Swing AWT
Java Program  A program to create a simple game using swings.  Hi Friend, Please visit the following link: http://www.roseindia.net/tutorial/java/swing/guessNumber.html Thanks
Java Code - Swing AWT
Java Code  Write a Program using Swings to Display JFileChooser that Display the Naem of Selected File and Also opens that File
java - Swing AWT
java  how to use JTray in java give the answer with demonstration or example please
java swings - Swing AWT
java swings  I am doing a project for my company. I need a to show... write the code for bar charts using java swings.  Hi friend, I am.... http://www.roseindia.net/java/example/java/swing/draw-simple-bar
java - Swing AWT
java    while inserting in data in text field and click the jButton and save the data in sql 2005
Java - Swing AWT
How to start learning Java   I am a Java Beginner ...so, please guide me how to start
Java Code - Swing AWT
Java Code  How to Make an application by using Swings JMenuBar and other components for drawing various categories of Charts(Line,Bar etc
java swings - Swing AWT
java swings  hi everyone, can we make a chain of frames with JSplitpane and run a shell script in any one of those frames
java programming - Swing AWT
java programming  Develop a simple paint like program that can draw basic graphical primitives in different dimensions and colors. use appropriate menus and buttons
java - Swing AWT
java  i need to set the popup calender button in table column&also set the date in the same table column using core java-swing
java swing - Swing AWT
java swing   Iam developing a java web browser.Actually my code works fine ie. i can load a web page without proxy.But in my place i have only proxy... a proxy or how to make my java web browser to listen to proxy setting??? please help
java - Swing AWT
Java Implementing Swing with Servlet  How can i implement the swing with servlet in Java? Can anyone give an Example??   Implementing... { JFrame frame = new JFrame("Frame in Java Swing"); frame.setSize(400, 400
java swing - Swing AWT
java swing  how i can insert multiple cive me exampleolumn and row in one JList in swing?plz g  Hi Friend, Please clarify your question. Thanks
Reports in java - Swing AWT
How to create Reports in Java  How to create reports in java. The report should come from the access It should be displayed in the JTable and should be updated automatically when the user is saved a record in the JTable
java swing - Swing AWT
java swing  how to add image in JPanel in Swing?  Hi Friend, Try the following code: import java.awt.*; import java.awt.image....: http://www.roseindia.net/java/example/java/swing/ Thanks
java - Swing AWT
java  hello sir.. i want to start the project of chat server in java please help me out how to start it?? urgently....  Hi friend, To solve problem to visit this link....... http://www.roseindia.net
java-swings - Swing AWT
java-swings  How to move JLabel using Mouse? Here the problem is i have a set of labels in a panel. I want to arrange them in a customized order...://www.roseindia.net/java/example/java/swing/ Thanks. Amardeep
java code - Swing AWT
java code  Imagine you need to open a standard combination dial lock but don't know the combination and don't have a pair of bolt cutters. I need to write a Java program that prints all possible combinations so you can print them

Ads