Tagged Questions
6
votes
5answers
323 views
Anonymous Classes for Listeners
While working with Android GUI my approach to adding Listeners for GUI elements is usually:
Button helpBt = (Button) findViewById(R.id.help_button);
helpBt.setOnClickListener(new ...
2
votes
3answers
110 views
Readable code with many components (Swing)
Please help me to make more readable and simple code like this. What if I had 20 components? Is it right to organize code like this?
package newpackage.view;
import java.awt.GridLayout;
import ...
2
votes
0answers
609 views
Implementing a JtabbedPane with detached content pane
I'm working on answering Can I have a JTabbedPane with a JMenuBar?
I've written the Class TabOnlyTabbedPane which extends JTabbedPane so that it only displays the tabs of a JTabbedPane. Instead, when ...
0
votes
1answer
64 views
Code review for my (incredibly simple) chat room Swing GUI
world. I need somebody to review and polish my GUI code for my very very simple chat client. I haven't built any of the server sockets, so I'll do that later, but for now I just want people to tell me ...
0
votes
1answer
40 views
Code Review/corrections on my Create Account program
I just finished a program that is simple Swing GUI. It takes in User Info, such as password & username, turns them into strings, and puts them in a text file called nuserInfo.txt. I just want ...
-2
votes
0answers
18 views
How do I make this log-in program read the text in the text fields and use it as user login information? [closed]
Right now, I'm making a simple GUI log in screen that I can use in several of my programs. I'm a beginner Java programmer. I've managed to build a simple but enjoyable log in screen, but there's one ...