Reputation: 4131
I am designing a new software which is going to be Swing based Java application. I am currently completely decoupled the GUI layer and business layer hoping to porting my application to Android someday. When I am porting it to Android I am planing to just write a new inheritance to my GUIAbstractFactory
.
Will Android API build my code base which has unused Swing dependencies or I will be forced to delete those classes who reference Swing?
Upvotes: 2
Views: 87
Reputation: 168825
It should compile fine so long as the rt.jar
of a J2SE is on the compilation class-path.
Upvotes: 3