Saudações Javanianas,
Bom tenho um probleminha, estou enviando o código se alguem souber ou tiver alguma dica pra resolver esta dúvida , fiquem a vontade. :lol:
/**
* Metodo que desenha o grafico.
*/
public void paint( Graphics g ) {
width = (int)(getWidth() * 0.57);
height = (int)(getHeight() * 0.865);
xPosicao = (int)(getWidth() * 0.22);
yPosicao = (int)(getHeight() * 0.05);
tamanho_fonte_legenda = (int)((getWidth() + getHeight()) * 0.017);
tamanho_fonte_numeros = (int)((getWidth() + getHeight()) * 0.013);
// ainda nao sei como resolver o problema de acertar a posicao correta no redimensionamento...
if (tamanho_fonte_numeros > 7)
tamanho_fonte_numeros = 7;
super.paint( g );
}
alguma dúvida , mais tarde botarei mais informações.
