AsyncPanel
is a JPanel
aimed at components that potentially take a long time to initialize. It allows to deport their initialization in a separate thread as to not lock the event thread. It works as follows: java.awt.Window
, the window is repacked to take into account the new size of this panel.This panel tries to be as 'transparent' as possible for the target component: the borders of this panel are empty and its layout is a BorderLayout
where the target component is added to the center.
|
|
|
|