Questions tagged [jdesktop]

jDesktop is a JavaScript library for those who prefer creating web applications in an object oriented way.

Features

  • Follows object-oriented design
  • Supports inheritance, constructors, static constructors, static methods, properties (getters, setters)
  • Enables inheritance from HTML elements
  • Has many control objects such as: Button, Menus, Calendar, etc.

Useful Links

jDesktop Home
jDesktop Download
jDesktop Documentation

17 questions
13
votes
3 answers

Eclipse does not recognize org.jdesktop.*

I use JRE system Library [jre7] and when I import org.jdesktop.application.Action I get The import org.jdesktop cannot be resolved I removed the build path by Build Path > remove from build path and then I did project > properties > java build…
URL87
  • 10,667
  • 35
  • 107
  • 174
6
votes
1 answer

Java Importing org-jdesktop-layout in Netbeans

I have added the org-jdesktop-layout.jar to my libraries in my netbeans in my project. I found this .jar file in: C:\Program Files\NetBeans 7.0.1\platform\modules However the following line of code is still not…
CodeKingPlusPlus
  • 15,383
  • 51
  • 135
  • 216
5
votes
2 answers

Where can I download the source of "appframework.jar" that comes with NetBeans?

I have just started to try NetBeans. I created a new Java Desktop Application project, and it automatically added the JDesktop "appframework-1.0.3.jar" library. However, whenever I try to view its source, the command fails. I tried searching for it…
Hosam Aly
  • 41,555
  • 36
  • 141
  • 182
2
votes
1 answer

what is Single Frame Application and what is FrameView?

I have a basic understanding of Java Swing, I know about JFrame and JPanel. the problem is : Yesterday I started to write a Simple Desktop Application in Netbeans, I created a SingleFrameApplication, Netbeans created few classes for me one of them…
MoienGK
  • 4,544
  • 11
  • 58
  • 92
2
votes
2 answers

Using JComboBox to display in JTable

I was trying to use a combobox to show contents in a table. I wrote the code below, bu nothing displayed in the table. Integer i = ((Destination) (jComboBox1.getSelectedItem())).getId(); query1 = entityManager.createQuery("SELECT d FROM Dayactivity…
Sarath Babu
  • 923
  • 3
  • 10
  • 27
1
vote
1 answer

How to close a windows explorer?

I have a code that uses jDesktop to open a windows explorer interface when I clicked the button LOGIN and it's working right.. private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { //…
1
vote
1 answer

Let user choose the application to open the file

I need my java code to open a file based upon the default application. Thanks to How to open user system preferred editor for given file? which suggests a quality method to do it by Runtime.getRuntime().exec("RUNDLL32.EXE SHELL32.DLL,OpenAs_RunDLL…
Jatin
  • 31,116
  • 15
  • 98
  • 163
1
vote
1 answer

Casting DataRow to Strongly-Typed DataRow

I have a class that extends DataRow: import org.jdesktop.dataset.DataRow; public class MainDataRow extends DataRow { private MainDataTable baseDataTable; protected MainDataRow(MainDataTable dt) { super(dt); this.baseDataTable = dt; …
Miquel
  • 8,339
  • 11
  • 59
  • 82
0
votes
0 answers

JDesktop: How to configure resource map path?

I am using the org.jdesktop.application dependency and want to load some resources. The gradle project is structured in: main.java.myproject main.resources When I want to load the resource map using getResourceMap(). It does not read any…
Tien Do Nam
  • 3,630
  • 3
  • 15
  • 30
0
votes
1 answer

Does JDesktopPane.getAllFrames() always indicate JInternalFrame z order?

I could not find it in any documentation, but as far as I found out experimental calling getAllFrames() returns all internal frames exactly in their z order. Does anyone know if this observation is always true or can give any reference for it?
ejoerns
  • 965
  • 2
  • 11
  • 22
0
votes
1 answer

how can do not to duplicate internal frame

I am testing some code that is using internal frame. So I don't wanna open the new internal frame that is already running in my program. I mean when I click a menu to open some internal frame that is already open in my outerframe, that internal…
Aung Thet
  • 3,051
  • 3
  • 13
  • 18
0
votes
1 answer

Why does print unblock execution?

Here is the content of a main function which blocks when the print line is commented, yet it executes as expected when the print line is uncommented. Why would a single print line change the behavior of the whole while loop? (Between not executing…
Lucie
  • 125
  • 1
  • 1
  • 7
0
votes
1 answer

Switching between internal frames in java

I have 1 MAIN-FRAME and 2 INTERNAL-FRAMES(say -> Frame 1 and Frame 2) in my java netbeans project. To switch from the main-frame to Frame 1, I used the following code IN THE MAIN-FRAME'S CLASS :- Frame1 frame = new Frame1(); …
h2O
  • 544
  • 1
  • 15
  • 38
0
votes
0 answers

Load separate jFrame in jInternalFrame

I am new to Java desktop app. I have built JDesktopPane with two buttons. In that button click it will load two separate JInternalFrames. I have already developed two separate JFrame classes (which denotes two modules). So I want to know, Can I…
Sadee
  • 3,010
  • 35
  • 36
0
votes
2 answers

Jdesktop or Qt for better Desktop application

I will make a desktop application. I searched on web which one is better. Can someone say positive and negative sides of these components.
Iguramu
  • 2,080
  • 5
  • 26
  • 30
1
2