|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Generate roof plugin » » » » Post: Re: Generate roof plugin |
Print at Dec 18, 2025, 7:10:30 AM |
| Posted by dorin at Jun 23, 2024, 3:47:13 PM |
|
Re: Generate roof plugin The second one is Nimbus, also out the box LaF under linux. I've simply add: -Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel You need to test only on default, the Nimbus is optional. The axes is there: roofPreview = new ModelPreviewComponent(true, true, true, true );To have a more versatile UI for a plugin we need: 1. to have the necesary informations BEFORE the start of plugin or the UI. Something like this: for (UIManager.LookAndFeelInfo laf : UIManager.getInstalledLookAndFeels()) {2. To pack the plugin with all sizes(16, 32, 64) of icons 3. To put cases everywhere it need to use it. ---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law |
|
|
Current timezone is GMT Dec 18, 2025, 7:10:30 AM |