Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine grouped GUI elements on/off under single control #23

Open
ongzexuan opened this issue Jul 17, 2013 · 4 comments
Open

Combine grouped GUI elements on/off under single control #23

ongzexuan opened this issue Jul 17, 2013 · 4 comments
Milestone

Comments

@ongzexuan
Copy link
Member

in LoginListener, actionPerformed, try

comboBox.setEnabled(true);
btnSelectFolder.setEnabled(true);
btnSelectFiles.setEnabled(true);

Combine all under another method to not lose track of important elements

@kenlimmj
Copy link
Member

I'm also seeing that after I type in my password, hitting the enter button does not cause the form to submit. Not sure if this constitutes a separate issue, or if it's arising from the fact that the elements are not grouped (which is the case for some other languages)

@yichenshen
Copy link
Member

Nope, it's just that the Login button isn't focused. There's no support for grouping textfields and buttons as far as i'm aware.

@linanqiu
Copy link
Member

Unfortunately, Java GUI is ugly. Or maybe I'm too noob. Or both. Can we bear with that?

@kenlimmj
Copy link
Member

Suggestion:

Capture the username and password via a dialog box during program start, rather than at the top of the program. This is actually a better behaviour. That way you can also have a listener run for the enter key within the dialog box, so if I hit enter it automatically goes over to login behaviour?

@kenlimmj kenlimmj reopened this Jul 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants