Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Purpose of component’s requestFocus method
Core Java
>>
Java Abstract Window Toolkit
Next Page »
Explain the purpose of component’s requestFocus method.
- The purpose of the requestFocus() is to get the focus on the particular component and also on the window that contains the component.
- Requests that the component gets the input focus.
Next Page »
Method of the Component class
Method of the Component class - The methods are: setMaximumSize(Dimension maximumSize) : Sets the maximum size of this component to a constant value...
What interface is extended by AWT event listeners?
What interface is extended by AWT event listeners? - The java.util.EventListener interface is extended by all the AWT event listeners...
What is paint method? What should we put in paint method?
What is paint method? - The AWT uses a Callback mechanism for painting which is the same for heavyweight and lightweight components...
Post your comment
Related Content
Core Java - Part 1
Core Java - Part 2
Core Java for Freshers
Core Java for Experienced
Java Classes
Java Variables
Overloading & Overriding
Abstract classes & interfaces
Java Data Types
Java Arrays
Java Exception
Java Events
Java Virtual Machine
Java Input and Output
Java URL Connections
Java Sockets
JNDI
Applets
Java Abstract Window Toolkit
Java Drawing AWT components
JDBC - Part 1
JDBC - Part 2
Java Threading
Java multithreading
Javascript - Part 1
Javascript - Part 2
Java Design Patterns
Java Localization
Core Java Tutorial
Follow us
CareerRide on YOUTUBE
CareerRide on INSTAGRAM
MCQs
English
Tutorials
Download
▲