Questions tagged as 'java'

3
answers

Android xml lines (Eclipse)

In the course I do Android, it works on the Eclipse platform (Old Version) and I in the latest version, when the teacher uses the command: android.id in it all, but if I type this line I have to use android:id for the command to wo...
asked by 23.06.2015 / 20:08
2
answers

Error opening emulator in Android Studio

I'm having an error here in Android Studio, when I debuggar the App in the emulator, it does not open and the following error appears:    "EMULATOR: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is...
asked by 25.09.2015 / 01:08
2
answers

Parameter passing using "String [] args" declared in main [closed]

I've been looking at the Oracle documentation, examples of file copies, with their attributes in various ways ... Within this search I came across a strange thing that was the parameter passing that was being made, which was the variable " args...
asked by 22.09.2015 / 20:10
2
answers

Java - Enter Function

In the system there is a field, the person needs to fill in this field and then press enter. When you press enter, the system performs a check and then opens a JOptionpane asking you to select: yes , no , ok etc. The person pres...
asked by 25.09.2015 / 15:30
1
answer

Render report in Java

I'm doing a swing system as a college job and at the end of every cycle of days the program wanted it to generate a report. Does anyone know how it works to mount report in Java?     
asked by 24.09.2015 / 12:06
1
answer

Microservices with Springboot

I started developing an application using the microservices concept and I still have many doubts. I have repositories and their respective entities, the submissions of the requests work correctly however when I finish the application and start...
asked by 07.07.2015 / 21:24
2
answers

Based on a date, know what week of the year

Considering that 1 year is 12 months and that each month has 30 days (even February), and that January 1 belongs to week 1 and December 30 to week 52, create a method that upon receiving a date (in the case a day and a month because the year doe...
asked by 06.06.2015 / 18:44
1
answer

How to change point by comma in java and type BigDecimal?

I am a beginner in java and am in doubt about type BigDecimal , because it accepts values with points and not with commas. I'm developing software for video rental and I want to save the value of my movie category with comma and not with d...
asked by 09.10.2015 / 16:50
1
answer

How to determine the size of a JLabel?

I'm creating a program, and I'm making its menu. But to make the menu, I need to create a button and I'm creating this button using images with JLabel and using MouseListener . However, I need to know how to determine the size of...
asked by 03.06.2015 / 01:21
1
answer

Java - Disk Reader (Linux)

Good evening, I was looking at how we can open the disk reader in Windows using Java there are several ways to even use vbs. I wanted to know if I need to use any library on Linux or if I can do it directly by some command. Could someon...
asked by 13.10.2015 / 01:40