Questions tagged as 'java'

1
answer

in the case of the lookandfeel when I use the setUndecorated (true) code does not work?

To remove the exit buttons, minimize and maximize use setUndecorated(true) and it does not work I did it using the netbeans interface in the same way it does not work as I can solve that problem thanks in advance. Note: I used N...
asked by 01.12.2017 / 06:13
2
answers

Split a query

I have a query from java a web services in c #, where I search all the data of a given id of a table and return it by means of a string to jtextfield, but I would like instead of showing the whole string in a single jtextfield will show me the d...
asked by 30.11.2017 / 06:50
1
answer

how to make a label follow the pointer, within a frame with a mouse event?

I have tried again and again to move a jlabel to the position where the pointer is located. for this I have captured the coordinates of the pointer and I have assigned them to my label. private void jPanel1MouseMoved(java.awt.event.MouseEv...
asked by 21.11.2017 / 22:57
0
answers

ManagedBean does not save data in setters

I am working with a JSF project in which we use several ManagedBean (1 for user login, another for user pre-registration and the last one for employee registration) The problem is that my login ManagedBean serves perfectly (it recognizes if ther...
asked by 23.11.2017 / 07:03
0
answers

helps read excel file in java

I need to store the information of an xls file, in an arraylist, getting its columns one by one, I currently get all the file information, but I have no idea how to save each row in an arraylist, actually this is what I have xls file format...
asked by 23.11.2017 / 08:18
0
answers

Error NLTK was unable to find the java file

I have a code written in Python that uses a particular tokenizer. In particular it is necessary to read a java file, which I have installed in the corresponding directory. german_postagger = StanfordPOSTagger(r'/Users/test/stanford-postagger/m...
asked by 26.11.2017 / 20:13
1
answer

"Javaee-endorsed-api-7.0" can not be found

Good morning the reason for my question is about an error that tells me neatbens javaee-endorsed-api-7.0 not found I'm trying to find information on how to solve but I find information is 6.0 but I someone works can tell me how to solve this p...
asked by 26.11.2017 / 18:26
1
answer

How to assign drawable image to an ImageView by code? [duplicate]

I try to assign an image of the drawable folder to an ImageView with the setImageResource method, but I do not know what the method takes to access R.drawable.image_name ImageView image; image.setImageResource("?");     
asked by 20.11.2017 / 00:56
2
answers

Create hollow rectangle java

I have a problem with an exercise that asks me to make a hollow rectangle made with asterisks, so that the height and width is entered by keyboard. The code I have is the following: public static void main(String[] args) { Scanner s...
asked by 20.11.2017 / 11:27
1
answer

How to save an image in SQLServer 2014 from Java using JPA?

I am trying to save an image that is selected from a user interface using the following code: private void botonSeleccionarActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your...
asked by 26.11.2017 / 17:12