Java, not to be confused with JavaScript, is an object-oriented language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM).

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

0
votes
0answers
2 views

Selenium WebDriver cannot click on element (works only on 1 of 2 pcs)

I'm using Chrome and Selenium with Java to do some automation testing. What could be the issue for getting the element cannot be clicked at x, y on 1 machine, but working perfectly on another? The ...
0
votes
0answers
2 views

How to implement Spring batch remoting and still maintain order of writing?

I am new to Spring Batch and have just begun to conduct a POC to prove that Spring Batch is capable of processing 1m records in a hour. The architecture however demands that we demonstrate ...
0
votes
0answers
4 views

Required field in model

Before I was using Python NDB API and there was required attribute which I can set on properties. I can't find anything similar in Objectify documentation. How to do that with Objectify?
2
votes
3answers
12 views

Query regarding read-write locks

I am delving on the java concurrent APIs and trying to understand the usefulness of read-write locks. The javadoc says that a readwrite block maintains a pair of locks, one for read and the other for ...
1
vote
0answers
6 views

Hibernate 3 XML MAPPING

I need to have an id starting with '10001'. How do I set an initial value for an auto increment primary key in mapping file?
1
vote
1answer
6 views

How to move words which dont fit automatically to next line in a libgdx label?

I have a really long sentence. Should I use some other widget than Label? When I set the Label's text to a really large sentence, the words which are after the maxwidth of the label, get chopped of. ...
1
vote
0answers
8 views

Custom display of JScrollPane's actual scroll bars (make transparent)

I have a text area with a JScrollPane and am tailoring the display with things like; JTextArea text = new JTextArea(); text.setOpaque(false); text.setFont(...); ...
1
vote
1answer
32 views

Building App using maven

While building Android APP using maven I am getting exception below > [ERROR] Cannot add resources from > ~/.m2/repository/com/inmobi/androidsdk/AdNetwork/3.5.4/AdNetwork-3.5.4.jar > ...
0
votes
0answers
7 views

Alternative for some of Struts1 methods in Struts2

I write some methods to achieve Struts 1 methods in Struts 2 Struts 1 : ActionForward new ActionForward("/home/ShowPage.do?page=edit",true); Same I did in Struts 2: public String ...
0
votes
0answers
9 views

expandablelistview disappear when group collapse

I'm trying to use expandablelistview in my android app, the problem is that when I click a EXPANDED group the whole expandablelistview disappear, does anyone had the same problem and knows how to fix ...
0
votes
0answers
6 views

Get File from ITreeSelection

I currently develop a Eclipse Plug-in. Therefore I need to know the currently selected File in the Project (not in runtime Environment). Till now I get the selection from Eclipse and I know that the ...
0
votes
0answers
6 views

Selenium - Get and compare specified length of text from web element

The scenario goes like this... There's dynamic text within a web element that sometimes contains "..." at the end, due to it's length. e.g The quick brown fox... I would like to be able to extract ...
0
votes
1answer
58 views

How to replace a String of text from a text file with an ArrayList from user input

I have a text file “test.txt” in which I store student details such as I.D number and course taken. I want new students to be added immediately before the line that with “LASTSTUDENTEENTRYLINE”. The ...
1
vote
0answers
17 views

I am unable to record voice by using the following program with applet in java

I GOT THIS CODE FROM HERE I am using the following program to record voice.But when i click on record voice is not recording.I am not getting any errors.What might be the problem. //imports //Main ...
0
votes
0answers
13 views

Difference EJB, Managed Bean, when should I use each of them

I am a beginner in developing webapplication with JSF. So I don't understand the difference between EJB and Managed Bean. When should I use each of them. Example please. Thank you. regards Tobias

1 2 3 4 5 30454
15 30 50 per page