Questions tagged as 'java'

1
answer

Error converting value to JTable [closed]

I'm having an error passing value formatted to JTable , if anyone can help, thank you very much. This error only happens when I format the number, I would like to know how I can correct it. Code: private void calcularButtonActi...
asked by 23.08.2017 / 20:19
1
answer

Change screen (xml) with login button

I'm developing an application. You have the option to login. I wanted to know how to move to another xml layout when login and password validated. The login system is almost ready. I put it in the MainActivity , I made a private void...
asked by 16.10.2017 / 19:53
1
answer

Put Firebase link on every Android app button

I need the image button to take the Firebase link to download the application image. I'll introduce my App to be clearer. I have this app: IwasabletousethetextandimageoftheFirebaseDatabaseandFirebaseStore.Theyareappearingcorrectly. Iw...
asked by 19.10.2017 / 20:03
1
answer

Page does not list items

For some reason the XHTML page does not list the #{nomesMB.nomes} items. Codes: XHTML : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=...
asked by 19.07.2017 / 03:20
1
answer

Why is this result giving as 0 in Java? [closed]

I'm doing a program that has a small simple calculator, basically the user will have the mathematical expressions (+, -, *, /) and you can choose between one of them and then the result will appear on the screen. But for some reason it is not wo...
asked by 16.07.2017 / 04:39
1
answer

How can I execute a class (builds a JFrame with a browser) by means of an actionPerformed of a button? [closed]

I'm building a java application that has a browser built through a java class. I want to know how I can call this class (executable class) through an actionPerformed of a JButton, that is, when I click a button I want the browser to be built...
asked by 24.07.2017 / 17:43
2
answers

Validation API CEP and CPF in Java [closed]

Does anyone know of a Java API that validates CPF and zip code?     
asked by 26.07.2017 / 17:58
2
answers

Best way to receive date from the "keyboard" [closed]

Good morning, little gallery. I need to know how best to store dates in java. Example: In a clients class, I need to receive the CustomerDateDate, but for this I need to receive that date from the keyboard. What is the best way to do this?...
asked by 14.06.2018 / 05:53
1
answer

Jtable only accept float type numbers in your cell [closed]

I am using this code to accept only numbers in the jtable cell, but I would like to know how to accept . as well. Can someone help me? I'm using java language on the netbeans platform. TableColumn col = tabela.getColumnModel().getCol...
asked by 30.06.2017 / 16:16
1
answer

Java WEB paging

I have an application developed in Java Web and I need to know what is the best way to page registration in the grid and if, depending on how it was developed, I can have performance problems as a parameter of "Date" and if this can influence...
asked by 23.06.2017 / 19:34