Questions tagged as 'netbeans'

1
answer

Pass Focus between Buttons

Even if it seems very simple, ps is creating problems for me ... I have a window where I have implemented a ScrollPane and inside a panel. more buttons and a table (so far so good). What I want is that when I click on a button this happens with...
asked by 08.08.2018 / 17:22
3
answers

Calculate the minutes difference between two hours

I have the following problem: I have two hours each in their respective jTextField , what I need to know is what to do to subtract those two hours, and calculate only the difference minutes at the moment of pressing the respective button....
asked by 14.08.2018 / 16:36
0
answers

How to load data through files in a java program?

This is my code for file management package arbolBinario; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.PrintWriter; public class archivos { public archivos() {...
asked by 04.08.2018 / 18:28
0
answers

Problems with Routes when creating the JAR

A few days ago I have a problem with a Java system that I am doing, the problem is when creating the JAR, I do not save my settings in a txt file. This is the variable where I save the file public String directorioGlobalConfig = "../gafe//src/...
asked by 10.08.2018 / 17:08
2
answers

What does this variable statement mean?

This is a doubt that I have been having for a long time, I have been programming for 1 year in Java, but I still do not have the following clear. Suppose I have 2 simple classes public class Automovil{ String patente; String mod...
asked by 03.08.2018 / 07:04
1
answer

How can I do VALIDATIONS of 3 chains of STRINGS in Java Netbeans? [closed]

I have two classes Instrument (contains instrument names) and Musician (contains Instrument, musical name and position) The validation that I have to relate is: If the name of the musician does not correspond to his instrument and his position...
asked by 29.07.2018 / 04:06
0
answers

Netbeans 8.2 does not work on Ubuntu 18.04

I just installed Ubuntu 18.04 and installed Netbeans 8.2, but when I opened the IDE and clicked on New Project it did absolutely nothing Netbeans 8.2 requirements tell me that I must have JDK 8 and I have used them all (installed and un...
asked by 22.07.2018 / 17:22
1
answer

Error trying to export a jTable to excel

I'm making a code for the generation of an Excel file of jTable , however at the time of executing it I mark this error and I do not know how to remove it    Exception in thread error "AWT-EventQueue-0"   java.lang.NoClassDefFoundError:...
asked by 17.07.2018 / 18:12
0
answers

Change high low status in a Java TXT

public void darDeBaja(Alumno obj) throws Exception { archivo.seek(0); String linea; long lineaArchivo = 0; boolean encontro = false; while((linea = archivo.readLine()) != null && !encontro) { String[] campo...
asked by 13.07.2018 / 23:58
0
answers

For what they are and how to run files ProjectSettings.json, VSWorkspacestate.json and slnx.sqlite

I have a concern, send me on a Java project. A folder with name VS and with files ProjectSettings.json, VSWorkspacestate.json and slnx.sqlite. But I do not know how to add them to a Netbeans project to run the project.     
asked by 16.07.2018 / 18:47