Are there like 3d pushable buttons in Java? I want to put 3 buttons on top of each other, is that posible? I found JButton and I don't think I can do it with that?

If one button is on top of other buttons, what happens to the buttons that are underneath?

Oh I meant like kinda 3d Button with some space underneath them, I was planning to make a 3d Tic Tac Toe

Why not lay out 9 buttons in a 3x3 grid? If you wanted to make it 3D (similar to a Rubik's cube), then you could lay out a number of these grids beside each other to represent the numerous sides.

I need like 3 boards (3x3 grid with 9 buttons each) "looking on top of each other" .