/[classpath]/classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by rveldema, Mon Mar 11 15:48:06 2002 UTC revision 1.2 by rveldema, Tue Mar 12 11:36:23 2002 UTC
# Line 24  public class BasicRadioButtonUI extends Line 24  public class BasicRadioButtonUI extends
24          AbstractButton b = (AbstractButton)c;          AbstractButton b = (AbstractButton)c;
25          Dimension d = BasicGraphicsUtils.getPreferredSize(b,          Dimension d = BasicGraphicsUtils.getPreferredSize(b,
26                                                            gap,                                                            gap,
27                                                            b.text,                                                            b.getText(),
28                                                            b.getIcon(),                                                            b.getIcon(),
29                                                            b.vert_align,                                                            b.getVerticalAlignment(),
30                                                            b.hori_align,                                                            b.getHorizontalAlignment(),
31                                                            b.hori_text_pos,                                                            b.getHorizontalTextPosition(),
32                                                            b.vert_text_pos);                                                            b.getVerticalTextPosition());
33            
34          // and add a little something for the circles:          // and add a little something for the circles:
35    
36          d.width += large_circle_width;          d.width += large_circle_width;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26