While coding platform, there some rules, about code/library usage
- No usage of java.desktop module. It's mean you can't use classes from java.awt & javax.swing. Also since java.beans package in desktop module, you can't use it too (see kava.beans).
- No usage of java.lang.System class, use "consulo.platform.Platform#current()" - system class, can return different values for each platform
- AWT & Swing allowed - but preferer use consulo.ui, since AWT<>Consulo UI, conversion not allowed
- AWT & Swing not allowed