How to open mycomputer and control panel on button click?
I am developing a application in j开发者_StackOverflow社区ava swing? In which I need a notedpad. I want to give some extra feature in that notepad, as I want to open mycomputer, control panel, browser etc. directly from the notepad menu? Can you help me someway to do this task?
Also consider the features in java.awt.Desktop
.
You can execute external programs in Java with Runtime.getRuntime().exec()
.
精彩评论