Yes thanks this works, but when the internalframe was maximized the frame is 
size to prefered size

Could you give me hint to change this behaviour? 


Torsten Hofmann
Dipl. - Informatiker (FH)
IT Consultant Business Integration
 
Würth Phoenix GmbH
Drillberg 6
D-97980 Bad Mergentheim

(Phone: +49 7931 91 6284
7 Fax: +49 7931 91 7284
+E-Mail: [EMAIL PROTECTED]
     Website: www.wuerth-phoenix.de


-----Ursprüngliche Nachricht-----
Von: Janak Mulani [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 22. Juni 2006 11:22
An: Hofmann, Torsten
Cc: [EMAIL PROTECTED] Com
Betreff: RE: [ULC-developer] Error resizing InternalFrame

Hi Torsten,

Did the following workaround work for you?

private void switchToTask(ULCInternalFrame frame) {
  // if (frame.isIcon() == true) {
  frame.setIcon(true);
  frame.setIcon(false);
 ...
}

Thanks and regards,

Janak


>-----Original Message-----
>From: Hofmann, Torsten [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 22, 2006 2:33 PM
>To: Janak Mulani
>Subject: AW: [ULC-developer] Error resizing InternalFrame
>
>
>I minimized it with the icon in the right corner of the internal frame 
>and then i want to open it over a menubutton This does not work
>
>Regards
>
>
>Torsten Hofmann
>Dipl. - Informatiker (FH)
>IT Consultant Business Integration
>
>Würth Phoenix GmbH
>Drillberg 6
>D-97980 Bad Mergentheim
>
>(Phone: +49 7931 91 6284
>7 Fax: +49 7931 91 7284
>+E-Mail: [EMAIL PROTECTED]
>     Website: www.wuerth-phoenix.de
>
>
>-----Ursprüngliche Nachricht-----
>Von: Janak Mulani [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 22. Juni 2006 10:45
>An: Hofmann, Torsten
>Cc: [email protected]
>Betreff: RE: [ULC-developer] Error resizing InternalFrame
>
>Hi Torsten,
>
>Are you minimizing it manually or programmatically?
>
>If you minimized it manually, then do the following and let me know:
>
>iFrame.setIcon(true);
>iFrame.setIcon(false);
>
>When you minimize it manually on the client the icon state is not 
>synchronized with the server. So the server still thinks that the icon 
>state is false. When you set it to false, the call is not sent to the 
>client because server will only send a state that is different than the 
>current state.
>
>I have reopened an issue: https://www.canoo.com/jira/browse/UBA-655
>
>Thanks and regards,
>
>Janak
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Hofmann, 
>Torsten
>Sent: Wednesday, June 21, 2006 12:33 PM
>To: [email protected]
>Subject: [ULC-developer] Error resizing InternalFrame
>
>
>Hello
>
>I have opened a InternalFrame and minimized it, but when i call the 
>method setIcon the internal frame is not resized to the origional size.
>What ist the reason?
>
>Here the code
> private void switchToTask(ULCInternalFrame frame) {
>  // if (frame.isIcon() == true) {
>  frame.setIcon(false);
>  // }
>  frame.setSelected(true);
>  frame.moveToFront();
>  frame.toFront();
>  frame.requestFocus();
>  return;
> }
>
>Regards
>
>Torsten Hofmann
>Dipl. - Informatiker (FH)
>IT Consultant Business Integration
>
>Würth Phoenix GmbH
>Drillberg 6
>D-97980 Bad Mergentheim
>
>(Phone: +49 7931 91 6284
>7 Fax: +49 7931 91 7284
>+E-Mail: [EMAIL PROTECTED]
>     Website: www.wuerth-phoenix.de

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to