Java is an object-oriented language and runtime environment (JRE). Java programs are platform independent, because they are compiled to bytecode and their execution is handled by a Virtual Machine called the Java VM or JVM.

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

0
votes
1answer
19 views

how to accept string array in java using bufferedreader

public static void accept_name( String[] name, int[] r) { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader ab = new BufferedReader(isr); r = new int[40]; name = ...
0
votes
0answers
6 views

use pygtk for android apps development

I want to use pygtk app for android app development. I want to use app like pygtk which will have easy drag and drop options for developing the front end for android application. Is there any of ...
0
votes
0answers
19 views

Error when i try launching my android aplication (A viewFlipper)

I have made an app which takes the photos from the SDcard and puts them on a ViewFlipper, but when i launch it, it suddenly stops. I have no errors in eclipse(ițs an android app). Here is the ...
0
votes
1answer
13 views

Why is VisualVM always be connecting

I try to use visual vm to profile my web app served with jetty. But Visual VM is always be connecting... Cannot connect to the local process and show the diagram. I am use archlinux latest version ...
0
votes
2answers
20 views

Trouble saving arraylist into a file

I have the following code that I call from main. The trouble with the code, it saves the products as follows: 1,ipad,499.0,ELECTRONICS 1,ipad,499.0,ELECTRONICS 2,Java Ebook,19.99,BOOK I don't ...
0
votes
0answers
9 views

How to make a button: 1. activate a bean's method and 2. navigate to a bookmarkable (!) location

h:button can navigate to a bookmarkable link, but can not call beans' methods h:commandButton can make calls to beans' methods, and can use action attribute to navigate to somewhere but it wont be a ...
0
votes
0answers
18 views

Is there an easy way for dynamically loading a class that extends an abstract class?

Problem: I have an abstract class that external users can implement. These classes will be used in my application. However I do not know these classes beforehand. I would like to load them during ...
0
votes
0answers
22 views

Constructor Error when calling Inner Class - Java

When trying to call an inner-class, I am getting 'cannot find symbol - constructor Node()'. Below is my code: public class Compress { ... public void compress(InputStream in, OutputStream out) ...
-1
votes
1answer
17 views

Access protected fields of a subclass in a superclass?

Is it possible to access a protected member from Subclass in a SuperClass using reflection? private void accessFields() { Field[] fields = this.getClass().getDeclaredFields(); for(Field field ...
0
votes
1answer
14 views

Class invariants within code

I am wondering if there is a definitive procedure in determining invariant for a specific class or does it change on a case by case basis? Obviously it depends on certain variables and require ...
0
votes
0answers
15 views

Callback url not taking back to activity

public static final String CALLBACK_SCHEME = "http"; public static final String CALLBACK_URL = CALLBACK_SCHEME + "://devbeee.ca"; <activity android:name=".TwitterTokenActivity" ...
0
votes
0answers
18 views

No resource identifier found for attribute 'preset_size'

<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:facebook="http://schemas.android.com/apk/res/com.facebook.widget" ...
0
votes
0answers
7 views

How to implement pan boundaries for custom view

I am trying to put pan/scroll boundaries on a custom view that I have made. My custom view is essentially a grid of lines drawn onto the canvas in the onDraw method. Panning itself works fine and is ...
1
vote
2answers
16 views

convert html table and divs into line breaks in java

Given a chunk of HTML that displays data nicely in and , how can I remove all the html tags and append text originally wrapped in td, div with a linebreak in Java? Basically it would be an attempt ...
0
votes
0answers
9 views

persistence not working with Ebeans in Play Framework 2

If I use the method Ebean.save(modelObject) in one model object, it save its content into the respective database table, if I use this method again, the Ebeans try to save the save object again, ...

1 2 3 4 5 28452
15 30 50 per page