Questions tagged as 'java'

2
answers

Item chosen in Spinner, be a global variable

Good afternoon guys, I have an activity that has a Spinner, the value chosen in that Spinner is sent to another activity where I do the getIntent and I get the Spinner value, my doubt is, I would like to turn the Received Item into a global v...
asked by 20.02.2016 / 19:08
2
answers

Wildfly error: [org.jboss.remoting.remote.connection] (XNIO-1 I / O-2) JBREM000200: Remote connection failed

When trying to run a project by Eclipse Mars using Wildfly 9 in Windows 10, the following error occurs: 11:25:08,167 ERROR [org.jboss.remoting.remote.connection] (XNIO-1 I/O-2) JBREM000200: Remote connection failed: java.io.IOException: Uma co...
asked by 18.12.2015 / 15:54
0
answers

How to send a message through Facebook Messenger? [closed]

I'm making an Android application that needs to send a message through Facebook Messenger. My application is already integrated with WhatsApp ... by Whats I always check if the application is installed, if yes, I open the already formatted me...
asked by 19.12.2015 / 12:20
1
answer

Doubts about the jTextArea.append (add the value of the 'area' variable to the BorderLayout) - Java

I have a problem in a line of code, in this line that is underlined in the image, it gives me an error that says that the coordinates x1, y1, x2, y2 must be static, it happens that this application consists of drawing a rectangle with the mouse,...
asked by 27.12.2015 / 23:46
0
answers

JavaFX takes to open the first time [closed]

I have a relatively complex GUI class that inherits from Tab. When I create an instance of it, it builds the menus and GUI in direct code, without fxml . It uses icons in external png, but the program loads icons early. The problem is that th...
asked by 26.12.2015 / 20:09
1
answer

Why is null returned when accessing the managedBean resource?

I'm having trouble accessing methods and attributes on a Managedbean. I'm using JSF and the Glassfish server, I've already used a similar architecture that I'm using however on a Tomcat server. I would like to know if anyone has ever had a pr...
asked by 28.12.2015 / 03:37
0
answers

Library problems on the JBoss server

I have a strange problem, my application works perfectly in NetBeans, but when I upload to the server it is giving error, says it can not find some libraries. I found it very strange considering that all libraries are in the classpath and that...
asked by 24.02.2016 / 00:15
0
answers

How to configure DB through an environment variable?

I have a JSP application on multiple clients. Currently the database configuration is in a variavel.propriet file, and I get through the private static String getUrlBanco() { ResourceBundle b = ResourceBundle.getBundle("Base.vari...
asked by 24.02.2016 / 13:05
0
answers

Error fetching WebService

I'm trying to create a Webservice REST, however I'm having trouble returning the result. At the time Webservice returns the information, it issues the following error: 2016-02-24T00:09:50.259-0300|Advertência: StandardWrapperValve[br.com.servi...
asked by 23.02.2016 / 17:33
0
answers

Socket communication error

I have this code snippet: public class Consulta extends AsyncTask<Void, Void, Void> { @Override protected Void doInBackground(Void... params) { try { Socket cliente = new Socket("10.20.1.100", 12345);...
asked by 22.02.2016 / 15:00