Java 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 (5) | java jobs

0
votes
0answers
6 views

Server don't take cookies from http request

I'm developing an app for porting on mobile a business application. About cookies, i store them in sharedPreferences, and when application is launched, check this, take the cookie if there, put into a ...
0
votes
0answers
5 views

Java application path in Eclipse juno show wrong neet to set correct

I am using eclipse juno,tomcat6. I want to read the property file only by name. and path should be my current location. currenttly i have hard coded the path. ...
0
votes
0answers
11 views

How to run a set of tasks in parallel and wait until all of them are finished with java concurrency utils?

I have N tasks, I want them to be processed in parallel with N threads. I want to wait until all tasks are finished, store results, and then run next N tasks (and so on in a loop). Which abstractions ...
0
votes
1answer
13 views

Java - How can I paint on a JPanel from another class that extends the class that extends the JPanel?

Sorry that this question is worded so strangely, I couldn't think of any other way to say it. So I have the following class, with lots of stuff taken out just to show you what you should need to see. ...
0
votes
0answers
3 views

Creaing imageviewer with basic functionalities

I am looking forward to make a simple Image viewer like the default in windows or Picasa. I want to know which programming language should I choose like c,c++ or java. I have a little bit of knowledge ...
0
votes
0answers
17 views

Setting DateTime to Certain Value

I am using joda time to compare an array of dates. My goal is to go through the array and see what dates are missing. I plan on accomplishing this by assigning the first variable in the array to ...
0
votes
0answers
2 views

Spring + Websphere 8.5: Unable to lookup JNDI name [java:comp/websphere/ExtendedJTATransaction]

There is a Websphere AS 8.5 where runs XA Datasource. Also there is a Spring application which must work in this environment and connect to the datasource. An application context is loaded by a ...
0
votes
1answer
12 views

Why does suddenly 403 error occurs?

I'm using Spring Social to get some informations via the LinkedIn API. Everything works fine : I can connect to my application using LinkedIn, I can recover some granted informations about my ...
0
votes
0answers
11 views

Dectecting side collisions using rectangles in Java

This is my first week of Java, and I'm making a game that involves rectangles bouncing off of each other. The rx and ry are the coordinates of the rectangles, and the velRX and velRY are their x and y ...
0
votes
0answers
3 views

after updated NetBeans JavaFX-samples-2.2.21 DataApp throw compile error

I updated my NetBeans 7.3 via its Help Check Updates menu. After that I got compile error: error: InitialLoadEntityManagerProxy is not abstract and does not override abstract method ...
0
votes
1answer
9 views

ElementType.LOCAL_VARIABLE annotation type

I`d like to create my own annotations to annotate some local variable. To write the annotation is not the problem, the problem is to get the information of them at the Runtime. I could only get some ...
0
votes
2answers
14 views

setMinHeight is not working correctly in android.widget.TextView

I am new to Android development, and there is one thing I do not understand, probably this is a bug, but I really cannot believe that this one is present for such a long time. Please have a look here: ...
-1
votes
2answers
18 views

Calling Java class from JSP button onclick

I am trying to to call a Java class when a button gets clicked from JSP. inside my JSP file I have the following: <% Object name = session.getAttribute("name"); Object ext = ...
0
votes
1answer
15 views

Batch Download of Files in Java

In my application I need to download automatically many files via HTTP, possibly quite large. I want to implement something like "batch" behavior, when all files that need to be downloaded are put ...
0
votes
0answers
6 views

Android / Java: Asynch Tasks leaks / Robospice / AndroidAnnotations

As explained by manyt developers, the Asynch Tasks have an inconvenient : they induce leaks in some situations (for example, when the screen is rotated (and thus the activity restarted) during the ...

1 2 3 4 5 29151
15 30 50 per page