|
|
|
@ -11,10 +11,10 @@ import com.fr.stable.os.OperatingSystem;
|
|
|
|
|
public class ModernUIPaneFactory { |
|
|
|
|
|
|
|
|
|
public static <T> ModernUIPane.Builder<T> modernUIPaneBuilder() { |
|
|
|
|
// if (OperatingSystem.isWindows()) {
|
|
|
|
|
// return new NewModernUIPane.Builder<>();
|
|
|
|
|
// } else {
|
|
|
|
|
// }
|
|
|
|
|
if (OperatingSystem.isWindows()) { |
|
|
|
|
return new NewModernUIPane.Builder<>(); |
|
|
|
|
} else { |
|
|
|
|
return new ModernUIPane.Builder<>(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|