jmenu
loading multiple files using the options from menu bar in java
I have developed an editor using java Jpanel, component, etc....I have 2 text areas in the editor. When i choose open a file option from the menubar i\'m able to load the content of the file to one te[详细]
2023-04-12 22:06 分类:问答Creating menus for JApplet
I am making a simple game where numbers fall from top to bottom and I have to type the number. (number is erased as I type the number)[详细]
2023-04-08 10:13 分类:问答Swing JMenu problem
Why I can\'t add JMenuBar to JToolBar, is it possible? Or I can only add menubar on frame?Tutorial says:[详细]
2023-03-30 19:09 分类:问答a GUI java program needing an action event button
I am making a simple java program that represents a Microsoft Word menu bar, and in the file menu I add an exit button... it does nothing.[详细]
2023-03-28 11:51 分类:问答JMenu won't close when clicking elsewhere
I\'m trying to make a swing gui but currently experiencing trouble with making JMenus \"close\" when clicking elsewhere.[详细]
2023-03-24 02:54 分类:问答How to catch click on a JMenu element?
I\'m developping a Java/Swing application with a menu using JMenuBar, JMenu and JMenuItem. System look and fell is applied to the UI.[详细]
2023-03-23 02:17 分类:问答Combining JMenu clipboard functions, accelerators, and actionMenu support (best practices)
I\'ve got a component with several JTables on it. I\'ve installed custom TransferHandlers on the tables. Now, I wan开发者_高级运维t a means to invoke the cut/copy/paste commands on these tables, via:[详细]
2023-03-21 22:15 分类:问答JComboBox on a JPopupMenu
I\'m trying to use a compound Swing component as part of a Menu. Everything works just fine, apart from one detail: The component contains JComboBoxes and whenever the user clicks on one of them to o[详细]
2023-03-17 02:32 分类:问答Java repainting a component at mouse-over.
I am attempting to make my first properly customised GUI, but I am having difficulty changing the image which has been painted for a component. Basically, for my exitButton (a JMenu) I overwrite the p[详细]
2023-03-14 11:19 分类:问答Why does the compiler not run the program even though there are not any errors?
I have a program that is not showing any errors in Eclipse, but whenever I click the run button, nothing happens. I get the code lines in the compiler console that I have attached below.[详细]
2023-03-04 03:17 分类:问答