how to create an array of images in java??

I am trying to initialise a deck of cards, and display them (I have the images in .gif). The only problem I've encou...

ERROR: “Syntax error on token ”;“, , expected” Why??

I am going crazy now. Googled this, thought some kind of IDE bug. Maybe I am blind and can not see something...but t...

How to input text into tinceMCE editior using selenium/webdriver?

I am trying to automatically insert some text using Selenium/Webdriver into a text box created using tinymce The te...

How to parse XML with jsoup?

I am trying to parse XML with jsoup, but I can't find any examples on this task. My XML document looks like this: ...

Can't execute jar- file: “no main manifest attribute”?

I have installed an application, when I try to run it (it's an executable jar) nothing happens. When I run it from t...

How can I print to the same line??

I want to print a progress bar like so: [# ] 1% [## ] 10% [########## ...

Creating a student arraylist to add students to course class Java?

Im trying to create a student arraylist to a a course class so that when a student is added the arraylist is increas...

HttpSession not Working??

I used java main servlet to create the session variable. But i am unable to access that session variable from j...

Attaching additional javadoc in Intellij IDEA?

When I use quick documentaion lookup (Ctrl+Q) on j2ee classes or annotations in IDEA I only get an empty javadoc. It...

What is temp and what is the use of temp in java??

I am getting started to learn Java and I wrote a simple array example program, public class ExampleArray { pub...

Declare an array in java without size?

Hello am trying to declare an array in java but i do not want the array to have a specific size because each time th...

How to convert byte array to unsigned 128 bit integer in Java??

I am trying to hash strings using MD5. I need the hashed value as a 128 bit unsigned integer in Java. MessageDigest...

org.openqa.selenium.NoSuchElementException Unable to locate element:method“:”link text“,”selector“:”http://?

I'm unable to locate the element using any of the locator techniques. So far I've tried- By.linkText, By.cssSelecto...

How can I get the edge label and value in JUNG??

I have problem with JUNG and edge (vertex) labels. My application is based on JUNG. It needs to calculate some valu...