_8_Network.java |
package madkitoptions.ex1_BooleanOptions; import madkit.kernel.Madkit; /** * This class exemplifies the use of network's option. * If this boolean option is set to true, MaDKit starts * the network on startup. By "network" we imply the ability * for MaDKit to be connected to another MaDKit app. * The default value is false. * * * * */ public class _8_Network { public static void main(String[] args) { new Madkit(Madkit.BooleanOption.network.toString()); /* Check the difference by commenting the previous line and uncommenting the next one. */ // new Madkit(Madkit.BooleanOption.network.toString(), Boolean.FALSE.toString()); } }
_8_Network.java |