Questions tagged [jsr296]

The Swing Application Framework (JSR 296) is a Java specification for providing a simple framework for Swing applications.

The Swing Application Framework (JSR 296) is a Java specification for providing a simple framework for Swing applications. The article Using the Swing Application Framework (JSR 296) offers additional details. See also Synchronizing Properties with Beans Binding.

37 questions
1
vote
1 answer

Binding Swing components to Java objects

I'm currently working on a Desktop Application in Java using Swing. I’m using the beansbinding framework by jdesktop.org to synchronize the state of GUI components and data objects. However I’m running into troubles with the framework, forcing me to…
scravy
  • 11,904
  • 14
  • 72
  • 127
1
vote
1 answer

How to create MDI Form in Java

I am trying to create a desktop application where I have three forms for different tasks. Is there any way to create it as MDI in VB.net. I am using Netbeans 6.9.1. How to hide or show Internal frames on Click of Menuitems?
Code Hungry
  • 3,930
  • 22
  • 67
  • 95
1
vote
1 answer

Wrap Extended Frame View in a Window

I have an assignment from my university to continue a JAVA card project from the students from last semester, which happens to be sucked. Because we have to carry on with someones work instead ours.. So my first step is to make an window image icon…
hectichavana
  • 1,436
  • 13
  • 41
  • 71
1
vote
1 answer

Change text of JTextField from different Class

How can i change the text of a jTextField from other class Suppose i have Class A in which if i select an item and click create account. I added a tab with same name to my jTabbedPane. This tab is class B. the code for this is: onclick on "Create…
Gaurav
  • 55
  • 10
1
vote
2 answers

how to Save a jpanel containing combo-boxes and text-boxes in java netbeans?

I am creating an application which helps solving problems of an accounting book. The application has 12 chapters. All chapters contains 15-20 problems. The problem is displayed in a JPanel containing various combo-boxes and formatted-text boxes.…
Gaurav
  • 55
  • 10
1
vote
2 answers

Java Desktop Application Using Netbeans

I am working on tutorial software which help to solve problems of a Financial Book. So it is something like an worksheet kind of thing containing combo-boxes and formatted text boxes. Everything is working as i want except one thing. Is there a way…
Gaurav
  • 55
  • 10
1
vote
3 answers

Apache's HttpClient falls asleep in Swing application

I faced very strange problem. Writing an application to download some data from Internet with proxy server support I decided to use Apache's HttpClient library. jar binaries were successfully added to NetBeans project and the following code snippet…
ezze
  • 3,933
  • 2
  • 34
  • 58
1
vote
2 answers

Two questions on using Window Listeners in Java Swing Desktop Applications

**** Please note that my question is regarding the answers in another thread. However, when I posted the question in that thread, it was deleted. So I'm reposting the question here (with a link to the exact post that I'm referring to). **** I have a…
1
vote
1 answer

implementing a class in class

I am trying to implement a class in a class in JAVA, like this package test; import java.awt.event.*; import javax.swing.*; /** * * @author jackandjill */ public class Summingup extends JFrame { /** * Creates new form Summingup */ …
noobprogrammer
  • 513
  • 5
  • 14
1
vote
1 answer

Creating a Java Desktop UI which can be understood by Eclipse and Netbeans

Netbeans recently dropped support for Swing based Java Desktop Applications from version 7.1 onwards. Till that point I had always imagined that creation of Java Application User Interfaces would be cross platform. I thought that a Swing UI created…
redDragonzz
  • 1,543
  • 2
  • 15
  • 33
1
vote
2 answers

org.jdesktop.swingbinding.JTableBinding$BindingTableModel cannot be cast to javax.swing.table.DefaultTableModel

I tried to group JTable header and for that I want to get the DefaultTableModel of current JTable. But when I tried to retrieve the table model like this: DefaultTableModel dm=(DefaultTableModel) tblTet.getModel(); It shows the following…
Noufal Panolan
  • 1,357
  • 2
  • 14
  • 27
0
votes
2 answers

java swing single application

This has been driving me crazy and maybe someone here can help me out. I have created a layout using Netbeans 7.0.1 using swing - its a SingleFrameApplication. Now on my laptop i have Netbeans version 7.1.1, as of 7.1.1 the UI panel is not supported…
Rory Lester
  • 2,858
  • 11
  • 49
  • 66
0
votes
3 answers

Building a GUI for a small desktop application

I am currently working on a small desktop Java application which will track various data such as employee hours, job-site investment, and a few other things. So far I've been able to knock out most of the stuff under the hood (serializing data,…
0
votes
2 answers

How to get Timer (Util or Swing) to allow me to call a method in a Netbeans Desktop Application Program?

(full source code at the bottom) So for a quite of bit of time now I have been working on this. I have an ultimate goal, but for the sake of learning how to do this I have created an application that simply adds 1 to a number and displays that as…
tyler lee
  • 1
  • 1
0
votes
1 answer

How to refresh JTable Model without overwriting the old model in the view?

I'm developing a Desktop Application in java(jdk 1.6) with swing but having a problem after refreshing the view. Whenever I update the Model of a JTable, I see that the data in this model changes but a problem in the view occurs. It only overwrites…
isilpekel
  • 121
  • 1
  • 8