Find swing component using ComponentFinder?

I have a code (swing): javax.swing.JButton loginbutton = new javax.swing.JButton("Login"); loginbutton.setName("Log...

How to fix java OutOfMemoryError: Java heap space from DataImportHandler??

I am trying to import a large dataset (41million records) into a new Solr index. I have setup the core, it works, I ...

Computing integer powers with a recursive divide-and-conquer algorithm?

I have implemented a recursive function to find m^n (m raised to the power n). Now I want to implement the same fun...

Is there any better way to do filefilter for many ext??

File files[] = rootDir.listFiles(new FileFilter() { public boolean accept(File file) { if (file.isDirect...

Why do we assign a parent reference to the child object in Java??

I am asking a quite simple question, but I am bit confused in this. Suppose I have a class Parent: public class Pa...

How to decode the percentile encoded byte[]?

I am sending a byte stream to the the rest service using the post method as follows : h = httplib2.Http(".cache") h...

Java referencing a class in the same directory?

I created a Pair class in Java (similar to the c++ pair) and am having trouble referencing it from a different java ...

javac no source files found?

I have the .java file on the current working directory but javac reports: javac: no source files Usage: javac <o...

java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy , Maven project?

I am trying to run java application built in Maven 2 from command prompt On command prompt I did "mvn package" and ...

Exception: Could not parse query :containsOwn(text)?

hi all i am using jsoup in a java-ee app to parse html i want to get the first tag which contains a text, and when...

HANDSHAKE_FAILURE alert received?

I am writing a Java client (on weblogic 10.3) to invoke a secure web service. I have been provided with a client cer...

Java: how to return an Array??

this is the code, from what I understand, it is suppose to work. Also when I debug my program, it seems that the arr...

Sharing a Netbeans project?

I have a java project that I developed in Netbeans. Because I was the only developer and it's a simple project (one...

cannot access org.springframework.context.ConfigurableApplicationContext class file?

I am new to spring boot, while trying to build my first spring boot project (Maven) in intellij using spring initial...

Comparing Age being populated using Selenium WebDriver?

I am using Selenium Webdriver for automation and need to retrieve the current age of a person to compare it with the...