What are the methods of components class in Java Swing?

Commonly used Methods of Component class MethodDescriptionpublic void add(Component c)add a component on another component.public void setSize(int width,int height)sets size of the component.public void setLayout(LayoutManager m)sets the layout manager for the component.Java Swing Tutorial – javatpoint www.javatpoint.com › java-swing

Sizin İçin Seçtik  Which is better mmWave or sub6?

Leave a Reply

Your email address will not be published. Required fields are marked *

What are the methods of components class in Java Swing?

Commonly used Methods of Component class MethodDescriptionpublic void add(Component c)add a component on another component.public void setSize(int width,int height)sets size of the component.public void setLayout(LayoutManager m)sets the layout manager for the component.Java Swing Tutorial – javatpoint www.javatpoint.com › java-swing

Sizin İçin Seçtik  TC NO ne zaman zorunlu oldu?

Leave a Reply

Your email address will not be published. Required fields are marked *