* fine-tune for Ubuntu USC
This commit is contained in:
parent
e08fd8799b
commit
fc51582f21
|
@ -84,7 +84,7 @@ public class MainFrame extends JFrame {
|
|||
headerPanel.getTitleLabel().setBorder(new EmptyBorder(8, 90, 10, 0));
|
||||
|
||||
JComponent c = (JComponent) getContentPane();
|
||||
c.setLayout(new MigLayout("insets 0, fill, hidemode 3", "95px[fill]", "fill"));
|
||||
c.setLayout(new MigLayout("insets 0, fill, hidemode 3", String.format("%dx[fill]", isUbuntuApp() ? 115 : 95), "fill"));
|
||||
|
||||
c.add(selectionListScrollPane, "pos 6px 10px n 100%-12px");
|
||||
c.add(headerPanel, "growx, dock north");
|
||||
|
|
|
@ -33,7 +33,7 @@ public abstract class TransferablePolicy {
|
|||
// just assume that the transferable will be accepted, accept will be called in importData again anyway
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Logger.getLogger(getClass().getName()).log(Level.WARNING, e.toString());
|
||||
Logger.getLogger(getClass().getName()).log(Level.WARNING, e.toString(), e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue