Can't view Design for DeckEditorPanel/DeckEditorPane
Posted: 30 Sep 2018, 21:06
Hi everyone,
I am considering adding an "export" feature to the deck editor to export a decklist in formats for Tapped Out, MTGA, MTGO, and possibly others. I must admit it's been some time since I've done Java development and am not very familiar with Netbeans and I'm running into an issue. I'm using Netbeans 8.2 with Java 1.8 on Windows 10 64-bit.
I've cloned the project and built Mage Root (with dependencies). But, when I open mage.client.deckeditor -> DeckEditorPanel.java/DeckEditorPane.java, then select "Design" (it appears that you build the pane/panel with the Design view and it auto-generates some code?) it throws an exception with the attached trace.
I believe the error is from a line that is auto-generated in CardSelector.java, 669:
Thanks!
I am considering adding an "export" feature to the deck editor to export a decklist in formats for Tapped Out, MTGA, MTGO, and possibly others. I must admit it's been some time since I've done Java development and am not very familiar with Netbeans and I'm running into an issue. I'm using Netbeans 8.2 with Java 1.8 on Windows 10 64-bit.
I've cloned the project and built Mage Root (with dependencies). But, when I open mage.client.deckeditor -> DeckEditorPanel.java/DeckEditorPane.java, then select "Design" (it appears that you build the pane/panel with the Design view and it auto-generates some code?) it throws an exception with the attached trace.
I believe the error is from a line that is auto-generated in CardSelector.java, 669:
- Code: Select all
cbExpansionSet.setModel(new DefaultComboBoxModel<>(ConstructedFormats.getTypes()));
- Code: Select all
new DefaultComboBoxModel<>(ConstructedFormats.getTypes())
Thanks!