View Single Post
  #1 (permalink)  
Old 06-08-2007, 07:03 AM
Marcus Marcus is offline
Member
 
Join Date: Jun 2007
Posts: 92
Marcus is on a distinguished road
Applet, To center text and To open I engage in a dialog in an Applet
1) I have a figure (for example, an ellipse) I must draw it with a text inside that it has to be trim.
If you don't understand imagine a diagram of states,in where each state has a name. How can I center the text?
Now I'm calculating the High/width of the figure and then I center it the problem is when there are more than one line

2) I want to open modal Dialogo, but I cannot create it because the constructor requests to me that the owner is a Frame or a Dialog and what I have is an Applet.

Some idea?

Marcus
Reply With Quote
Sponsored Links