[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[jcvs] Login Information dialog problem  XML
Forum Index » JCVS Mailing List
Author Message
jcvslist


[Avatar]

Joined: 03/06/2004 19:54:53
Messages: 3096
Location: Earth
Offline

<pre>I (and a number of my coworkers) have been having a small problem with
the login dialog (Windows XP, j2sdk1.4.2). The user/password fields are
coming up truncated (see picture below). If you resize the dialog
slightly both vertically and horizontally the fields resize properly,
but this is a nuisance.

I tried to see if the bug had already been reported but BugRat appears
to be down using the link from your webpage:
http://www.gjt.org/bugrat/report/ReportForm.

If you are interested I could send you a (very small) patch, just let me
know what format you would like it in. (Whole file, patch with certain
options?).

Thanks,
Dave


</pre>

jCVS Maoiling List arvhive.
[WWW]
jcvslist


[Avatar]

Joined: 03/06/2004 19:54:53
Messages: 3096
Location: Earth
Offline

<pre>Hi Dave,

You know, I saw a very similar problem with a BlackDown Linux release. I would
think it was a bug introduced in the 1.4.2 swing, but maybe it is my problem? I
would very much appreciate a patch.

tim.

> I (and a number of my coworkers) have been having a small problem with
> the login dialog (Windows XP, j2sdk1.4.2). The user/password fields are
> coming up truncated (see picture below). If you resize the dialog
> slightly both vertically and horizontally the fields resize properly,
> but this is a nuisance.
>
> I tried to see if the bug had already been reported but BugRat appears
> to be down using the link from your webpage:
> http://www.gjt.org/bugrat/report/ReportForm.
>
> If you are interested I could send you a (very small) patch, just let me
> know what format you would like it in. (Whole file, patch with certain
> options?).
>
> Thanks,
> Dave
>
>

</pre>

jCVS Maoiling List arvhive.
[WWW]
jcvslist


[Avatar]

Joined: 03/06/2004 19:54:53
Messages: 3096
Location: Earth
Offline

<pre>*** /cygdrive/c/deccles/tmp/ice/java/com/ice/jcvsii/PasswordDialog.java Thu Apr
1 14:41:11 1999
--- PasswordDialog.java Wed Nov 19 17:10:07 2003
***************
*** 52,57 ****
--- 52,59 ----

this.establishDialogContents( userName );

+ this.invalidate();
+ this.validate();
this.pack();

Dimension sz = this.getSize();
***************
*** 150,156 ****
mainPanel, label,
GridBagConstraints.NONE,
GridBagConstraints.WEST,
! 0, 0, 1, 1, 1.0, 1.0,
new Insets( 1, 3, 1, 5 ) );

this.userNameField = new JTextField( 16 );
--- 152,158 ----
mainPanel, label,
GridBagConstraints.NONE,
GridBagConstraints.WEST,
! 0, 0, 1, 1, 0.0, 0.0,
new Insets( 1, 3, 1, 5 ) );

this.userNameField = new JTextField( 16 );
***************
*** 160,166 ****
this.userNameField.addActionListener( this );
AWTUtilities.constrain(
mainPanel, this.userNameField,
! GridBagConstraints.NONE,
GridBagConstraints.WEST,
1, 0, 1, 1, 1.0, 1.0,
new Insets( 10, 1, 5, 1 ) );
--- 162,168 ----
this.userNameField.addActionListener( this );
AWTUtilities.constrain(
mainPanel, this.userNameField,
! GridBagConstraints.HORIZONTAL,
GridBagConstraints.WEST,
1, 0, 1, 1, 1.0, 1.0,
new Insets( 10, 1, 5, 1 ) );
***************
*** 171,177 ****
mainPanel, label,
GridBagConstraints.NONE,
GridBagConstraints.WEST,
! 0, 1, 1, 1, 1.0, 1.0,
new Insets( 1, 3, 1, 5 ) );

this.passwordField = new JPasswordField( 16 );
--- 173,179 ----
mainPanel, label,
GridBagConstraints.NONE,
GridBagConstraints.WEST,
! 0, 1, 1, 1, 0.0, 0.0,
new Insets( 1, 3, 1, 5 ) );

this.passwordField = new JPasswordField( 16 );
***************
*** 180,186 ****
this.passwordField.addActionListener( this );
AWTUtilities.constrain(
mainPanel, this.passwordField,
! GridBagConstraints.NONE,
GridBagConstraints.WEST,
1, 1, 1, 1, 1.0, 1.0,
new Insets( 5, 1, 10, 1 ) );
--- 182,188 ----
this.passwordField.addActionListener( this );
AWTUtilities.constrain(
mainPanel, this.passwordField,
! GridBagConstraints.HORIZONTAL,
GridBagConstraints.WEST,
1, 1, 1, 1, 1.0, 1.0,
new Insets( 5, 1, 10, 1 ) );
</pre>

jCVS Maoiling List arvhive.
[WWW]
 
Forum Index » JCVS Mailing List
Go to:   
Powered by JForum 2.1.9 © JForum Team