Hi..again me :) I relaized some thing that if I use objest from other class and that class extends JPanel,when I add this object to my MainPanel it creates that object as a BigPanel.And if I used paint method it is litle on it . It means It creates on hole area new Panel and draws square on it .And I cant create new object on it .. I want to create this panel size as my square size and it will be like on MainPanel lots of new square JPanels.Like using Ellips2D class ..I think it is like class that extends JPanel.FOr this I must setsize of new Jpanel ?and I must use to store all new jpanel on screen some LayOut manger?
It is time to post a new query.
You might as well include the current code in the new query
so others can see what is going on.
Be sure to use proper indentation and CODE tags.
u mean new topic i must create?