JDK-4988468 : Internal frame is not displayed to be resizable
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 2004-02-04
  • Updated: 2004-02-17
  • Resolved: 2004-02-17
Related Reports
Duplicate :  
Description

Name: ydR10254			Date: 02/04/2004


Filed By      : SPB JCK team (###@###.###)
JDK           : 1.5beta-b32
JCK           : 1.5beta-b11
Platform[s]   : Solaris
switch/Mode   : 
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] : api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame[JInternalFrameTest0012]

Problem description
===================
When the user sets setResizable checkbox the internal frame is not displayed to be resizable
(the frame's border should be changed). It appears only after the user resizes this internal frame.

JCK test source location:
==========================
/java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests/api/javax_swing/interactive/JInternalFrameTests.java

How to reproduce:
=================
Run the following script (you may need to change its variables)

--- script start ---
#!/bin/sh
JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
JDK="/java/re/jdk/1.5.0/promoted/beta/b32/binaries/solaris-sparc/"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

$JDK/bin/java -cp $CLASSPATH
javasoft.sqe.tests.api.javax.swing.interactive.JInternalFrame.JInternalFrameTests
-TestCaseID JInternalFrameTest0012 -TestDirURL
file://$JCK/tests/api/javax_swing/interactive/JInternalFrameTests.html#JInternalFrame

--- script end ---
    
======================================================================

Comments
EVALUATION There is a very thin line of indentation on the border that should appear when it is made resizeable. It appears on an expose/repaint. But it should automatically repaint when it is made resizeable. However the cursor does change on the lower right corner to indicate it is resizeable. Easy fix. Not important. It does not affect the functionality. The resizability function works and does turn on and off. It's only a minor visual issue. Will look at it for an update release. ###@###.### 2004-02-09
09-02-2004