Top "Bluej" questions

BlueJ is a popular Java IDE aimed at teaching the principles of object oriented programming.

"int cannot be dereferenced" in Java

I'm fairly new to Java and I'm using BlueJ. I keep getting this "Int cannot be dereferenced" error when trying …

java int bluej
How to call a method function from another class?

I'm writing a java project that has three different classes. This is what i have have so far. I'm just …

java bluej
How to write a test class to test my code?

I want a test class to test this class but i dont know how to write it and i tried …

java arraylist bluej
How to recompile with -Xlint:unchecked?

I keep getting this message in BlueJ/Java. http://cache.gyazo.com/19c325e77bbc120892d1035dcfda5377.png I know …

java compiler-construction compiler-errors bluej
Java: How to add a button to a frame?

I try to just use a add.method to add a button to a frame. But only the frame pops …

java bluej
int cannot be converted to int []

new to programming here and i keep getting the error message, 'incompatible types, int cannot be converted to int []', …

java arrays bluej
BlueJ Error: "Incompatible types: int cannot be converted java.lang.String" AND "Incompatible types: java.lang.String cannot be converted to int"

I'm very new to coding and after trying multiple solutions I came up with, I still can't figure out why …

java bluej
BlueJ - My program compiles with no errors but doesn't run

Hello I'm having problems with a program that's supposed to take in a string and then capitalize the first letters …

java character bluej
How do I enter parameters for an ArrayList in BlueJ?

In BlueJ, if I write a method that takes an array as a parameter, then when I want to test …

java arraylist bluej
Java arraylist incompatible types error

The answer to this will probably turn out to be obvious in retrospect but for now I find myself rather …

java arraylist bluej incompatibletypeerror