Questions tagged [swing-app-framework]
22 questions
19
votes
4 answers
Why can't I find Java desktop application in Netbeans 7.1
I downloaded Netbeans 7.1 with all bundle from http://netbeans.org/downloads and installed it successfully on Windows 7.
But I can't find Java Desktop Application which should be under Java category when add new project as 7.0 does.
Where is it? Or…

Ovilia
- 7,066
- 12
- 47
- 70
10
votes
5 answers
How to actually use Swing Application Framework?
I'd like to learn how to effectively use Swing Application Framework. Most of the the examples I've found are blog entries that just explain how to great it is to extend SingleFrameApplication and override its startup method, but that's about it.…

Joonas Pulakka
- 36,252
- 29
- 106
- 169
6
votes
4 answers
Netbeans 7.1 dropped Swing Application Framework support? How can I migrate form 7.0 to 7.1?
Last week, I get very depressed, I have three big apps in production and many more using Swing Application Framework. Later, when I started to migrate to Netbeans 7.1, BOOM!, no more support for SAF.
So what can I do, any ideas how to migrate to…

j2gl
- 706
- 3
- 20
- 28
5
votes
2 answers
Swing removed from JDK?
"JSR-296 (Swing Application Framework) is no longer developed and will not become part of the offical Java Development Kit as was originally planned. You can still use the Swing Application Framework library as it is, but no further development is…
anon235370
4
votes
1 answer
Using the MVC model with Swing Application Framework
I'm trying to create a simple Java desktop application using the Swing Application Framework and the MVC model but I'm struggling on some areas because there is a lack of good examples (the only SAF examples I have found are anything but MVC!).
I…

Makis
- 12,468
- 10
- 62
- 71
3
votes
1 answer
Cannot close frame using button after opening a new one in swing
package bt;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import…

Pam
- 77
- 9
3
votes
1 answer
How should manage Database transactions using Entity Manager in a relatively large application?
I have developed a fairly large CRUD application, using a MYSQL Database and Swing Application framework and javax.persistence.
My question is how should I best manage my transactions given the javax.persistence.Entitymanager?
Currently, I have one…

Vova
- 160
- 2
- 12
2
votes
1 answer
To refresh JTable JAVA
I wanted to refresh JTable immediately when data is inserted or deleted ,i got problem looked at forums but the solutions are too particular to their examples,is there a general way how JTable is refreshed on any event on same page happens?…

Nabin Raj Pandey
- 21
- 1
- 2
2
votes
3 answers
Understanding the Generic type parameters of TaskListener
I'm currently working on refactoring some old code and I found a snippet where I don't understand how to properly use Generics for the Swing Application Framework class TaskListener.Adapter.
This is the relevant code snippet:
public void…

Daniel Rikowski
- 71,375
- 57
- 251
- 329
2
votes
1 answer
Need help using SingleFrameApplication to save sessions
I have a program that need to save all of the things in JTextFields, JComboBoxes, etc.
I came upon an example that lead me to believe i could achieve this with the SingleFrameApplication class.
There are 1000+ components in this program that would…

Michael Rentmeister
- 167
- 1
- 6
- 24
2
votes
2 answers
Want javax.swing hook that tells me WHICH component in the hierarchy is executing an action
How with minimum code uglification can I write a debugging hook in a Swing program that would tell me which component in the hierarchy is actually handling each KeyStroke or mouse click and performing the action mapped to it in the component's…

Steve Cohen
- 4,679
- 9
- 51
- 89
2
votes
2 answers
How can I customize the color of the tabbedPane at swing builder?
I want to customize the color of my tabbedPane to fit at the theme of my gui, but I don't know how to do it. I've tried lots of code but still nothing happens.
Here's my gui...
thnx in advance ^_^

iamanapprentice
- 411
- 5
- 19
- 37
1
vote
1 answer
Is it possible to connect mysql and sql server to get the tables present in it?
The user should not specify the type whether it is ms sql or my sql?
I want to do it in netbeans?
If not is there any way?
Thank you

Natasha
- 11
- 2
1
vote
0 answers
Jtable Data selected row do not populate in jDialog form
I am new in Java programming.
My problem is, I have two forms in my project. "Product" form and "Edit Product" form(Prod_Edit), like this picture:
I want that by pressing Edit button jtable selected row data should populate in the text fields of…

Qureshi
- 11
- 3
1
vote
2 answers
I am trying open a JPanel from another frame. Not able to do so
I am creating a program for database manipulation with proper GUI and all. I am using swing for the same. Anyway, when I run the app, the following window opens:
public class MusicShopManagementView extends FrameView {
public…

bcosynot
- 5,653
- 10
- 34
- 47