Fix ScrenPanel first repainting if server blocks.
This commit is contained in:
@@ -100,8 +100,9 @@ public class ScreenPanelSLS extends Panel implements CamServerViewer.CamServerVi
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
repaint(); //Even if invoked, ServerViewer.initialize can block first painting if server is not reachable.
|
||||
try {
|
||||
SwingUtilities.invokeLater(()->{
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user