ornek is an instance of a class, ornek is my object that i defined to use and
that line one of its values have been set
i think i found error point there is a part of code below i need to...
Type: Posts; User: ms_ceng
ornek is an instance of a class, ornek is my object that i defined to use and
that line one of its values have been set
i think i found error point there is a part of code below i need to...
356 gidilen=0;
357 ornek.set_g(gidilen);
these are snippet of my code yes it has zero value not null i need to set zero value for my zero step in algorithm. why does java suppose that it...
sorry for huge exceptions :(
yes it is working after i changed Arraylist to ArrayList and deleted my Arraylist class :)
Now i finished my artificial intelligence lecture homework project but i m getting this exceptions.
...
thanks for greet answer o:-):o
:)>- it is ok so sorry problem is that i wrote Arraylist not ArrayList X_X
Exception in thread "main" java.lang.NullPointerException
at yuzswing.denem.Arraylist.add(Arraylist.java:10)
at yuzswing.denem.ArrayListDeneme.main(ArrayListDeneme.java:10)
when i click...
first i tried to create type of string before use my object but i couldnt do it what is my problem in my code?
my class is:
import java.util.ArrayList;
public class ArrayListDeneme {...
I have an algorithm problem and i have created a class for my objects
hard problem is how can i create a matrix that has increasing size and every rows in matrix is also increasing
for...
i have created a matrix with button and i want to listen event of this matrix. i need to take coordinates of matrix (X Y) when a button clicked and i ll use this coordinate for my other operations in...
ovv it is ok! now i made it.
PRoblem was solved :)
it is needed to define every button in for loop like that
for (int i = 0; i < 5; i++) {
// butonlar[i]=new JButton[5];
for...
thanks :) yes i wasnt aware of that
thank you very much but still it doesnt run. My codes now like that:
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.Toolkit;
...
Hi java programmers!
I got a run time problem with my code in below
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.Toolkit;
import javax.swing.JButton;
import...
Sometimes i write a code in netbeans and try to run but it doesnt. i delete one letter and write it again after that it is working
For example piece line of code is like that
ArrayList<String>...
thanks alot
it is working