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
2 views
How can I import XPDL files into WADE and process it as WADE workflow?
My question is how can I import XPDL files into WADE system to process them as workflows. Does add-on exist to do this?
Thank you!
1
vote
0answers
7 views
Service Executing SMS at Incorrect Intervals
I've written an application which checks a user's mobile and wifi data usage and sends to VIA sms - however the SMS message is being sent every 15 seconds (as the service repeats) instead of checking ...
0
votes
0answers
5 views
HtmlUnit throws exception for submitting button in the login page
I want to login to my yahoo email using htmlunit in java, I have try to use many different ways to log in but neither seem to be working for me. It seems to be the submit button the problem. Please ...
0
votes
0answers
11 views
Adding components via reflection in swing?
This is probably a very silly way to go about things, but say we had a class with lots of Fields that were components, how would one go about adding them in a for each loop with reflection?
Here is ...
0
votes
0answers
5 views
Google Map in a WebView for android
I'd like to use Google's web-based javascript map api because it supports heatmaps as opposed to google's android map api. To do this, I will make a WebView object and load an html/javascript document ...
0
votes
0answers
11 views
Method to keep object inside of oval failing
This method is run during a larger simulation I am developing. Essentially this Gladiator object is moving around on a screen screenX by screenY (my variablea are set to 1000,720). Gladiator.center[0] ...
0
votes
2answers
13 views
getResourceAsStream class vs getClass()
I'm maintaining a piece of code and I'm not sure a condition.
resourceStream = StorageEngine.class.getResourceAsStream(resourceFile);
if (resourceStream == null) {
log.info("StorageEngine: didn't ...
0
votes
1answer
12 views
Spring - Hibernate 3 and 4 integration
I have recently started using Spring 3.2.X which provides integration with both hibernate 3 and 4 as part of the same spring-orm.jar. Since hibernate 4 is quite different to 3 in terms of interface ...
0
votes
0answers
9 views
Android: Memory friendly modification of image bytes
I'm currently making an Android App that modifies some bytes of an image. For this, I've written this code:
Bitmap bmp = BitmapFactory.decodeStream(new FileInputStream(path));
ByteBuffer buffer = ...
0
votes
3answers
17 views
MouseAdapter class
I have problem when want to get mouse click count using mouse adapter class and having an error like this :
Exception in thread "AWT-EventQueue-0" java.util.FormatFlagsConversionMismatchException: ...
0
votes
2answers
26 views
C++ or Java Library for automated code editing?
I am writing/planning to write a program that takes in a java file (or multiple java files), and edits and adds functions/classes/variables and then outputs a new java file (or multiple files).
Is ...
0
votes
1answer
10 views
how to download apk file to nand flash internal memory not having SD Card?
My code for downloading apk to SD card which is working fine in emulator and android devices having SD Card. I m developing app for android stick which has Nand Flash/Internal Flash not SD card.How ...
-2
votes
3answers
46 views
Passing String Values to a method
Sorry I'm getting very confused with my program in which I am trying to call a method which returns an int, but to which I want to pass to string variables. I already got the code in the method ...
2
votes
4answers
44 views
I need to know what is the control flow and what exactly is happening in this code?
I wrote this code:
class A {
int a;
void method() {
System.out.println("Overridden method of Class A called!");
}
void method2() {
System.out.println("Normal Method ...
0
votes
0answers
23 views
Why can I not change the ArrayList from my Entity Class?
In my small game I am trying to get the collision to identify and remove a Entity and then spawn a new one. I cannot change the two array lists "removeList" and "entities" as the collision code seems ...