1
vote
0answers
57 views

Need some advice how to proceed with my project

I have set up a basic MVC project which should be a student administration application based upon a CSV file as datastore. Each user has a specific role (student, lecturer, professor, leader of degree ...
2
votes
1answer
32 views

Applying DocumentListener on multiple JTextField

Say I have 5 JTextField: jTextField1, jTextField2... Now I want them to behave the same on DocumentListener, so I decided to make only one DocumentListener and set it to the 5 components. Meanwhile ...
1
vote
1answer
70 views

Some feedback on first attempt to write Java MVC app

I'm writing my first Java MVC application which should be a desktop student administration application with a swing gui. DAO is already implemented: Need some feedback - student administration ...
0
votes
1answer
71 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
42 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 ...
3
votes
0answers
59 views

Java/Swing GUI code/layout, am I doing this wrong?

I've never done Java GUI's before. After much trouble I've gotten my GUI to look how I want, however it feels as if my code is very inefficient, as if I'm going about this the wrong way? //main ...
0
votes
1answer
61 views

how do I encapsulate this List<Message> properly?

I know that Swing isn't true MVC: Using this modified MVC helps to more completely decouple the model from the view. Leaving aside the veracity of the above claim, the problem I run into is ...
1
vote
1answer
139 views

How to update my Swing JTable dynamically. MVC Pattern

I have created a program using a version of MVC architecture. The purpose of the code is to scrape the h1 titles of a list of webpages and to return the results to a JTable. So far I have the ...
2
votes
1answer
79 views

Design Pattern for Swing application

I have a Swing application with no real design pattern. I want to start learning to design Swing or any types of application properly. Here is the main JFrame class. import java.awt.Component; ...
-1
votes
1answer
98 views

design classes for a JAVA swing application [closed]

I am very new in making JAVA swing applications.. My problem statement is to make a library management application,for which i designed classes as below. Please tell me whether my design of classes ...
0
votes
2answers
114 views

Repetitive code in minesweeper - how to cure this?

I'm coding a minesweeper clone using Java and Swing. For my current knowledge, I manage to keep it working but two things give me nightmares. Namely, I have a VERY repetitive code so I suppose there ...
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
52 views

Help making multi-platform and removing redundancies in “Auto-Updater”

I whipped up some code recently, but due to the way I make a process this can only be run on windows.... doesn't work QUITE how I want it to either. I would love to get some advice from a more ...
0
votes
1answer
78 views

Optimisation suggestions for swing project (NetBeans) [closed]

I was working on my uni project (Digital Clock) when I noticed that it gets really buggy. I'm using NetBeans (as a requirement) and there is a LOT of code. I'm not that good as well, so I don't know ...
2
votes
1answer
86 views

Java Swing Panel layout

I am working on a Java project for college that involves us setting up a TCP Server and Client. I have that part working and now to add more of a feel to my project I want to add a GUI. We have not ...

1 2 3
15 30 50 per page