Questions tagged as 'java-swing'

0
answers

Problem when using JasperReports in a .jar

I'm making an application that uses JasperReports, I run the program from my computer and it generates the report well but when I make the .jar and try it from another computer it does not show me anything. My code is as follows public class R...
asked by 08.09.2017 / 23:06
0
answers

Pass data from JTable to Jtable with saved auto

Good friends, I present a problem in my code, the question would be: How do I make it so that when passing data from one table to another, those that were already there are not deleted? I am passing a selected row from a JTablePendientes to a...
asked by 14.09.2017 / 20:39
0
answers

What can I add in my text editor project?

I'm doing a project in java netbeans on a text editor and I have to use jtextpane ; so my question is: do I use a jscrollpane or a jscrollbar to add it to the jtextpane ?     
asked by 05.08.2017 / 00:54
1
answer

JAVA | JFrame | Frame = [height of a display] minus [Height of widows taskbar]

Previously ask this question: - > Java | Jframe | Generate with anchor to the right of the screen Now what I want to do is [Well, the high one I already have thanks to Johnny who solved me] that the height of the JFrame does not take int...
asked by 19.07.2017 / 18:58
0
answers

duplicate a Jpanel?

I'm doing a desktop application in java, I currently have a template I have a table of documents and users in a Bd, a user has many documents, what I want to do with the Bd data, replace the data that is in the template with Bd data, an...
asked by 20.07.2017 / 15:16
1
answer

Java | Jframe | Generate with anchor to the right of the screen

Good afternoon. I want to generate a main jframe that when instantiated is anchored, automatically, to the right of my display, it is a desktop aplication. I want that when it appears it comes out of that side so automatic. [With its high...
asked by 14.07.2017 / 04:41
1
answer

Jframe stuck to another Jframe

Good! I have to first make a jFrame [the black] with a comboBox that will make, depending on the chosen option, a 2nd jFrame [the green], but I want that whenever the 2nd jframe is generated, it is' anchored 'so to the base of the 1st jframe,...
asked by 28.07.2017 / 18:48
0
answers

Java - Highlighter keeps highlighting after the last word in JTextArea

I am creating a java program that highlights orthographic errors based on a previously loaded dictionary. What I'm trying to do is to highlight the errors as the user is writing in a JTextArea, my problem is that when you finish writing the last...
asked by 27.06.2017 / 01:14
1
answer

Get value from a jTable with mysql and place it in a java spinner

Good evening, can someone guide me how to get the value of a joint and place it in a spinner? with the text fields I have not had problems, but with the spinner I do not even get an error message but I do not get the value of the row that has be...
asked by 30.05.2017 / 04:34
1
answer

Help with serialization in java

I have in the main method: cargarDatos() : It is responsible for entering data from a .dat file. Ventana v=new Ventana() : It is responsible for opening a window with which you enter data. It ends with a defaultCloseOperatio...
asked by 19.05.2017 / 20:01