Vision Palette Group Icon

Here is the final code:

PaletteImpl palette = (PaletteImpl) sdk.getPalette();
            
            DefaultPaletteItemGroup group = new DefaultPaletteItemGroup("LV Control");
            group.addPaletteItem(new JavaBeanPaletteItem(HelloWorldComponent.class));
            group.addPaletteItem(new JavaBeanPaletteItem(BinComponent.class));
            group.setIcon(IconUtil.getRootIcon("lv_16.png"));
            palette.addGroup(group);
1 Like