![]() The following picture shows a colored version of the Converter application, which is discussed in more detail in Using Models. A transparent panel draws no background, so that any components underneath show through. You can change a panel's transparency by invoking the setOpaque method. ![]() ![]() Opaque panels work well as content panes and can help with painting efficiently, as described in In many types of look and feel, panels are opaque by default. By default, panels do not add colors to anything except their own background however, you can easily add borders to them and otherwise customize their painting. JPanel class provides general-purpose containers for lightweight components. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |