Questions tagged as 'java'

1
answer

Copy content from one path to another path

Greetings to all, this is a doubt that maybe I can not explain enough. It turns out that I'm doing as a practice a program that makes backup copies. Then I have the path source (where the files to save come from) and the path target...
asked by 05.03.2017 / 12:03
0
answers

Running a Netbeans project on Maven on one pc works well and on another does not

I have uploaded a Netbeans project to Maven on a PC running Windows 8.1. When executed, the graphic interface is output correctly, the buttons work correctly but the JLabelResult in one pc is updated correctly and in another not. Th...
asked by 22.03.2017 / 12:35
1
answer

My ListView is not displayed in Widget

First of all, it is the first time I do a Widget . I'm probably doing the process wrong, so I ask for help, having said that, I'm going with my problem. In my main class, MainActivity I have a ListView that I'm filling wit...
asked by 21.03.2017 / 23:44
1
answer

Look and Feel - Java

I have my JFrame (called frmMenuPrincipal containing a JMenuBar with options) that I have put in the main the following code so that it has a good design: try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookA...
asked by 09.03.2017 / 16:12
2
answers

Problem when obtaining the value of the cells of a jtable

A problem arises when I get the value of the cells of a specific column and it is that I want to obtain the order of those data, use: TableRowSorter sorter = new TableRowSorter(ModeloClientes); tablaCliente.setRowSorter(sorter); that...
asked by 24.03.2017 / 03:04
0
answers

Problem with fix instance

Hi, I'm trying to make some fixes and make an instance, but not all variables have fixes. This is my code: @NotNull @Size(min = 1, max = 10) private String Nombre; private String Titulo; private String Autor; private Stri...
asked by 23.03.2017 / 19:16
0
answers

Connection Refused when trying to connect to MySql database

I'm trying to access a MySQL Database from a Java class with the JDBC Driver, but it always gives me the exception java.net.ConnectException: Connection refused. This would be my Java class (javaSQL.java): package javasql; import java....
asked by 24.03.2017 / 12:29
2
answers

javafx tableview columview with button I need that when clicking auto select the row

I need to click on the button that is already in a column to automatically select the row to be able to do get and set to the selected item. Otherwise, it generates nullpointer . I was thinking about adding a listener that wh...
asked by 10.03.2017 / 15:39
2
answers

JavaFX SceneBuilder Label setText not working

I can not put text to Label in javafx using scenebuilder . This is where I declare my Label (I do not get any errors either) : package application; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import java.u...
asked by 24.03.2017 / 11:51
1
answer

ExpandableListView inside TabLayout and ViewPager but not shown

Good! I need a help, I initially have a TabLayout with ViewPager and 4 fragments, 3 of them with custom lists and working correctly, in the remaining tab (fragment) I want to add an ExpandableListView with its logic implemented but I can not get...
asked by 06.03.2017 / 00:07