Questions tagged as 'java'

0
answers

Create login screen in xhtml with BD

I'm doing an academic job and I'm stuck for not doing it. At first I need to create a login screen in the index and with this consult the DB and check the user and with this move to the next page _. I'm using NetBeans 8.2, there we created...
asked by 20.04.2018 / 16:02
2
answers

Convert class to generic

I need to convert the code class below into a generic implementation using an ArrayList . Can anyone suggest a better way to do this? Code: public class ArrayStack { private int maxsize; Retirar essas 2 linhas… private int t...
asked by 19.04.2018 / 01:57
0
answers

Primefaces textEditor error while trying to insert image

I'm creating a form and it has a textEditor. eventually, when you attempt to insert an image into the editor, an error occurs. When you click on the button to insert the image and select, the dialog to search the image opens again, when you sele...
asked by 25.04.2018 / 22:26
0
answers

Dialog Framework does not open

I'm trying to open a ManagedBean dialog. I have a SelectOneMenu and depending on what the user selects, I call a method that is in charge of opening the correct Dialog. This is my xhtml <p:column headerText="Mecânica" style="text-align:...
asked by 26.04.2018 / 01:08
0
answers

Simpleadapter (JSON with sub items)

I'm new to Android development, and I'm trying to days to make my first app work but with no success. I am using AsyncTask to do the request and the SimpleAdapter, it up behind the data however my JSON has sub items. It's a JSON of comments wher...
asked by 26.04.2018 / 15:56
0
answers

How to run JADE (Java Agent DEvelopment Framework) in linux?

How to run JADE (Java Agent DEvelopment Framework) , is it a Framework for SMA, in the latest version of lubuntu? I'm using Lubuntu 32bits - 17.10.1. I'm having a problem running it on lubuntu (the pc I have available for use at the mom...
asked by 25.04.2018 / 12:10
1
answer

Error: java: Illegal char:

I'm having this error Error: java: Illegal char
asked by 30.04.2018 / 17:39
1
answer

How to update text in jTextArea?

How do I update the jTextArea ? I try to update it with the click of a button, but I can not. I want to add new texts along with the previous ones, but until then without success. I did the implementation on the terminal (System.out) and it wor...
asked by 30.04.2018 / 14:09
1
answer

Map json using jackson

I have a question on how to map a json to a model, I really have no idea which side to go to, I saw some material on the internet, but what I really lack is to really understand how it works there on the jackson part. my code is below, who can h...
asked by 17.04.2018 / 02:44
0
answers

Migrating from Tomcat to WebSphere

I'm currently developing my Java application locally (localhost) on Windows using Tomcat 8.5. Unfortunately I do not have a development environment and I have to do everything local and then go up to production via .WAR. The problem is tha...
asked by 17.04.2018 / 20:23