Questions tagged as 'java'

1
answer

Process form data with javascript and html

I wanted to make a program that the user would send 3 notes and after pressing "Calculate", you would be redirected to a page that would appear to your average. Who could help me: function calcular() { var ac1 = pars...
asked by 06.12.2018 / 15:34
1
answer

Exception in thread "main" java.lang.IllegalArgumentException: Type without superclass: module-info

I created a game with libgdX and it normally runs on the mobile emulator, but now to generate the apk with key it does not generate, I'm wasting a little time on it, does anyone know the solution? Exception in thread "main" java.lang.IllegalAr...
asked by 01.09.2018 / 20:14
1
answer

Java Error Attempt to invoke virtual method 'android.view.Window $ Callback android.view.Window.getCallback ()' on a null object reference

Personally I need a help with an error in a method of my code. Basically I have a FrameLayout that loads two fragments. When you start the APP it loads the first fragment with 3 TextEdits and a button. When you click on the buton, it calls a...
asked by 28.08.2018 / 20:09
1
answer

ERROR 500 - But I do not know where it is wrong, someone helps me!

@PostMapping//Create public ResponseEntity<Categoria> criar(@RequestBody Categoria categoria, HttpServletResponse response) { Categoria categoriaSalva = categoriaRepository.save(categoria); URI uri = ServletUriComponentsBuilder.from...
asked by 19.09.2018 / 22:20
1
answer

No Persistence provider for EntityManager named x [closed]

This project does not recognize my Persistence Provider. It follows the same thing below. Yourlocationplusdependencies: I'mcallingitthroughaverysimpleXHTMLusingaManageBean.Followingimages: Theimageoftheerrorfollows.     
asked by 15.09.2016 / 20:51
1
answer

How to open .html files in my application?

I'm doing an application for Android and wanted to know how to open and display a specific .html file located on the SD card directly in my application.     
asked by 08.06.2016 / 16:14
2
answers

What's wrong with my code?

I want to create an employee class with the following specifications, but I can not return the show data method and the salary calculation method. It gives compilation errors when calling the methods, I wanted to know how I can define their call...
asked by 26.08.2016 / 14:43
1
answer

Why is the image I painted on the canvas disappearing? [closed]

package Principal; import java.awt.Canvas; import java.awt.Color; import java.awt.Graphics; public class Desenho { public static void main(String[] args){ JanelaDesenho jd = new JanelaDesenho(); jd.setVisible(true);...
asked by 10.09.2016 / 18:38
1
answer

How to change the color of a button?

I'm doing some experiments to get a better understanding of Netbeans IDE and I had this doubt about the color of a button. By right-clicking on any jButton and selecting Properties, I set the background item to green, for example, but only...
asked by 31.12.2017 / 15:45
1
answer

Problem picking up a GSON variable

I'm making an app that uses the google maps directions api, which returns me a json, for example: { "geocoded_waypoints" : [ { "geocoder_status" : "OK", "place_id" : "ChIJeRLP8gx3GZURImtwaSWGJgY", "types" :...
asked by 11.11.2017 / 02:54