Questions tagged as 'java'

1
answer

Java - SQL - Show data in a Java Swing form

I have a vehicle sales application. In the MySQL database I have purchased vehicles (for customers) and vehicles not yet purchased (available for purchase). In the database I distinguish the tables: vehicles and vehicles_buying. Organi...
asked by 11.01.2017 / 20:39
1
answer

JavaFX Error Eclipse neon

I have a problem using TableView with Eclipse NEON method refresh of type TableView, I get the following error:    The method refresh () from the type TableView is not visible Someone knows How can it be solved? o What is th...
asked by 10.01.2017 / 14:59
1
answer

I have a problem removing a java record in a jtable

When selecting a reg in a column with a checkbox, the whole row of blue is marked and when the row of blue is marked, it can not be deleted because it does not recognize the Boolean value of the checkbox and as it does not recognize it, it can n...
asked by 26.12.2016 / 21:07
1
answer

Distinct ImageButton in the same MainActivity

I can not put two different actions to two ImageButton different in the same MainActivity , putting the function only to the first ImageButton , if it works, but when putting the function to the second, I get:    error: rea...
asked by 16.12.2016 / 14:13
1
answer

Error opening the file. Fault PdfPTable iText - JAVA

I'm making a PDF impression thanks to the iText class. I have the query made which shows me the data of the clients in my database, the query works both in SQL and in commands. I print the data in a PDF correctly but now I want to add that d...
asked by 26.12.2016 / 11:44
1
answer

Activity name is not set to a valid class name

I can not create new Activity I get out    Activity name is not set to a valid class name        
asked by 02.03.2017 / 17:41
1
answer

Failed with recyclerView instead of ListView?

The following code with ListView instead of RecyclerView let me compile and run but if I was not on a fault line: recyclerview.setAdapter(new ImagenAdapter(getApplicationContext())); and he tells me that:    setAdap...
asked by 04.03.2017 / 13:26
1
answer

I am setting up my project with maven in eclipse using framework spring and it shows me the following errror:

I'm taking a tutorial of Spring framework mvc v3 with JPA, using maven in Eclipse. Then I created the project and it shows me the following error:    the superclass javax.servlet.http.HttpServlet was not found on the java build path  ...
asked by 13.12.2016 / 14:59
1
answer

Spring 4 - Apache POI - Security: Error 403 when generating Excel spreadsheet

I'm in a project with Spring MVC 4, and I need to generate an Excel with a set of data on the screen. For this I use Apache POI to make the generation integrating it with Spring. However, when the file download runs, I get a 403 error. The appli...
asked by 13.12.2016 / 20:25
1
answer

Enable an inputText when selecting a selectItem [closed]

With the tag selectOneRadio I can nest several selectItem as your options. How can I make a inputText that is previously disabled by selecting one of the options? Or how can I do so that, instead of using a inputTex...
asked by 23.01.2017 / 00:32