The SetLayout() method is bassically used to specify a container's layout.
All IT and Non IT Interview Questions, MCQs, Online Quiz Questions, Engineering VIVA Questions
Home » All posts
Tuesday, 14 February 2012
Why does JComponent class have add() and remove() methods but Component class does not? | Core Java
JComponent is a subclass of Container and can contain other components and JComponents.
What is difference between Swing and JSF? | Core Java
Many diff are there which is folowing here :
- The key difference is that JSF runs on server, It needs a server like Tomcat or WebLogic or WebSphere. It displays HTML to the client. But Swing program is a stand alone application.
What does Realized mean? | Core Java
Realized mean bassically is component, Which has been painted on screen or that is ready to be painted. Realization can take place by invoking any of these methods. Which are following as :
- SetVisible(true),
- Show() or
- Pack().
What is the default layout for a ContentPane in JFC? | Core Java
The Defaulf Layout for the ConteutPane in JFC is that :
- BorderLayout.
What are invisible components? | Core Java
Invisible components are bassically light weight components, Which is perform no painting, but can take space in the GUI. This is mainly used for layout management.
Subscribe to:
Posts (Atom)