If by 'design view' you mean the, you can open that with 'Open with.' > 'WindowBuilder Editor.' However, I have tested your code with a Kepler SR1 Eclipse on Mac OS X, and got the following error message in the Design View, which I guess means that you won't be able to use it in the Design View as is. The parser parsed the compilation unit, but can't identify any GUI toolkit, so WindowBuilder can't display any GUI to edit. Don't override paint() on a JFrame. The proper way to do custom painting is to override paintComponent(.) on a JPanel (or JComponent) and then you can set the content pane of the frame to this panel. May 22, 2017 - Unsupported major.minor version 52.0 comes when you are trying to run a class compiled using Java 1.8 compiler into a lower JRE version. In your case I'd try to create a new WindowBuilder class from the wizard, and re-create the class from scratch, e.g., in the Design View. In case you cannot find the option WindowBuilder Editor in the Open with. Menu at all, perhaps you'll need to install WindowBuilder in your new Eclipse instance first. To do this, go to, pick the link to the release version update site for your version of Eclipse (the one for Kepler SR1 is ), and install via 'Install New Software' (or follow the instructions from the update site link, which includes comprehensive installation details). ------------------ This tutorial is kind of pointless now, because there is an official release of WindowBuilder for Eclipse Neon. Just go on 'Help', 'Install new software', then select 'Neon - under the drop-down menu of links, then go under the 'General Purpose Tools' and scroll down. Tick all of the boxes that have 'WindowBuilder' in its name and click 'Next' and install. -------------------------------------------------------- This is just a quick minute tutorial on a problem that has hindered me for days. This is the link: Sorry for the jpeggy compression! I made this video quickly, so I forgot to test out the compression I had on Bandicam. Not sure if it's needed here, but. ![]() Like me on Facebook! Follow me on Twitter!
0 Комментарии
Оставить ответ. |
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. Архивы
Март 2019
Категории |