Hello@all. For an universitary project In java we have to code a game.
We can only use the default Java (JRE) classes non extra ones.
So i have to use a Java Standard LayoutManager i decided for the GridBagLayout.
We have an Menu, a toolbar north, a toolbar west and in the “south” of the Frame we have an txtChatBox.
In the Middle we want to put the 2D-Tilesgame. But it doesn’t works. Eclipse says, that Gridbag needs an component and not a Graphics2D?
Sorry that I can’t post sourcecode since this would be against the rules of the Project.
THX for your help!
Ps3udo