|
|
@ -8,9 +8,13 @@ import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.utils.gui.LayoutUtils; |
|
|
|
import com.fr.design.utils.gui.LayoutUtils; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
import javax.swing.JProgressBar; |
|
|
|
|
|
|
|
import javax.swing.SwingConstants; |
|
|
|
|
|
|
|
import javax.swing.SwingWorker; |
|
|
|
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
|
|
|
import java.awt.CardLayout; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
|
|
|
import java.awt.*; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @author richer |
|
|
|
* @author richer |
|
|
@ -23,6 +27,10 @@ public abstract class LoadingBasicPane extends BasicPane { |
|
|
|
private JProgressBar progressBar; |
|
|
|
private JProgressBar progressBar; |
|
|
|
public LoadingBasicPane() { |
|
|
|
public LoadingBasicPane() { |
|
|
|
initCards(); |
|
|
|
initCards(); |
|
|
|
|
|
|
|
initPane(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected void initPane(){ |
|
|
|
new SwingWorker<Integer, Void>() { |
|
|
|
new SwingWorker<Integer, Void>() { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -42,6 +50,7 @@ public abstract class LoadingBasicPane extends BasicPane { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void initCards() { |
|
|
|
private void initCards() { |
|
|
|
card = new CardLayout(); |
|
|
|
card = new CardLayout(); |
|
|
|
setLayout(card); |
|
|
|
setLayout(card); |
|
|
|