1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-22 16:56:16 +00:00

Compatibility to JAVA 1.7

This commit is contained in:
Fabian Schlenz 2016-07-05 07:55:53 +02:00
parent 1ce2562f5a
commit b3018ad10e

View File

@ -17,7 +17,7 @@ public class GUIController {
}
private void showAccountChooserDialog() {
JDialog accountChooser = new JDialog();
final JDialog accountChooser = new JDialog();
accountChooser.setTitle("Choose account");
accountChooser.setSize(400, 200);
JPanel vert = new JPanel();
@ -30,7 +30,7 @@ public class GUIController {
JPanel bottom = new JPanel(new GridLayout(1, 2));
JButton btnAddAccount = new JButton("Add account");
bottom.add(btnAddAccount);
JButton btnLogin = new JButton("Login");
final JButton btnLogin = new JButton("Login");
btnLogin.setEnabled(false);
bottom.add(btnLogin);
vert.add(bottom, BorderLayout.SOUTH);