Hi Larry,
Actually i used code at the proper place ,but it gives error as shown in
pics of screenshot, plz find attached pics.
plz solve my problem
regards
veer
Message: 6
Date: Fri, 14 Sep 2007 08:04:36 -0500
From: "Larry Becker" <[EMAIL PROTECTED]>
Subject: Re: [jump-users] Re: Re: Re-exit tool in series with other
       tools like      zoomnext, previous tools in attributetab.java, (Larry
       Becker)
To: "JUMP Users Discussion" <[email protected]>
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Hi VEER,

 The code I suggested is for use inside:

   private void installToolBarButtons(final WorkbenchContext
workbenchContext, final TaskFrame taskFrame) {

where all of the other buttons are defined.  If you need to use it
elsewhere, it may require a different access technique.

Larry

On 9/13/07, VEER <[EMAIL PROTECTED]> wrote:
> Hi  Larry,
> as you send me some help to exit the view/edit  attribute box, it give
some
> error like this as in image.
> plz suggest it wht may be the problem
>
> ******************************
*****************************************************************************
>
>
> >
> >
> >
> >
> > On 9/12/07, VEER < [EMAIL PROTECTED]> wrote:
> > > hi Larry ,
> > > as u write to close view/edit attribute box use panel.hide(); but it
> close
> > > only table part,
> > > my moto to close whole window/box of  view/edit attribute. so tell me
> again
> > > what shud
> > > i do for it, & for zooming first n last row i'm editing interfaces.
> > >
> >
> > That is a little more complicated.  Try something like:
> >
> >         public void actionPerformed(ActionEvent e) {
> >             try {
> >                 JInternalFrame[] frames =
> >
> workbenchContext.getWorkbench().getFrame().getInternalFrames();
> >                 for (int i = 0; i < frames.length; i++) {
> >                     if (frames[i] instanceof ViewAttributesFrame) {
> >                         ((ViewAttributesFrame)
> frames[i]).dispose();
> >                     }
> >                 }
> >             } catch (Throwable t) {
> >                 errorHandler.handleThrowable(t);
> >             }
> >         }
> >
> > regards,
> > Larry
> >
> ************************************************************
********************************************************************
> >
> > ------------------------------
>
>
>
>


  thanks &regards
  VEER
**************************
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users

Reply via email to