Java component class

Ads

 
 

Share on Google+Share on Google+

samar
Java component class
1 Answer(s)      7 years ago
Posted in : Java Interview Questions
Which method of the Component class is used to set the position and size of a component?
Ads
View Answers

October 27, 2010 at 1:05 PM


Hi,

Here is the answer.

setBounds() Method of the Component class is used to set the position and size of a component.

Thanks.


Ads









Related Tutorials/Questions & Answers:
Java component class
Java component class  Which method of the Component class is used to set the position and size of a component
Java component
Java component  What is the preferred size of a component
Advertisements
Component gui - Java Beginners
Component gui  Can you give me an example of Dialog in java Graphical... class DialogPaneDemo { public static void main(String[] args...://www.roseindia.net/java/example/java/swing/ Thanks
Container or Component - Java Beginners
about the realtionship between Components and Containers in Java GUI? 1) a component is a subclass of a container which means any container can hold a component 2) a component is allowed to hold other components including containers. 3
JSlider Component of Java Swing
JSlider Component of Java Swing     ... component of Java Swing. A Slider is a Swing tool which you can use for selecting.... In this program, events on the JSlider component have also been shown. If you increase
Java class
Java class  What is the purpose of the Runtime class
java class
java class  write a java program to display a msg "window closing" when the user attempts to close the window.(a) create a window class (b) create frame within the window class (c) extends window adapter class to display the msg
java class
java class  please send me the answer of the question which i have send according of java class assoon as possible . Write a java program to display.... a. Create a window class. b. Create frame within the window class. c. Extend
Create a JComboBox Component in Java
Create a JComboBox Component in Java   ... Component of swing in java. The JComboBox is used to display drop-down list...(Color) and setForeground(Color) method of the JComboBox class. When you select
Making a component drag gable in java
Making a Component Draggable in Java   ... be the swing component. This class is helpful to copy from one component... of the TransferHandler class which makes the component able to transfer the specified part
Version of com.craterdog.maven-parent-poms>java-component dependency
List of Version of com.craterdog.maven-parent-poms>java-component dependency
Create a JSpinner Component in Java
Create a JSpinner Component in Java   ... a JSpinner component of swing. The JSpinner provides the up-down arrow buttons which... an appropriate JSpinner component on the frame. The following figure shows
java class - Java Beginners
java class  How to run a java class(Mail.java) automatically in tomcat server for a particular time
How to add icons on a button or any component in java - Java Beginners
How to add icons on a button or any component in java  How to add icons on a button or any component in java?  Hi, import javax.swing.*; import java.awt.*; public class IconButtonDemo{ public static void
Maven Dependency java-component >> 3.12
You should include the dependency code given in this page to add Maven Dependency of com.craterdog.maven-parent-poms >> java-component version3.12 in your project
Maven Dependency java-component >> 3.17
You should include the dependency code given in this page to add Maven Dependency of com.craterdog.maven-parent-poms >> java-component version3.17 in your project
Java Class Size
Java Class Size  How to determine size of java class
Create a JList Component in Java
Create a JList Component in Java   ... items. This class extends the JComponent class in java swing. There has been... component of swing. JList is a component of GUI. It provides the multiple items
Java inner class and static nested class
Java inner class and static nested class  Java inner class and static nested class
Java inner class
Java inner class  What are inner class and anonymous class
class method in java
class method in java  How to write a class method in Java?   You must read Java - Class, Object and Methods in Java
Java adapter class
Java adapter class  What is adapter class
Java dictionary class
Java dictionary class  What is the Dictionary class
Example of HashMap class in java
Example of HashMap class in java. The HashMap is a class in java collection framwork. It stores values in the form of key/value pair. It is not synchronized
Java class file
Java class file  How do i open a java class file using eclipse
converting java class to java fx class
converting java class to java fx class   i am working on a java project which would convert text to speech and speech to text. i have developed a java file that would work for text to speech. it is working fine as a .java file
component creation - Java Server Faces Questions
component creation  Hi, How to create components in JSF. I need a table component,i want to use this component in morethan 2 forms. Give me solution. Thanks in advance.   Hi friend, I am sending you a link
java class - Java Beginners
java class  Define a class product with the following data members 1.Product number int(Auto generated) 2.Product name char [20] 3.Price float... program to execute the above class ad functions for 5 products
Java System class
Java System class  What is the purpose of the System class
abstact class - Java Beginners
abstact class  write a java program to implement an animal abstact class
Java math class
Java math class  Can you instantiate the Math class