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
9 views

Extract predefined keywords from text

I have a set of predefined keywords stored in mongodb. I have another collection "profile" in mongodb having thousands of records, each record has a String field "comments". For each record in ...
-1
votes
0answers
5 views

mixare augmented reality android application for assistance to navigation

I want to develop augmented reality android application which helps the user to get more information about the place where he is I mean if he is in a train station the application will show him ...
1
vote
5answers
66 views

equals() and == for the class object

I have enumeration emulation class. Both objects in main p and pp are passing == and equals test. Both tests are passed in case when p = PacketType.None; pp = PacketType.None; and both prints ...
0
votes
0answers
10 views

easiest way to programmatically estimate the google search result count?

I want to get the estimated result count for certain Google search engine queries in Java. I need to do only very few queries per day, so at first “Google Search Engine”, though deprecated, seemed ...
0
votes
0answers
13 views

Multiple search from HTML table

<script type="text/javascript"> function doSearch() { var searchText = document.getElementById('searchTerm').value; var targetTable = document.getElementById('dataTable'); ...
0
votes
0answers
9 views

how to map an array of custom type from postgres to java using hibernate

I am trying to map an array of custom type returned by a postgres procedure to the java I have a custom type in postgres as CREATE TYPE public.customtype_sample AS( sampleid bigint, ...
1
vote
0answers
7 views

Andriod .M3U8 Video Streaming using Vitamio 4.0

I have downloaded the Sample App from this URL http://www.vitamio.org/en/Download/ Using the Sample App,i'm able to play my Live TV Streaming on Andriod Emulator. But My Issue is i'm able to play ...
0
votes
0answers
15 views

Transaction not succefully started

I'm tryin' to pass date parametters to my application but i have some difficults My DAO looks like this: @Override public List <Object[]>getMontantParVehicule(Date d1,Date d2) { Session ...
0
votes
2answers
30 views

When to use `actionListner` and `action`? And which one will gets executed first?

I am new to Java. I have following doubt. When to use actionListner and action? And which one will gets executed first? Can some one explain in simple steps??
0
votes
0answers
10 views

How to set the line spacing in a JtextPane?

First of all, i set the JTextPane like this: HTMLEditorKit editorKit = new HTMLEditorKit(); HTMLDocument document = (HTMLDocument) editorKit.createDefaultDocument(); JTextPane textPane = new ...
-5
votes
0answers
24 views

Scriplets to JSTL

How can i convert this into JSTL <% ObjectMap om = ObjectMapHolder.getInstance().getOm(); %> <% for(Iterator beansItr = keys.iterator();beansItr.hasNext();) { TabInfo ...
0
votes
0answers
14 views

Element not found error while selecting dropdown in Java selenium

Here is the code i have written I get the below error when the weblist selects second user from drop down the Error is Caused by Element not found in the cache - perhaps the page has changed since it ...
-1
votes
0answers
14 views

how to Gather Operation Logs from Azure using API

Can anyone help to code "how to Gather Operation Logs from Azure using API" in java. help/advice is appreciated, Thanks in advance.. Anite
0
votes
4answers
32 views

Initializing Fields Value in Constructor Versus in Fields Declaration [duplicate]

As we know, in java and some other object-oriented programming languages, fields value can be set in constructor or be initialized in fields declaration statements. I want to know the essential ...
0
votes
0answers
19 views

Start Fragment from FragmentActivity

I have my MainActivity where i'm using Scrollable Tabs + Swipe. I wanted set each page with a different class and his layout but i don't know how to do. My Code: public class SectionsPagerAdapter ...

1 2 3 4 5 30499
15 30 50 per page