Questions tagged as 'java'

0
answers

Display Data in JTable with SOS parameter !!!

Hello guys, greetings from before anything. this time I need your support in a method I'm doing. I'm joining an inner join but no mysql tells me that the syntax is not correct the method shows me the data in a Jtable and search according t...
asked by 31.07.2018 / 18:53
0
answers

odftoolkit Simple api method not found (java)

I'm here to request a little help, if possible. I'm trying to create a file with odftoolkit (* .odt empty) with a password, but I'm not sure what the hell is going on. I have two options: -or create the file directly with a password usi...
asked by 31.07.2018 / 18:53
0
answers

How to pass image and text to an onclick listview

I am trying to pass infromation to a listview when the user clicks on a botton. Until now the written information is passed to the listview, but I would like to have a default image for each text and look something like: [[[ Imagen ]]] Texto a...
asked by 31.07.2018 / 18:26
0
answers

FILL Checkbox by default in JSF

I do not know how to do it. The only way I have is this: public void on NodeSelect (ValueChangeEvent event) { Boolean selected = (Boolean) event.getNewValue(); Long odmId = (Long)((UIInput) event.getSource()).getAttributes().get(ODM_...
asked by 30.07.2018 / 09:29
0
answers

Is it necessary to import the dependencies of a jar that is a dependency of my project?

When trying to use a jar (my own) in my project, gradle is causing me an error by not finding a dependency that uses the jar, should I import this dependency that is missing in my project? Why does this behavior happen? What is the good practice...
asked by 31.07.2018 / 18:59
0
answers

Error insert in DynamoDB

I'm having a problem when I insert in dynamodb. The problem comes because from the client (Angular5) I have to send an object to the server (SpringBoot), these objects have to be the same (same fields). Then I send the id of the Angular ob...
asked by 02.08.2018 / 11:25
0
answers

3D functions in java opengl

The question I have is how to make geometric figures by applying their mathematical formulas with java opengl, that is, assuming I want to make the hyperboloid with two sheets, whose formula is Should I do a for cycle inside the display fu...
asked by 25.08.2018 / 19:56
0
answers

App crashing in the portrait, null pointer exception in a Texview

In a project for Udacity, my app crashed upon reaching this line in my ui / ArticleDetailFragment class The app just crashes in portrait mode, a null pointer exception jumps. As you can see the reviewer leaves me a hint but I do not know h...
asked by 25.08.2018 / 16:05
3
answers

Element repeated elements in a .txt file

I have a file called let's say example.txt in which I have the following numbers. 1323 7445 1323 5345 3455 1323 And I was wondering how I could eliminate the repeated ones, in this case the number 1323 and let only one be left, so it looks...
asked by 25.08.2018 / 21:52
0
answers

How do I filter from Edit text to my recycler view, which loads the data from an array list to the card view?

what happens esque I want to make like a search engine from my EditText in the layout view, that shows me a reciclerView with a cardView I want that when writing something, my recycler view shows me the results comparing the data of the Array wi...
asked by 01.08.2018 / 05:38