When I try this,
It says that an array was expected but gridlayout found, the thing is though I have done exactly this before in other programs but it worked fine.
I thought you can access the elements of a gridlayout just like you can with an array?
Code:
keys[i][y] = new JPanel();
It says that an array was expected but gridlayout found, the thing is though I have done exactly this before in other programs but it worked fine.
