This sets the OS Start Menu. Each time this is run, it overwrites the last input. @param function This is the Runnable that is executed to call the startmenu. In reality, you could put anything here. Not just an actual Menu.
(Runnable function)
| 159 | * you could put anything here. Not just an actual Menu. |
| 160 | */ |
| 161 | public static void setStartMenu(Runnable function) { |
| 162 | Desktop.startMenu = function; |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * This sets the OS Start Menu. Each time this is run, it overwrites the last input. |