|
How can I center the text within the figure? I use it with the Applet to locate the bar of tools and the Canvas,
but i don' know how can I do to the figure, can you send me some code?
I did not prove what you said to me, but it does not seem to me a very elegant solution, in addition I do not believe that it works, because the Dialog() waits for a Frame or a Dialog, not a container, that is to say, it is necessary to see if the constructor uses the own methods of Frame or Dialog…
This is one of the bad ones of which Java is typed… (This in Smalltalk does not happen). I already solved it, simply I put the applet in an instance variable of a Frame, and what I do in the constructor of the Frame he is init(); start(); to the applet.
Eric
|