* fine-tune for Ubuntu USC

This commit is contained in:
Reinhard Pointner 2015-03-25 10:14:18 +00:00
parent e08fd8799b
commit fc51582f21
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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;
}
}