Questions tagged as 'java'

1
answer

JavaCV applet does not display video in browser, desktop only

I'm developing a web application that connects to a security camera via JavaCV. The applet I developed normally runs on the desktop, but when I try to run it in the browser, although it does not give any errors, it renders all swing components (...
asked by 03.01.2015 / 11:35
1
answer

Client side object instance deleted and sent to server

I would like to know if anyone has already had this problem and how to resolve it. I'm using JSP and Spring Data JPA. Deleto records the middle of a form that is a detail using Javascript, right? But when I give a POST, the server creates...
asked by 07.01.2015 / 19:44
1
answer

How to add Onclick to a fragment?

I'm trying to add onclick to my fragment, but I'm not getting it, where is it wrong? @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.fragment_m...
asked by 11.12.2018 / 23:31
1
answer

Draw Regular Polygons inscribed on a circumference with Canvas in JavaFX

If you notice correctly, this is a method that I developed to create the vertices of regular polygons inscribed on a circle of radius r @Override public float calcularRaio(float lado, int numeroLados) {// calcular raio float raio =...
asked by 15.06.2014 / 17:21
1
answer

Android - take the back-stack splash screen

I'm finishing a college job where an app should display a splash screen and then a login screen. I wish that as soon as the splash screen was finished, it would go out of the way. The structure is as follows: S (splash) - > L (Login) - >...
asked by 15.06.2014 / 01:50
2
answers

Remove JS file via JS

I have a site that has the fixed side menu and the other part loads the pages. For each page of the site I made a js file. For example: Home.jsp I have the file home.js, Contacts.jsp I have the contacts.js. I'm loading the pages with the jque...
asked by 16.06.2014 / 14:45
2
answers

Class object generation error

I have the following method: private ArrayList Clientes (JSONObject jObect) { Log.e("Lis: ", jObect.toString()); /* A linha acima impime E/Lis:: {"clientes":[{"idClientesT":"1","tipo":"s","nome":"Carlos"},{"idClientes...
asked by 19.12.2018 / 23:37
3
answers

How to upload image using Spring Boot?

I'm learning to use Spring Boot and I need to create a field in the form that loads the image to be used. How do I map the directory and save to a particular project folder? Example: Through the form, the user will load the photo. In...
asked by 23.10.2018 / 04:30
1
answer

What happens internally in running a Spring Boot application?

Recently I've been studying Spring Boot, I wanted to know what happens internally when an application is started, because every project has a main class that is always annotated with @SpringBootApplication . What is the purpose of this not...
asked by 25.10.2018 / 15:43
3
answers

Create a button in a ListView

I'm making an application and at the end of the data inserts the user will see a summary with a listView . So far so good, but I want to create, right after listview , a finish button, but I can not seem to put it, if I put it inside...
asked by 30.01.2014 / 17:04