Questions tagged as 'java'

0
answers

API - several records from a database with postman

I try to query a database using EJB using eclipse oxygen. At the time of making the request, GET , in postman, always brings me a record. When I consult SQL, it shows me the 3 existing records. Do you need to make a pre-request scr...
asked by 20.08.2018 / 15:13
0
answers

java arrays and arrays

I have a problem trying to perform this exercise, I already have the part of the finite series and it runs well, although I do not know if the way I did it is fine, the problem is with part one of the time series and I do not understand how to s...
asked by 18.08.2018 / 02:04
1
answer

Error when Deploy to Heroku?

I am doing the deployment of an application made in Java to a cloud server in heroku. Deposit the app in the local Git repository of my machine and when you try to push to upload the code to the server, the following appears: $ git push heroku...
asked by 18.08.2018 / 16:10
6
answers

What is the solution to all present, past and future NullPointerException errors?

I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
asked by 08.01.2017 / 18:54
0
answers

Do not print the array in its corresponding JTextField

The program is simple, you enter a series of numbers (2, 3, 4, 5), and by pressing the Swap Data button, the screen I want to look like this: Arrangement1 (2, 3, 4, 5) Arrangement 2 (5, 4, 3, 2) The case is that it puts it as seen in the i...
asked by 17.08.2018 / 21:53
0
answers

How do I select a navigation menu item and modify it by code?

I need to take an item and modify it according to a condition. I do not want the item to change when I click on it. This is my code now. public boolean onNavigationItemSelected(MenuItem item) { // Handle navigation view i...
asked by 17.08.2018 / 21:01
1
answer

Is it possible to send a json to a web service with volley?

I have been reading and everything that appears to me is to receive a response from the server and send data to it by parameters within the URL. What I would like to know is if there is the possibility that from my Android app I send a json to m...
asked by 17.08.2018 / 19:40
0
answers

Equivalent of apache poi in javascript, angulgarjs or react

I want to download an xlsx file so that it can be read in google documents. In java you can use apache poi, I want to know what is the equivalent in javascript, angularjs or react. For my part I will look for it and if I find the solution, I wil...
asked by 17.08.2018 / 15:25
1
answer

JOptionPane, How to give bold format only to a part of the text of the component

How to put a message in bold I have this example For saying I have this code: public void pedirFecha(){ JDateChooser jd = new JDateChooser(); String message = "porfavor ingrese una fecha "; Object[] params = {message, jd}; params[0] = me...
asked by 24.08.2018 / 21:10
1
answer

java.lang.NullPointerException: Attempt to invoke interface method 'void android.view.inputmethod.InputConnection.closeConnection ()'

I have this problem when implementing a MapView on a fragment public class UbicacionMiEmpresa extends Fragment implements OnMapReadyCallback{ MapView mapView; GoogleMap mGoogleMap; View vista; @Override public void onCreat...
asked by 15.08.2018 / 23:08