Netbeans how to restore the compile errors popup [duplicate] - java

This question already has answers here:
disable/enable compilation errors in Netbeans
(2 answers)
Closed 6 years ago.
This is a pretty silly situation, but I accidentally disabled the "One or more projects were compiled with errors" popup because I hit enter whilst selecting the wrong thing. I like the popup as it is a clear indication that something isn't correct before the program runs, is there any way to restore the popup?
This isn't a really big issue or anything, I was just wondering if anybody could give any pointers as to where the option is located.
Thanks :)
Picture of the popup:

try
*User made a lot of changes to the toolbar layout and added/removed a lot of buttons and now he/she wants to reset the toolbars to their default settings. The default settings are the toolbar layout and content as on the first IDE startup.
Scenario:
User right-clicks an empty area in the toolbar row to open popup menu.
User selects Reset Toolbars item in the popup menu and all toolbars are restored to their default settings.
Alternate Scenario:
User selects main menu View - Toolbars.
User selects Reset Toolbars item in the popup menu and all toolbars are restored to their default settings.
Alternate Scenario - Using Customize Toolbars window:
User invokes Customize Toolbars window - either from the toolbar popup menu or from the main menu View - Toolbars - Customize.
User clicks Reset Toolbars button and all toolbars are restored to their default settings.*
see this

Related

Update Downloader with silent Version check -> GUI Style Layout

Our application currently has "Background update downloader" configured for the update checks and installation. We have a few problems in this approach with the User community and we are working on making the update transparent to the User. To this end we are trying out the "Update downloader with the silent version check".
However, here we have the same or similar as question as discussed in
Force update in install4j application
We want to remove the "Cancel" button in the GUI Style Layout. However, it is possible for us to change the contents of the "Form" but not the layout itself.
The answer was to use the "Unattended mode with progress dialog". My question would be would moving from the GUI Style to "Unattended mode with progress dialog" result in not presenting the user the Dialog (attached) where he/she can select the download directory, show the old and new version that is available?
My question would be would moving from the GUI Style to "Unattended mode with progress dialog" result in not presenting the user the Dialog (attached) where he/she can select the download directory, show the old and new version that is available?
Yes, "Unattended mode with progress dialog" just shows a progress dialog and none of the screens.
If you want to show the screens and just hide the "Cancel" button, that is possible by setting the "Post-activation script" property of all screens of the update downloader to
context.getWizardContext().setControlButtonVisible(ControlButtonType.CANCEL, false);

How to make a pop up window while the app icon clicked instead of opening Activity?

I want make an app by which I want to open it in small screen/view like popup window instead of Full Screen Activity.
Suppose,when a user click on the application icon in his device it will show a popup window (contains various buttons/options) instead of opening any full screen activity!
Is there any way ? If possible then, How can I proceed ?
Wishing code snapshots or any demo or necessary suggestions regarding this problem!
Not exactly a popup, but you can use the Dialog theme and make your Activity appear like a dialog box by using:
<activity android:theme="#android:style/Theme.Dialog">

Want to HIDE/REMOVE screen menu bar

I have written a java app using NetBeans 7.2 under Os X 10.8.2 on a 2012 Mac Book Pro and I have decided I want the screen menubar removed or hidden since there is no easy way of editing the screen menu bar for my java app. I have searched and searched on the screen menu bar but I have not found anything showing how to: edit or hide. The only information I have come up with, using NetBeans is how to combine my JMenuBar into the screen menu bar and the examples for that didn't work.
If someone can point me into a good direction for editing the contents of the Screen Menu Bar I would be more then happy to use it. But if there is no easy way of doing this without re-writing the source code with an override then I will stay with my own menu on the form and hide or remove the Screen Menu Bar if this can be done.
You cannot. The system menubar is a shared user interface element — you can only hide it if you're running full screen, at which point you end up with no menu bar at all.
You should really look into getting your application's menu bar to not appear in the window, as this is not an expected user interface idiom on Mac OS X. If you are not doing so already, this code may help:
System.setProperty("apple.laf.useScreenMenuBar", "true");
If that doesn't do it, there are a number of questions in the "Related" sidebar with information that may help.

Android more option menus ain't appearing as grid

I have around 10 or 12 option menus, when I press the menu key, 6 menus appear as a grid including More, but when clicking More menu, the rest of menus appear as list. How can I make them look like a grid too?
The Android API (10 and below) only supports 6 menu button items, after that it adds the "More" button as you noticed. (API 11+ recommends using an ActionBar, not an options menu.) I don't know of anyway to change the Android code to display more items in the grid. But you could write your own code to do what you want.
From the Developer's Guide:
If you've developed your application for Android 2.3.x (API level 10) or lower, the contents of your options menu appear at the bottom of the screen when the user presses the Menu button, as shown in figure 1. When opened, the first visible portion is the icon menu, which holds up to six menu items. If your menu includes more than six items, Android places the sixth item and the rest into the overflow menu, which the user can open by selecting More.
Try creating custom menu, this helped me a lot. Hope this works for you.

Java Quaqua Popup Menu

I have a Java Swing application running on OSX that uses Quaqua. All the TextFields and TextAreas have a popup menu on right click. This must be done by Quaqua as it is not standard in Swing.
My question is:
How do I set my own Actions on the popup menu?
Please Note. This is a question about Quaqua popup menus NOT any Swing popup menu. If you are not familiar about Quaqua then please don't answer.
A pop-up menu is the same as a regular menu. The Swing tutorial about menus covers how to use them, how to insert entries, ... . Reading that tutorial should get you started
The popup menu set by Quaqua can be removed by setting a client property:
myTextField.putClientProperty("Quaqua.TextComponent.showPopup", Boolean.FALSE);
You can then add your own MouseListener to handle creating your own pop up menu.
I haven't figured out, however, to make this change global, and so I have to set the client property on each of my text fields individually, which is a bit of a pain.

Categories

Resources