Questions tagged as 'java'

0
answers

Wide table word java

I have: XWPFTable header = document.createTable(1 , 2); header.getRow(0).getCell(0).setColor("dbdbdb") header.getRow(0).getCell(0).setText("titulo") header.getRow(0).getCell(1).setText("valor1") When the word is generated, the width of the...
asked by 03.05.2017 / 10:28
0
answers

problem with the visibility of a list in a table

the list contains some records and when you click it, it is added to the table but the table is superimposed on the list I do not know if there is a property of the table that allows me to remove that or the list so that it does not happen...
asked by 14.04.2017 / 15:12
1
answer

Problems with ActionListener JAVA

Good I have a problem for a Java application for the Uni I am new to Java and I would like to ask for some help, it is a simple button to operate the division of two numbers and display them on the screen with a small check to show if that the u...
asked by 15.04.2017 / 23:04
2
answers

If on Jframe Netbeans

I have a doubt I have executed this program in which in netbeans it makes a judgment that if money is less than total it leaves cantidad no suficiente and, if you re-enter it, and this time it is enough, then the invoice will come out ....
asked by 15.04.2017 / 23:22
2
answers

Run .jar on MacOS

I have a question and I can not run .jar files on my mac. The file is xlogo.jar is downloaded from the official website: link is to teach children the basics of programming . In theory, it should be executed just by double clicking on the file...
asked by 29.04.2017 / 11:46
0
answers

AlarmManager: problems with set and cancel

I am starting to create an activity to manage alarms for an application. The problem is that when entering the set and cancel methods it says "Can not resolve symbol 'set'" and "Can not resolve symbol 'cancel'" respectively. Let's see if anyone...
asked by 30.04.2017 / 16:41
1
answer

I am failing to upload an image by Glide. The specified child already has a parent. You must call removeView () on the child's parent first

Good, I'm trying to add an image in the application through Glide or piccasa and it gives me both the same error and I do not know why - The specified child already has a parent. You must call removeView () on the child's first parent. I t...
asked by 30.04.2017 / 20:51
3
answers

Check equality of two ArrayList

I have two ArrayList objects (using Java), each object with several attributes of different type. I would like to know if these two ArrayList contain the same objects (neither more nor less), with the same values. The order is indifferent. I...
asked by 18.04.2017 / 07:14
3
answers

error: incompatible types: Object can not be converted to Graph

I'm relatively new to programming on android with Android Studio and I was doing the tutorial that I show in the link. However, I got stuck because it gives me an error when I make the following for loop: for (Grafico asteroide: Asteroide...
asked by 18.04.2017 / 15:45
0
answers

How can I manage items with different views in a list on Android? [closed]

I want to create a list with elements that have different views ( View ) with their own layouts . For example: an element with texts, and another with an image. I have not found documentation in Spanish on the subject. There is a possi...
asked by 19.04.2017 / 17:50