Questions tagged as 'java'

1
answer

Exercise vector, need help?

   Question: Read two vectors: R of 5 elements and S of 10 elements. generate   a 15-element vector X whose first 5 positions contain the   elements of R and the last 10 positions, the elements of S. Write the   vector X. First put the value...
asked by 24.06.2017 / 03:09
1
answer

How to remove Java Persistence entity classes mapped to a deleted project?

Database entity classes mapped to a previous project that was deleted continue to appear if I create a new project with the same name. How to solve with Netbeans 8.2 and Glassfish 4.1 Enterprise application?     
asked by 28.06.2017 / 15:11
1
answer

How to connect a Java application to the Mysql-in App on Azure? [closed]

How to connect an application via url to Mysql bank (Myslq-inApp) within azure? String urlLOCAL = "jdbc:mysql://localhost:3306/crudjsp"; String urlAzure = "jdbc:"; Class.forName("com.mysql.jdbc.Driver"); Con...
asked by 17.06.2017 / 02:15
1
answer

Mysql JDBC Connection Error in Eclipse

I am trying to connect the mysql database from my JAVA application. But I get this message:    org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 31 28: String action=""; 29: 30:...
asked by 16.06.2017 / 20:41
1
answer

How to add values from one array to another in reverse? [closed]

Read a vector D of 10 elements. Create a vector E, with all the elements of D in order inverse, that is, the last element will become the first, the penultimate will be the second and so onwards. Write any vector D and any vector E. Can anybody...
asked by 24.06.2017 / 02:11
0
answers

Overwrite an html code from an Android Studio webview

I have a java code, where the function is simply to generate a web page with the basic navigation functions, what I want is to change a part of the html code. html code: WhatIwanttochangeinhtml:<tablewidth="match_parent" class="mSimple...
asked by 28.12.2018 / 19:48
1
answer

How do I attach a JMenuBar to the top of the JFrame? [closed]

I forgot how to do this, I remember that I have to put a BorderLayout(... NORTH); . How do I put JMenuBar in JFrame ?     
asked by 13.05.2017 / 22:26
1
answer

Comparison of data after nextLine java [duplicate]

I'm not able to make my verification structure work, I can not get past typing stop, display the message, and the program continues loop . / *      * To change this license header, choose License Headers in Project Properties.      *...
asked by 31.10.2018 / 21:10
1
answer

Java Web with Primefaces and Hibernate [closed]

I'm having problems with PrimeFaces Dialog. I have a Dialog that will appear when clicking a commandButton, in the oncomplete method, of a dataTable. This Dialog will have another dataTable that will also have another button to open another dial...
asked by 25.10.2018 / 16:51
1
answer

How do I display attributes of an object stored in a vector?

I'm doing a job that consists of a fictional real estate. In this program there is a class called principal where it receives Property (Class) and stores the real estate in a vector, a real estate class that has method of registering the real es...
asked by 27.10.2018 / 02:24