Questions tagged as 'java'

1
answer

in eclipse how to generate a project jar file?

In eclipse how to generate a .jar project file to use in another application     
asked by 09.03.2015 / 02:25
1
answer

Demoiselle on OpenJDK

I heard that Demoiselle does not work with OpenJDK. Is it true? Even for OpenJDK 7? Are there plans or work in progress so that Demoiselle can be used with OpenJDK, at least from version 7 onwards? Note: As of Java 7, OpenJDK is the ref...
asked by 24.03.2015 / 22:15
1
answer

APP Communication with Web Server

I'd like to know how best to make my mobile / android application communicate with a web server (apache / php, for example) to receive / send data. The idea is to have my mobile application from time to time consult the web server to get data...
asked by 10.03.2015 / 18:21
2
answers

Take screenscreen on Android by API

I have an app and one of the functions would take printscreen from the screen. How to do this?     
asked by 21.03.2015 / 18:42
1
answer

Size of an ArrayList

In Java ... What is the initial size of a ArrayList ? Attaining the maximum size, when it "expands", is its size doubled?
asked by 13.03.2015 / 20:12
2
answers

How to assemble logic to read 2 files, compare them and extract missing values

I have 2 files .txt , one of them is a correct list of cities (contain all the cities of the country, written correctly) and the other, also a list of cities but with some wrong data (this list suffered insertions of the user, so it has er...
asked by 16.01.2015 / 13:57
1
answer

How to solve java.lang.NullPointerException?

I created the class Server ! However, an exception of type java.lang.NullPointerException is thrown! Could anyone help me with this problem? The class is as follows: public class Server { public static final int SERVERPORT...
asked by 15.01.2015 / 02:17
2
answers

What allows Java to find out what the main class is in a .jar

As Java does to find out which is the main class in a file .jar     
asked by 27.10.2015 / 15:54
2
answers

How do I login to a system through an HTTP request?

I am performing an HTTPS get request for the next address , my initial intention is to receive the html data from the page. I followed the Mkyong tutorial, but I get the answer 302, I do not know what I'm doing wrong, I've added the necessary...
asked by 15.06.2015 / 00:18
1
answer

Capture clipboard in Windows with JAVA

Is there a way to capture the clipboard in a Windows environment with Java? I can capture the screen, but I would like to capture the clipboard (that's what stays in memory when doing CTRL + C, for example). A simple tip is enough for me....
asked by 19.06.2015 / 15:42