Questions tagged as 'java'

1
answer

Fill a figure in Java

How can I fill in the figure I draw in java when I made the figure with only g.drawLine? import java.awt.*; import javax.swing.*; class Corazon extends Frame{ public static void main(String[]args) { Corazon p=new Corazon();...
asked by 07.02.2017 / 22:24
1
answer

How can I go through all the editText of LinearLayout?

Hello guys, this time I would like to collaborate on the way in which all the EditText of a Linearlayout are covered: here my XML code still has nothing in Java: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http...
asked by 14.02.2017 / 15:55
1
answer

Fill a JTable with a three-dimensional array?

I have a three-dimensional arrangement in Java : arreglo[numerodetablas][][] The first dimension determines the number of tables and the others are the dimensions of each table. How to program this in tables JTable ?     
asked by 14.03.2017 / 00:30
1
answer

Applications of one-dimensional and multidimensional arrays?

What are the java applications of one-dimensional and multidimensional arrays? If you could cite codes to understand this topic, it would be perfect.     
asked by 15.03.2017 / 00:16
1
answer

Can I use a FOR cycle in my program?

I am doing a program that captures names and qualifications, you must capture 3 qualifications by name and then print the name along with the average of your 3 qualifications. My question is. A for loop and arrays can be used to store them in a...
asked by 09.02.2017 / 22:13
1
answer

Problems when deploying a web application

Hello, how are you? Good afternoon, I hope and you are well! I have the following problem: I can not deploy the application and it generates an error message; by this means I will send you a Screenshot of the error that appears to me and here...
asked by 19.01.2017 / 21:21
1
answer

I do not like the drop table with the Statement or PreparedStatement

I have this code to delete a table, in the same way, I have two more to insert data or delete them and they are barbarous, but this delete table is impossible, I do not know what happens, I used even with Statement and nothing. PreparedS...
asked by 18.03.2017 / 18:46
1
answer

Remove selection from a row of a JTable - Java

When I click on a row, all that row is selected but I would like to know how to do so that when I click on another place outside the Jtable the selection is removed, I share the code I use to select the row and an image. tbDocTransferir.setCol...
asked by 19.01.2017 / 14:21
1
answer

com.mysql.jdbc.jdbc2.optional.MysqlDataSource Error

I have a RESTful service created in Netbeans that connects to a remote mysql database. In local the service works well, but when I deploy it to the remote Glassfish server I get this error: > Error occurred during deployment: Exception whil...
asked by 17.03.2017 / 16:40
1
answer

Consume local web service from my android device

I am working with a Web Service made in ASP.NET, the problem is that I can not run the url localhost from my android device, I used the IP address of my computer in this way in the mobile browser: link or link but do not there's an answer, I...
asked by 29.04.2017 / 08:29