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
0
votes
3 answers

set different look and feels in Swing Application Framework jsr 296

My application uses SAF (jsr 296). I want to use different look and feels on different platforms: A default (Java) for Linux And system (native) for Windows. ADDED: So far I hardcoded L&F for the Windows OS in the startup() method of my Application…
Dime
  • 2,041
  • 3
  • 23
  • 29
0
votes
3 answers

Java unable to open pdf using Runtime

I have to open a pdf on clicking a JMenuItem. I can open the pdf on click the menu item if i run my program from netbeans. But when i run from jar file it is not opening. I clean and build my project. But no change. Running when run from netbeans…
Gaurav
  • 55
  • 10
0
votes
0 answers

Java Webstart Dist Folder Empty

I compile my code without Webstart and the .jar file is properly created along with the lib folder in the dist folder. When I try to compile my code with Webstart selected (signed or unsigned) the dist folder is empty. Using Netbeans 8.0.2, JDK 1.7.…
KSK
  • 149
  • 3
  • 15
0
votes
1 answer

How force the program wait a Task and show Progress Bar to user?

I use Swing Application Framework in my program. And I have some long-time work. I use org.jdesktop.application.Task for it. Another programmer wrote two Tasks before I took this project (I can not ask him about the programm). When Tasks are…
RuF
  • 548
  • 1
  • 11
  • 31
0
votes
3 answers

Why I obtain this error when I try to add the Container object to the main JFrame object using Swing?

I am absolutly new in Java Swing application and I have the following problem. I have this simple LoginFrame2 class: package com.test.login; import java.awt.Container; import javax.swing.JFrame; import javax.swing.JLabel; import…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
0
votes
2 answers

java.lang.NullPointerException bug when trying to run an app on netbeans

Here is my traceback Oct 9, 2012 3:58:44 PM org.jdesktop.application.Application$1 run SEVERE: Application class sampleapp.SampeAppApp failed to launch java.lang.NullPointerException at…
0
votes
1 answer

In FrameView is not showing JDesktopPane and JinternalFrame on Windows OS

Im using netbeans 6.9 and ubuntu. I make a Simple Java Desktop Application thas cames with netbeans wizard. Then when I tried to run on linux the jdesktoppane show me on the bottom of my application all the opened jinternalframe, but when i run on…
wuiler
  • 1
  • 1
1 2
3