Skip to main content

Questions tagged [swing]

1 vote
2 answers
260 views

Suppose you have a panel with a table, which I will call a pane. The table has a toolbar above it, including an edit button. Editing involves showing an editing dialog. It allows the user to edit the ...
Sergey Zolotarev's user avatar
0 votes
3 answers
221 views

Problem: our application allows users to close a form window after certain changes without any confirmation, instead of pressing the Save button. This makes them complain they have to start afresh. We ...
Sergey Zolotarev's user avatar
0 votes
2 answers
616 views

I’m still a Computer Science student, and recently I’ve had to develop a project using the MVC pattern, but without having learned in depth about how it actually works. And it’s not the first time I’...
MasterTJ123's user avatar
0 votes
1 answer
235 views

When it comes to exception handling, there are many guidelines and best practices on the web. On of them is to throw early, catch late, or even Don't Catch. So when facing an exception, the current ...
mperktold's user avatar
  • 151
2 votes
2 answers
417 views

Consider the following GUI screen (Java Swing) with a list of persons where the user can select a person and delete it. According to MVC, the view observes (observer pattern) the model and updates ...
George Z.'s user avatar
  • 705
2 votes
1 answer
135 views

I aim to understand pull model MVC. I'm stuck at defining a model for a simple color-guessing game in Java Swing I chose to practice it. I borrowed the model's initial version from an example which ...
Piovezan's user avatar
  • 481
1 vote
1 answer
286 views

I am learning OOP, concretely Java, by developing a real life business application for aimed for repair shops. I have followed MVC pattern design for GUI elements of my application. I was wondering do ...
Zoran Jankov's user avatar
-2 votes
1 answer
134 views

I am developing a Bank Management Project. Now I am stuck in a point. I want to create a login page where a user will submit his/her username and password then after clicks on the login button, a new ...
Shahparan Rifat's user avatar
-3 votes
1 answer
295 views

I have programmed a Java Swing application. I have some bugs in my program and I want to discover where in the code these errors occurs. With normal code (Non-GUI related code) I apply debugging for ...
jennifer ruurs's user avatar
-3 votes
2 answers
128 views

I'm making a blackjack game, and I want to take my cards images and give each a value for the game. I'm not sure how to determine their value. Should I just do a big switch statement with all the ...
heapoverflow's user avatar
1 vote
1 answer
573 views

I need people opinions on how to improve a code I've written. Let's assume we have an application cataloging movies (~3500 of them) and actors (~1000, but I need to double-check this). Both actors ...
Sandrew Cheru's user avatar
-1 votes
1 answer
801 views

I made a small program using several MVC-patterns. So far I havnt got to much stuff to put in the model so I havnt got any model yet. My idea is to make one MVC pattern for each panel. And looping ...
acroscene's user avatar
  • 119
10 votes
3 answers
36k views

I dont know how to reduce the size of jar file. When we normally code in Java Swing the jar file is created, is there any way to reduce the size of jar file? I can't remove the images and other stuff ...
Rick's user avatar
  • 213
10 votes
5 answers
9k views

I'm making a Book Manager App using Java Swing that allows me to do a variety of things such as opening a txt list of books, searching for books, adding/removing books. There are different classes ...
Lewis Briffa's user avatar
0 votes
1 answer
996 views

I try to create small Java tools to help me at my work every now and then. Usually these do not have to be pretty and I find myself coding a single, sometimes massive, Java class. However, now my plan ...
treiman's user avatar

15 30 50 per page