Java is an object-oriented language and runtime environment (JRE). Java programs are platform independent, because they are compiled to bytecode and their execution is handled by a Virtual Machine called the Java VM or JVM.

learn more… | top users | synonyms (5) | java jobs

0
votes
0answers
12 views

Library to get data from website

I need to write application which login into website, click tab, click row in this tab(then page will be reload) and copy data from loaded page to a file. I think about C++ + QtWebkit or Java ...
0
votes
0answers
2 views

how to Pass Object on between Portlet (IPC) Liferay portlet

I need Help..and it's really confusing..I've Tried to follow all example on the web about IPC..Pass Parameter between portlet using event... normally here's my code if I want only want to pass my ...
0
votes
0answers
12 views

How do I stop a running music thread in Java?

I have a class that plays background music on infinite loop for a game. I want it to stop when another class calls the stopPlaying() method on the BackgroundMusic object. According to Oracle docs, ...
0
votes
1answer
9 views

Windows password and groups

Is it possible to change user password and/or group using Java. The user who is running the java code have administrator privileges. And can using java obtain list of windows users.
0
votes
0answers
10 views

Use rules from weka inside Java code

I'm using rules generated by classifiers from weka. These rules are generated in one String by Weka and in each different case of rules I have to implement each one (i.e manually, in Java). I think ...
0
votes
0answers
8 views

Access distributed cache on AWS

I have a local MapReduce job where I am accessing the Distributed Cache from main. I add the following line to my Configuration object. conf.addResource(new ...
3
votes
2answers
31 views

Regex for phone number with standard phone number with brackets

This is a question on RegEx in Java. I have looked everywhere but could not find anything similar to what I needed. Also, I have spent hours trying on my own. I am on the last portion of a school lab ...
-3
votes
1answer
23 views

Uniformly random array

people. I need to generate 2-dimention array with completly uniformness, for example: 1 3 2 3 4 6 4 3 2 4, i.e. with little difference between neighbours. 1 2 1 2 3 2 3 4 2 How can I realize ...
-3
votes
2answers
41 views

Explanation as to why the constructor is undefined?

I'm getting the error The constructor Button(Class<Regular>) is undefined. I can't seem to figure out why I'm getting this error, although I believe that I'm looking over some obscure detail ...
10
votes
2answers
47 views

Why does max number of threads decrease when I increase max heap size?

This test shows the max number of threads that can be created in Java System.out.println("Max memory " + Runtime.getRuntime().maxMemory() / 1024 / 1024 + "M"); Thread[] a = new ...
0
votes
0answers
21 views

Debugging help facebook hacakathon problemset

I am trying to implement one of the simpler questions that was on the facebook hackathon 2013 ...
0
votes
1answer
30 views

How to retrun [search] result as file location?

I'm working on Search able Dictionary. It uses SQLite database. Dictionary formats are like below (2 column separated by "-") Apple - One kind of fruit Cricket - One type of game Titanic - One type ...
0
votes
1answer
10 views

JSoup Selector internal text

I need to get " Text Here" and not "Paragraph" only using selectors How do i do it only using selector for JSoup? <div> Text Here <p>Paragraph</p> </div>
0
votes
0answers
9 views

Sending Multipart Form Data in Android

I have used the below code (taken from SO) to post some data to a PHP script: HttpClient httpClient = new DefaultHttpClient(); HttpPost httpPost = new HttpPost(Web.API_PREFIX_GENERAL + ...
-2
votes
1answer
15 views

cannot implement concurrent animation in applet

this z my first hand experience with applet animation. I have created a small game in which on the upper part of the applet a train of blocks has to keep moving and on d bottom derz a block dat has to ...

1 2 3 4 5 26962
15 30 50 per page