mirror of
https://github.com/Wisser/Jailer.git
synced 2026-05-02 19:39:36 -05:00
catch excpt.
This commit is contained in:
@@ -2259,11 +2259,15 @@ public class UIUtil {
|
||||
if (UIManager.get("InternalFrame:InternalFrameTitlePane[Enabled].textForeground") instanceof Color) {
|
||||
UIManager.put("InternalFrame:InternalFrameTitlePane[Enabled].textForeground", Color.BLUE);
|
||||
}
|
||||
UIManager.put("TitledBorder.border", new BorderUIResource((Border) UIManager.get("TitledBorder.border")) {
|
||||
public Insets getBorderInsets(Component c) {
|
||||
return new Insets(4, 4, 6, 4);
|
||||
}
|
||||
});
|
||||
try {
|
||||
UIManager.put("TitledBorder.border", new BorderUIResource((Border) UIManager.get("TitledBorder.border")) {
|
||||
public Insets getBorderInsets(Component c) {
|
||||
return new Insets(4, 4, 6, 4);
|
||||
}
|
||||
});
|
||||
} catch (Exception x) {
|
||||
// ignore
|
||||
}
|
||||
} catch (Exception x) {
|
||||
UIUtil.showException(null, "Error", x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user