Questions tagged as 'java'

1
answer

SpringBoot Merge

I'm using Spring Full, with Thymeleaf and SpringBoot, but my question is about SpringData, after implementing the interface to make use of the methods Spring makes available in the repository, when I created the Service, I did not find a method...
asked by 15.06.2017 / 21:49
2
answers

Update in datatable after updating data [closed]

Speak, I'm having a problem updating a column in my datatable after an edit. Use a dialog to edit the data you want. Everything is saving in the database, the problem is when updating the table, the fields are being updated with the new values,...
asked by 16.06.2017 / 13:56
1
answer

Receiving jwt in Java functions

Hi, I have a java login function that validates username and password in a login request. If the login is successful it returns a jwt, I get this jwt and I keep it my front end and sending it to the back end of each request, how do I now to rece...
asked by 30.05.2017 / 14:11
1
answer

What are / are these dependencies made of?

I started working with programming a little over 3 weeks ago, they gave me the code and I'm lost. Until yesterday I only knew how to output the Eclipse terminal, and now I have all those libraries (I think that's the name) and I would like to...
asked by 15.06.2017 / 05:53
1
answer

Search recordset by date

I'm currently creating a Java / Mysql Desktop program. When inserting in the database, the table is very simple: id - dataInserido - códigoProduto - qtd I would like, by means of a SQL, to group the last records entered on the same date in...
asked by 29.05.2017 / 14:16
1
answer

How do I store more than one value using SharedPreferences?

I'm making an app where I created a checkbox to represent a favorite item. The problem I'm having is what I'm having is when I put more than one item as a favorite, the last one replaces the first one, that is, it's allowing you to add only o...
asked by 29.05.2017 / 21:23
1
answer

How to access prop.getProperty from any Project Class

I created a " Messages " class and put the public Properties getProp() method inside it, because I want to access the config.properties file from any other class in my project. /** * @author Alang * Criado em 18/05/2017...
asked by 18.05.2017 / 04:17
1
answer

Error installing Netbeans 8.2 on Windows 10 [closed]

# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000744b6adf, pid=9300, tid=0x0000000000002364 # # JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8...
asked by 17.05.2017 / 22:53
1
answer

How to print an ArrayList inside a JOptionPane? [duplicate]

I would like to know how to print an ArrayList inside a JOptionPane, I leave below the code I am using but it is not working: import java.util.ArrayList; import javax.swing.JOptionPane; public class repositorioPessoasLista{ ArrayList&l...
asked by 20.05.2017 / 23:29
1
answer

Align JPanel button

I want to align a single button to JPanel, but I'm not getting it, it's using the default layout. public class Test extends JFrame { private JButton btn; private JPanel painel; private JScrollPane scroll; private JTextArea tAr...
asked by 21.05.2017 / 00:51