NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

repeated toolbars but are ghost

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
sparkythex



Joined: 06 Dec 2010
Posts: 4

PostPosted: Mon Dec 06, 2010 7:53 am    Post subject: repeated toolbars but are ghost Reply with quote

ok here is hopefully the short version of what happened.

I use the app wizard which made a tool bar.
I found a tool bar from the included document editor that I wanted to try to recycle.
so i deleted the toolbar from my app.
copied the toolbar from example.
all looked ok.
closed neatbean & on re-opening the tool bar had no icons.
so i pulled all the icons from the referance folder in to my app researce's folder.
so then I tried to delete the tool bar & repeat copying.
but it copied it as tool bar 2, or that was how it was shown in the inspector.
but now it didn't have icons & it was not visible on the design.
I was thinking may because i had made my own tool bar to an internal frame.
so thinking maybe java can't handle more then one toolbar on a form removed toolbar on internal frame.
then I deleted toolbar2 from the inspector & tried again.
this time it came in as tool bar 3.
i have tried to delete, again but it keeps coming back as tool bar 3.
so since this was the only tool bar listed in the "inspector" panel.
i tried to rename it to just plan toolbar.
it says it already exist.
however it was still not on the design.
i found under the app.view properties it shows tool bar which when hitting the drop down menu it shows "toolbar; toolbar1; toolbar2; toolbar3".
I switched to use T.B.3 & design show correct & has the icons.
(i haven't close the netbeans yet)

-------
problem is i can't seem to get rid of the ghost toolbar referances.

I was able to find under source:
Code:
// Variables declaration - do not modify
  private javax.swing.JToolBar toolBar;
    private javax.swing.JToolBar toolBar1;
    private javax.swing.JToolBar toolBar2;
    private javax.swing.JToolBar toolBar3;
    // End of variables declaration


but i can't delete those or it won't let me rather.

i tried setting the from properties toolbar setting to say none & using the project build & the clean & build.
but still they all stayed.
=======
how can i get rid of these extra tool bars?
---
if it helps I'm on ver 6.8 but still use osx =(10.4) so i can't upgrade to NB 6.9 because it says i have to have java6.
which doesn't seem to be supported.
Back to top
sparkythex



Joined: 06 Dec 2010
Posts: 4

PostPosted: Mon Dec 06, 2010 8:07 am    Post subject: update Reply with quote

ok i have an update on this.
i closed N.B.
the ghost toolbars seemed to have disapeared.
i was able to rename the T.B.3 to just plain T.B.
=======
any explanation as to why?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo