Iwant the following program to be visible as Java Application
Hi for all
Iwant the following program to be visible when it is runned in java application
the program is compiled correctly , but when it is runned as an application the, following message appears
press any key to continue...
That is a common problem for me
can someone explain for me
import java.awt.*;
import javax.swing.*;
class sandi extends JMenuBar {
public sandi(){
JMenu fileMenu = new JMenu("File");
JMenu editMenu = new JMenu("Edit");
JMenu otherMenu = new JMenu("Other");
JMenu subMenu = new JMenu("SubMenu");
JMenu subMenu2 = new JMenu("SubMenu2");
add(fileMenu);
add(editMenu);
add(otherMenu);
setVisible(true);}
public static void main(String [] args){
sandi rami=new sandi();
JFrame frame = new JFrame("test");
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
frame.setSize(300, 300);
JMenuBar menuBar = new JMenuBar();
menuBar.add(new JMenu("test"));
frame.setJMenuBar(menuBar);
frame.setVisible(true);
Similar Messages
-
I keep getting an annoying pop up the says "User Account Control" "Do you want to allow the following program to make changes to your computer"
== This happened ==
Every time Firefox opened
== Two days after I downloaded Firefox and set as my default browser.Check that you do not run Firefox as Administrator.
Right-click the Firefox desktop shortcut and choose "Properties".
In the Compatibility tab, make sure that Privilege Level: "Run this program as Administrator" is not selected.
You also need to check the Properties of the firefox.exe program in the Firefox program directory.
If you can't make the changes then you need to start Windows Explorer as Administrator. -
why itunes 10.5 64 bit wont install on my 64bit hp probook ? when i run it my user account control asks me that do you want the following program from unknown purblisher to make changes on you on this computer?
program name :itunes 64setup.exe
purblisher:unknow
file location: hard drive on this computer when i click yes nothing happens
aditional ateps iv taken, uninstalled all itunes including quick time,banjour mobile updates ,everthing that has to do with apple products.went into window regestry and i dint find anything that has to do with apple in software bar
restarted my laptop several times, put the setup on a External USB but still nothing happens ,blowsed all most all sites on goggle no where iv seen this problem ,pliz who can help?why itunes 10.5 64 bit wont install on my 64bit hp probook ? when i run it my user account control asks me that do you want the following program from unknown purblisher to make changes on you on this computer?
program name :itunes 64setup.exe
purblisher:unknow
file location: hard drive on this computer when i click yes nothing happens
aditional ateps iv taken, uninstalled all itunes including quick time,banjour mobile updates ,everthing that has to do with apple products.went into window regestry and i dint find anything that has to do with apple in software bar
restarted my laptop several times, put the setup on a External USB but still nothing happens ,blowsed all most all sites on goggle no where iv seen this problem ,pliz who can help? -
<blockquote>Locking duplicate thread.<br>
Please continue here: [[/questions/856850]]</blockquote>
"Do you want to allow the following program to make changes to your computer?". I get this message everytime I open Firefox. I select "Yes" and then the program opens. However, I continue to get this question everytime I open firefox. Please help.Can anyone answer my question?
-
after downloading iphone pictures to desktop, itunes won't open. I downloaded itunes 10.6 (64bit) but get "Do you want the following program to make changes to your computer?" Apple Inc. I've clicked "yes", restarted the computer, and still no luck.
I also have the same problem, but the Software Updates tool doesn't recognise that Quicktime is out of date. Have you tried downloading Quicktime 7.7 Leopard from http://support.apple.com/downloads/#quicktime as this worked for me...?
-
"Do you want to allow the following program..." Message
After installing iTunes 9.2 on my Windows 7 (64bit) laptop, every time I attempt to open iTunes it gives me a message asking "Do you want to allow the following program to make changes to this computer?". Clicking yes leads the programme to open, but the message appears every single time upon opening.
Also, when iTunes is minimized to the task bar, it will not open and maximize, and doesn't appear as one the applications running on the task manager and must be shut down through the processes.
I have uninstalled all Apple software and reinstalled iTunes multiple times as well as moved all my music off my computer.
Any ideas on a solution?Many thanks. I think we'd better try rebuilding your iTunes preference files in the account that is getting the errors.
For the basic technique, see the *Remove iTunes Preference files* section of the *User-specific troubleshooting* section of the following document:
[iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues|http://support.apple.com/kb/TS1717]
*Prior to doing the preference file rebuilds:* Best to make a note of any custom preferences you have set up for your iTunes. (Rebuilding pref files returns preferences to their defaults ... so you'll likely have to set some of those custom preferences up again from scratch.) Also make a note of any third-party plugins/add-ons you have installed. You may have to reinstall those after the rebuilds.
*Things to watch out for during the rebuilds*
Rebuilding the preference files in the \Local\ location causes the iTunes license agreement to run. So you'll need to agree to that again.
Rebuilding the preference files in the \Roaming\ location causes the iTunes Setup Assistant to run. When prompted to do so, *do not* add files to your iTunes library. (Otherwise you'll end up with a library full of duplicates.)
... are those measures of any help with the launch error and the maximising troubles in your usual user account, sana? -
Okay everybody...so I'm on the struggle bus so I'm going from Photoshop cs6 off my old broken laptop to trying to dwn Photoshop Cs2...either way I love PS. Now when I tried downloading it for free from Adobe...succeeded...but when I went to the download folder to install it, it said "Do you want to allow the following program from an unknown publisher to make changes to this computer?" I mean....what would you do? Is it safe to click yes....(Don Don Don...*sound effect*)..please help...
If you already have a license for photoshop cs6, why do you want photoshop cs2?
You can just install photoshop cs6 on your new computer provided both operating systems are the same kind (both mac or both windows)
If you don't have an install dvd for cs6, you can download photoshop cs6 from here and use your serial:
http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html -
A few days ago I started getting the following message EVERY time I try to log on:
"Do you want to allow the following program to make changes to this computer: It lists FF and Mozilla Corp.
I have to click "Yes" EVERY time and then it my Comcast homepage appears.
I have a PC using Windows 7.
In addition, when my homepage does appear, the 3 little icons in the upper right do not appear. (Minimize, X)A possible cause of this error is that Firefox is set to run as Administrator.
Check that Firefox isn't set to run as Administrator.
Right-click the Firefox desktop shortcut and choose "Properties".
Make sure that all items are deselected in the "Compatibility" tab of the Properties window.
* Privilege Level: "Run this program as Administrator" should not be selected
* "Run this program in compatibility mode for:" should not be selected
Also check the Properties of the firefox.exe program in the Firefox program folder (C:\Program Files\Mozilla Firefox\). -
Every time I open the browser, a pop-up window asks "Do you want the following program to make changes to this computer?"
It is unnecessary and annoying to have to click "yes" each time.
How can I get this pop-up window to stop?Thanks for the help I'll keep the info just in case - but I got so frustrated that I just deleted the program and then re downloaded the current version now everything works fine.
-
How do I get rid of 'Do you want to allow the following program..."?
I have recently installed Windows 7 on a new computer and have also installed Dreamweaver MX.
Whenever I open Dreamweaver, it comes up with an annoying message "Do you want to allow the following program to make changes to this computer?"
My question is this - how can I get Windows 7 to recognise Dreamweaver MX so that this message does NOT come up anymore?
Or do I have to upgrade my Dreamweaver to the latest version (probably quite expensive).
To see a screenshot of a similar message, see this thread:
http://www.sevenforums.com/general-discussion/14310-how-get-rid-do-you-want-allow.html
Thank youchuckee wrote:
Or do I have to upgrade my Dreamweaver to the latest version (probably quite expensive).
Thank you
As Murray stated, it's been about 8 years. Adobe only allows you to upgrade from the previous 3 versions. Right now they are on CS5 (11) which means you can upgrade from Dreamweaver 8 which is 2 versions after yours. So you would have to buy the full version again. Buying the upgrade is no longer an option. -
I recently installed Adobe Acrobat 8 Professional and every time I open a PDF file that is stored on my computer, I get a pop-up that asks "Do you want to allow the following program to make changes to this computer?". How do I get rid of this? I don't want to change my security settings, I just want to open pdf's without having to go through this step.
I'm using Windows 7.Thanks for that good idea. I checked the "properties" by right clicking on the AA8 icon and under "compatability" I noticed it had Windows XP (Service Pack 3). Since I'm running Windows 7, I changed it to that and now I don't get that annoying pop-up!
-
Recurring message "Do you want to allow the following program to make changes to this computer"
Operating System: Windows 8 Printer: HP Photo Smart 6520 e All-In-One Whenever I click on the icon on the desktop I get "Do you want to allow the following program to make changes to this printer" if I click yes the connection setup window pops up to choose a connection, I have already choosen a connection for my PC, laptop and tablet and everything works. How do I fix this its becoming annoying. Thanks
You need to change the security level in Windows 8. Microsoft issue.
Say thanks by clicking the Kudos Thumbs Up to the right in the post.
If my post resolved your problem, please mark it as an Accepted Solution ...
I worked for HP but now I'm retired! -
I have two computers with windows 7 Home Premium. Whenever I launch Firefox on one, it launches just fine. On the other, I always gets this message: "Do you want to allow the following program to make changes to your computer"? " How can I fix this ?? Thanks......
phrankNone of that worked for me. And I don't think disabling UAC is a good idea at least if it's a work computer rather than my own.
-
The following pop-up is displayed after every log-in, even after it is clicked yes after previous log-ins. Several students log-in the computers daily. How do I rid THIS?:
User Account Control
"Do you want the following program to make changes to this computer?
Program Name: FireFox Helper
Verified Publisher: Mozilla Corporation
File Origin: Hard Drive on this ComputerIn Windows 7, Microsoft updated UAC in several ways. By default, UAC does not prompt when certain programs included with Windows make changes requiring elevated permissions. Other programs still trigger a UAC prompt. The strictness of UAC can be changed to either always prompt, or to never do so.
[http://windows.microsoft.com/eN-US/windows-vista/What-is-User-Account-Control What is User Account Control?]
[http://windows.microsoft.com/en-US/windows-vista/Turn-User-Account-Control-on-or-off Turn User Account Control on or off]
It is the same on win7.
[http://en.wikipedia.org/wiki/User_Account_Control User Account Control]
thank you
Please mark "Solved" the answer that really solve the problem, to help others with a similar problem. -
Dear All,
I'm facing some issue in WINDOWS SERVER 2008 R2 on each windows settings its prompting for UAC like on windows settings (Server Manager, Network Settings, Firewall Settings etc) and in Publisher "Unknown"
is showing though its windows settings.
ERROR: "Do you want to allow
the following program from Unknown Publisher. . . . "
Program Name: CompMgmtLauncher.exe
These prompts only occurs with domain user though its a member of administrator group on that local machine while logging with local administrator user this doesn't happen.
Thanks
REGARDS DANISH DANIEHi Danie Danish,
Would you please let me know current situation of this issue? Have you referred to britishdhez’s suggestion
and solved it?
Just additional. Please use anti-virus software to scan the server. Meanwhile, please run
sfc /scannow command to check protected system files.
If any update, please feel free to let us know.
Hope this helps.
Best regards,
Justin Gu
Maybe you are looking for
-
I have a 09 imac with the larger dvi port I would like to hook up new Apple LED Cinema Display but dvi is smaller is there an adapter
-
IN clause in DB Adapter doesn't retrieve any results
Query builder in the Oracle Database Adapter doesn't give an option to include IN clause in the SQL. If I include that in the SQL directly say like the following SELECT COL1, COL2 FROM TEMP_TABLE WHERE COL1 IN (# VAR_CD) and I am passing 'Joe', 'Matt
-
How to make cost element field appear when create network activity service
Hi All, Please help. We create a project ,wbs and network activity using external service. How can we make appear the cost element when the service master appear. The system require cost element but we cannot see the cost element field. Steps : *. CJ
-
Plz help me my sound effects dont working yet, Plz help me my sound effects dont working yet
Plz help me my sound effects is not working yet
-
hi i was wondering if anyone could offer any suggestions as how i could create an arraylist of rationals. i also need to sort the elements into increasing order. i believe i am to use a toArray method from the collection frame work. would appreciate