Select the WebContent folder in your new project and use your alternate mouse button to open the context menu.
在您的新项目中选择WebContent文件夹,然后用备用鼠标按钮打开上下文菜单。
For example, if you want to change fonts on a button when the mouse is over it and the button is pressed, you use a state value of MOUSE_OVER and pressed.
例如,如果您想在鼠标位于按钮之上以及按钮被按下的时候改变按钮上的字体,那么可以使用状态值MOUSE_OVER and PRESSED。
An alternative is to use onmouseup to catch any mouse release and check for the right button.
作为代替可以使用onmouseup事件来检测和处理松开鼠标右键的事件。
应用推荐