Good morning. I have a String of binary numbers type "001010100101011111011010101101010000001110101011" in a file, which I read using the following code:
public String muestraContenido(String archivo) throws FileNotFoundException, IOExc...
I am deploying my project to Google App Engine , I am asked for authorization and the following appears:
The problem is that I do not know where I should put that code. Try to delete the file .appcfg_oauth2_tokens_java and...
I have a database with 6 tables T_cliente , T_hotel , T_reserva , T_tarcre , T_tarifa and T_tiphab .
Here is the UML diagram. What I do not know how to do, is to check if the room is available or not....
I am learning java I am doing a program where I ask for 5 birthdays with name, month and day, and sort them according to the number of the year and numerically, at the moment I only have the days month and names in 3 different arrays and 3 cycle...
I have the following code:
String cadena=JTextField.getText();
String[] split=cadena.split("\s");
String p1=split[0];
String p2=split[1];
String p3=split[2];
As you can see, the code separates the string into 3 words that are stored in the...
Hi, I'm having a problem when I implement a Scanner in a Switch structure. Here's an example of how I have my code.
Problem:
When I run the program I skip the case of the switch, it does not allow me to enter the data and the program con...
I have my Java program and I get a NullPointerException and I have seen other questions but they are from people with other programs and it does not work for my program and I want to leave here the 2,000 lines of my program so that you solve the...
I have a question about mysql + java , I'm doing a project that I need to use 3 tables, and use methods to call data in common, but I do not know how to do them in a way in which the 3 are related to make the queries.
Since I need a cu...
I have a method where users register, well, what I want if I put a USUARUI NAME like another, I get a message that says "User already registered with the same name"
Registration Method.
private void register(){
String user = etuser.getT...
When I run my application from jnlp I get this error, but when I run it from IDE it does not give me problems.
public class AplicacionMipe extends Application {
@Override
public void start(Stage stage) throws Exception {
Parent root...