Questions tagged as 'java'

0
answers

JScrollPane producing glitches on the screen

I have little experience with Java Swing and am catching up with a simple thing. The code below produces glitches on the screen when the scroll bar is dragged repeatedly and I do not know why (maximize the screen first to see better and drag...
asked by 22.11.2018 / 12:39
0
answers

Problem with NullPointException in JSF and Primefaces

Good afternoon! I'm having problems with an xhtml form made in JSF, as it is not setting the values in UserBean, and when I run the register method () in the UserBean class, eclipse returns an error of type NullPointException. Follow the registr...
asked by 23.11.2018 / 18:40
0
answers

Not returning by returning json [closed]

Well I'm starting in the android area and I still do not know much about it and would like help with the following code: gridView = (GridView) findViewById(R.id.lastedAnimeView); gridView.setAdapter(va); mRequestQueue = Volley.newReque...
asked by 02.11.2018 / 17:33
0
answers

Location request issues

Hello, good afternoon! I'm having problems with the return of my location in my code (it's also not asking the user for permission) ACTIVITY CODE public class GPSActivity extends AppCompatActivity implements LocationListener { private TextV...
asked by 20.12.2018 / 17:14
0
answers

player.setDataSource (URL); giving error

I have the code below that opens a URL for Streaming from a web radio and rings / pauses. I have and errors in this código that I do not think at all and I ask for your help. package carcleo.com.player; import android.media.Me...
asked by 24.12.2018 / 13:37
1
answer

Spring boot + Angular 6 + Heroku

I created a web application where the front uses angle 6 and the back uses spring boot. My goal at the moment is to put the application online. On the local server when I run the spring boot the angle is normally called, when I put the app...
asked by 26.09.2018 / 06:25
1
answer

Many logs with the message "setTypeface with style: 0"

I am making a app in android studio , and after passing some activities the screen goes black and the last record of log cat is this message. I've already looked at the other questions about this but none solved my...
asked by 14.10.2018 / 20:29
0
answers

Generating jwt manually using JAVA, but jwt.io does not validate

I'm trying to manually generate JWT in Java without using libs, but the returned JWT is not being validated by the link web application. public String authenticateUser(String body) { try { String key = "teste-de-chave-hahaha";...
asked by 15.10.2018 / 19:17
1
answer

How do I check if a switch is enabled?

I'm trying to make a program that has some elements of the house such as bulbs. On a screen I want it to show all the elements, whether those are on or off. I have some switches and I want to put a text on the main screen equivalent to their sta...
asked by 28.09.2018 / 02:55
1
answer

Data coming from Firebase takes time to finish loading and disrupts the ordering of objects

I'm trying to sort an object by a value that comes from Firebase. I use a JsonParcer class to list the database and according to the ID get the field I need in Firebase, which in the case is a coordinate so that with it I calculate the distance....
asked by 26.12.2018 / 00:32