Tagged Questions
Java is an object-oriented language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM).
0
votes
0answers
8 views
Force Eclipse to ignore tests classes for Java search
I've got following structure in Eclipse project
- /src/main/java
- /src/test/java
When I open call hierarchy or using java search, search result contains classes from /srs/test/java classes. ...
0
votes
1answer
11 views
How to sort the List<User> of names by using DitachedCriteria in hibernate?
Here, i am posting what i need from you!
DetachedCriteria criteria = DetachedCriteria.forEntityName(DomainEntity.tbl_user.toString);
criteria.addOrder(Order.asc("username"));
List<User> user = ...
0
votes
1answer
23 views
Typecasting in Javascript
How to convert the following Java code to JScript:
return ((IPOSBasket) basket).getOriginalCashierID();
When executing the above code in Java, it works fine. But if I try to execute as a JScript, I ...
-1
votes
1answer
19 views
How to detetct rotation in Android?
I have created media player in android application .But i don't know how to check whether the song play properly while screen rotation in and how to stop my media player while incoming and outgoing ...
-3
votes
0answers
8 views
Web service JSON data retrieval
I'm new to programming. Can I know how to retrieve data from "http://api.eventful.com/"? I have been trying different methods but it just can't display in my phone still. Please help!
0
votes
0answers
6 views
Calculate FFT from audio file
Before, I asked question about Get frequency wav audio using FFT and Complex class ,
There, I need to calculate FFT value from AudioRecord input --> from microphone , I somehow managed to get the FFT ...
0
votes
0answers
5 views
Strange interaction between R package XLConnect and choose.files()
I observe the following strange behaviour:
Using the R-console (2.15.2, Windows 7, 32 bit), I get:
> choose.files() # works fine here
character(0)
> library(XLConnect)
Lade nötiges Paket: ...
-1
votes
1answer
11 views
android JSON how to sms details
I am creating a mobile app, basically I have a Json which stores information about certain results, basically if I want to SMS a friend the details of those results, when I click on SMS to a friend ...
0
votes
0answers
10 views
Unable to add two buttons in a single cell in a JTable
I am trying to make a dynamic table that fetches data from a database and adds those data in separate rows..I want to add an extra cell with each row(dynamically) that contains two buttons...and on ...
1
vote
3answers
41 views
Creating an n-dimension Array in Java during runtime
I have a String which contains arrays. Example:
"[[1, 2], [4, 5], [7, 8]]"
Now, I want to make an actual Java array out of this. I have created a function to get the dimensions and a recursive ...
-1
votes
0answers
15 views
JVM terminated. Exit code=8.. How can i resolve it in Ubuntu?
I get this error from eclipse(installed on Ubuntu 13.04):
JVM terminated. Exit code=8
/usr/bin/java
-Xms40m
-Xmx512m
-jar ...
0
votes
0answers
4 views
Geotools com.vividsolutions.jts.geom.TopologyException: side location conflict
I do get this exception and have no idea what do I do wrong.
I've created two polygons using linear ring.
Then I try to find do the intersect or not.
I do get such exception:
...
-3
votes
0answers
27 views
How to playing mp3 using java? [on hold]
I want to ask, How to play mp3 using java programming other than using JMF library and JLayer?
is there a library for sound other than using it?
0
votes
0answers
13 views
org.apache.commons.jxpath.JXPathContext throwing a Exception
I am using JXpath to extract values from a object tree.While testing it locally I dint have any issues but when I integrated it with the application I am getting the below warning with the stacktrace
...
-3
votes
0answers
13 views
No space between words when extract text with coordinates from pdf using PDFBox
Please, when I extract text character by character from pdf file and then compine them to words and give the word the coordinate of first character I find in the output html file that there are no ...