Thread: JBPatch
View Single Post
Old 10-12-2012, 10:52 AM   #827
arikfunke
Enthusiast
arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.arikfunke is an enigma wrapped up in a mystery.
 
Posts: 36
Karma: 41848
Join Date: Mar 2011
Device: iRex
I finally got everything to compile at least. One issue I was the following:

conf\ConfigurableSetting.java:36: error: cannot find symbol
public abstract SettingPanel getPanel(SettingChangeListener listener);
^
symbol: class SettingChangeListener
location: class ConfigurableSetting


The problem is:
- JBPatch core files depend on "ConfigurableSettings",
- which in turn depends on "ConfigurableSetting",
- which depends on the UI component of the conf component,
- which of course I removed as it won't work on K3.

How do I cleanly decouple the UI part from the configuration part of the code? Is it ok to just comment out the following line? (Plus the corresponding imports at the top of the code...)

Code:
public abstract SettingPanel getPanel(SettingChangeListener listener);
Or will this have unforeseen consequences down the line? If that is ok, I am ready to try it out on the K3.

Last edited by arikfunke; 10-12-2012 at 11:40 AM.
arikfunke is offline   Reply With Quote