Questions tagged [menubar]

A menu bar is a region of a screen or application interface where drop down menus are displayed

a horizontal bar, typically located at the top of the screen below the title bar, containing drop-down menus. MenuBar Looks like

1020 questions
5
votes
4 answers

Auto-hide JMenuBar

When I run the following code, the menu bar shows when the cursor moves to the upper part of the window. The problem is, when I move the cursor up to open the menu but do not select anything, and then move the cursor out of the the menu bar area, it…
PeterMmm
  • 24,152
  • 13
  • 73
  • 111
5
votes
1 answer

How to add an image to a primefaces menubar?

How can I add an image to a menubar? I can not add the h:graphicImage to the MenuBar (see code below), and would like to have the logo in the menubar. Current code: The image comes on top
Dimitri Dewaele
  • 10,311
  • 21
  • 80
  • 127
5
votes
2 answers

Problems with multiple setIntervals running simultaneously

My first post here. I want to make a horizontal menu with submenu's sliding down on mouseover. I know I could use jQuery but this is to practice my javascript skills. I use the following code: var up = new Array() var down = new Array() var…
Roel V.
  • 55
  • 1
  • 4
5
votes
1 answer

java.lang.NullPointerException at org.primefaces.component.menubar.MenubarRenderer.encodeSubmenuIcon

I am working at a primefaces dynamic menubar. The content of the menubar should be updated as a commandbutton is pressed. Here is my very simple xhtml page
INElutTabile
  • 866
  • 2
  • 20
  • 38
5
votes
2 answers

How can I access a GWT menubar popup panel / submenu?

I'm trying to add some mouse listeners to the sub menus/ cascading menus of GWT's MenuBar. Sadly, I cannot seem to access the submenu popuppanel directly - the method to do so (getPopup() ) is private. And you can't access it via reflection due to…
user2197116
  • 667
  • 3
  • 8
  • 21
5
votes
2 answers

Hide the OK button in windows mobile 6.5

I have a winmo application running on win mobile 6.5 using the 2.0 ce framework: On some forms, I make use of the menu bar to have custom menu items, as seen below The "More" and "Cancel" buttons have events wired up so that I can actually make the…
5
votes
3 answers

JavaFX how to get menubar to fit to parent in width only?

I am using Scene Builder to create my GUI and my menu bar isn't resizing to the parent. How do i get it to do this? When I try Modify -> Fit to Parent, the menu bar takes up the whole root pane, and obviously this isn't what i want. Here is an image…
j will
  • 3,747
  • 11
  • 41
  • 64
5
votes
2 answers

Delphi 2010 Action Manager & Main Menu Bar

I'm trying to use the Action Manager and Action Main Menu Bar in Delphi 2010 an I have no idea how to make this work. I've tried looking at the examples that come with Delphi 2010 and I can't seem to figure this out. I've tried playing around with…
5
votes
5 answers

Python Tkinter menu bars don't display

I'm trying to make a GUI using Tkinter and have come to implementing a menu bar. I've looked at a few tutorials and written some code for it, but a menu bar never seems to appear - just a blank frame with a white background. This doesn't just happen…
user2163043
  • 361
  • 1
  • 3
  • 14
5
votes
1 answer

Delphi: Styled TMainMenu and TToolBar in TCoolBar

I'm attempting to create an application menu and toolbar in Delphi XE3 that looks like the following (from a program I have): I'm able to replicate a portion of this look by doing the following: Create a new VCL Forms application Add a TMainMenu…
spurgeon
  • 1,082
  • 11
  • 34
5
votes
4 answers

Dynamically show/hide menu bar in Emacs

I have menu-bar-open bound on f11 and menu-bar turned off, and because of that, f11 calls tmm-menubar, which is inconvenient and doesn't have mode-specific menu items for some reason (like org and tbl in org-mode). I want it to behave this way: make…
Mirzhan Irkegulov
  • 17,660
  • 12
  • 105
  • 166
4
votes
2 answers

AIR application on the menubar?

I'm trying to look for tutorials on getting my AIR application to OSX's menubar when minimized. However, when I try to search for it, I end up getting examples on doing it for the system tray on Windows and the Dock on macs. I don't want the app to…
Propeller
  • 2,465
  • 6
  • 35
  • 49
4
votes
2 answers

How to convert Wifi RSSI to level of Wifi strength in menu bar in Mac OSX?

I can get the value of Wifi RSSI. but don't know how to convert it into level of Wifi strength as we can see in the menubar in Mac OSX (If I receive a strong Wifi, the wifi status will be bold black on all 4 lines of wifi icon). Is there any methods…
Chanok
  • 790
  • 6
  • 23
4
votes
1 answer

How to disable Mac's About/Quit menu items when showing a JDialog?

I have a Swing application that runs on Mac. When the user opens any JDialog like the JFileChooser i want automatically the "About App_Name", "Quit App_Name" menu items in the Mac's menu beside the apple button at the top left of the screen to…
Brad
  • 4,457
  • 10
  • 56
  • 93
4
votes
1 answer

JavaFx add Window-Control-Buttons to Menubar (IntelliJ like)

Since IntelliJ version 2019.2 Jetbrains removed the titlebar from the IDE and put the minimize, maximize and close button of the window into the menubar. So far, I have not found out how to do so using javafx. Is there a way to instanciate a…
Niklas
  • 105
  • 8