Empty Netbeans 7 palette? How to restore it?

42,553

Solution 1

Open NetBeans and choose Window -> Palette It will appear but it will be empty because you didn't choose a GUI class yet.

To fill the palette with the GUI components like labels, follow these steps:

  1. Create a new project .

  2. Right click in the package name or project name, and choose New -> Other...

  3. In the New File dialog box, choose the "Swing GUI Forms" from category and the "JFrame" Form file type sub window. Click Next.

  4. Enter name lets say "MyGUI" for the new the class which you created now.

  5. The palette window is now full with components like labels, text,checkboxes, ...

if not appear yet make sure to press "Design" button in the upper of the GUI class bar "MyGUI"class

Solution 2

I got the same issue and this work for me window -> reset window. hope it work for you :)

Solution 3

Do one thing, simply right click on your netbeans project and then open it. It resolves the problem. You will observe if u open a new project the palette is there, so just copy the project with a different name, its will solve your problem.

Solution 4

I think the same problem occur here.Check this solution.it may helpful to you.

This steps for restore the default palette?

  1. Exit the IDE.
  2. Go to your user directory and go down to config/Palette subdir. In this directory, the files or directories deleted from the default palette content are presented as empty files with _hidden suffix in their names.
  3. Delete these _hidden files to let the palette categories and items appear again in the IDE.

I think this will help you

Share:
42,553
mazix
Author by

mazix

Updated on November 29, 2021

Comments

  • mazix
    mazix over 2 years

    I use Netbeans 7 on Kubuntu 12.04. I start Netbeans like this:

    netbeans --cp:a /usr/share/java/xercesImpl.jar & 
    

    cause of known issue with Netbeans and Kubuntu 12.04. In the middle of my project my palette with Swing components just .. disappeared!

    I see only sth like this:

    enter image description here

    How to restore default Netbeans palette?

    I checked Ctrl+Shift+8 shortcut but with no results - the problem is still the same.

    **EDIT: I dont know what I did but now I see ONLY EMPTY palette :( : **

    enter image description here

    I also tried this:

    1) I cd'ed to /home/mazix/.netbeans/7.0/config/Windows2Local/Groups/commonpalette , ls'ed and saw only this: CommonPalette.wstcgrp

    2) cd'ed to /home/mazix/.netbeans/7.0/config/Windows2Local/Components and saw this:

    AnalyzerTopComponent.settings output.settings AnalyzeStackTopComponent.settings projectTabLogical_tc.settings breakpointsView.settings projectTab_tc.settings CallHierarchyTopComponent.settings properties_1.settings callstackView.settings properties.settings CommonPalette.settings refactoring-preview.settings ComponentInspector.settings
    ReporterResultTopComponent.settings CssPreviewTC.settings
    resultsView.settings debugging.settings
    search-results.settings DeclarationTopComponent.settings
    services.settings evaluator.settings
    sessionsView.settings favorites.settings
    sources.settings find-usages.settings
    StyleBuilderTC.settings gsf-testrunner-results.settings
    svnversioning.settings hgversioning.settings
    synchronize.settings JavadocTopComponent.settings
    TaskListTopComponent.settings localsView.settings
    TerminalContainerTopComponent.settings MultiView-java#007Cform#007C_1.settings threadsView.settings MultiView-java#007Cform#007C_2.settings versioning_output.settings MultiView-java#007Cform#007C_4.settings watchesView.settings MultiView-java#007Cform#007C.settings Welcome.settings navigatorTC.settings

    and didnt see any _hidden files :(

  • mazix
    mazix over 11 years
    Nope, it didnt help at all. I switched to Design View but it didnt help, I also used -clean option to start Netbeans, also with no results.
  • mazix
    mazix over 11 years
    geez now I see only empty palette and I did ... nothig :/
  • Ami
    Ami over 11 years
    Do you want steps for restore default Netbeans palette?
  • mazix
    mazix over 11 years
    thanks but it didnt help too. Please see my edit and thank you for helping:)
  • Ami
    Ami over 11 years
    Thanks for your information.It helpful for me too and others also.
  • George
    George over 8 years
    Some netbeans versions might have it on Window -> IDE Tools -> Palette.