i want to use a card layout in my appication, using this or any layoutManager can i paint directly to the screen or do i have to paint onto a component such as canvas??
You have to specify a component for which the layout manger will 'manage' the components. As far as I am aware they cannot function in their own right until they are associated with a container or component. Therefore you need to repaint the container/component and not the manager.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.