How do i install powersearch toolbar properly, it only instal a binary file

i try downloading powersearch toolbar but it only downloads a binary file and then it says it cant download because it has no update information how do i get it the toolbar on my browser?
== This happened ==
Every time Firefox opened
== i installed it the first time

What you need is a correct path to the directory
inside of the jar. This can be accomplished by adding
a line to your main program like this:
URL
url=myProgram.class.getResource("images/New16.gif");
Dummy = new JButton(new ImageIcon(URL));
where myProgram.class is the name of the class
file that contain the main method.
Hope this helps....
;o)
PS: I don't want your dukes...I got them coming out of
my ears!
O.K, that works thank you.
I put something like:
for all the 'buttons' in the toolbar
URL url = null;
Class ThisClass = this.getClass();
url=ThisClass.getResource("images/New16.gif");
Dummy = new JButton(new ImageIcon(url));
Dummy.setActionCommand("New");
Dummy.addActionListener(this);
Dummy.setToolTipText("New Database");
bar.add( Dummy );
etc for all the rest of the 'buttons'
After Reading the API docs on URL's etc I'm still not sure as to why it works, but it does....
I am able now to place the class files in a jar along with the images and it all works fine
although now I don't quite follow all my code....................
I assume that
url=ThisClass.getResource("images/New16.gif");
returns some sort of 'relative url ' ???
Thanks for the help though.

Similar Messages

  • Help:how to use java.util.jar to zip or unzip a binary file.

    how to use java.util.jar to zip or unzip a binary file or a file contain native code.

    It may help you to know how I add JARs
    1. I open my Project (myProject)
    2. I Mount the JAR to the FileSystem (like mypackages.jar = which includes com.mus.de.myClass.java)
    3. I Mount the File to the FileSystem (like c:\..myfiles..\myProject)
    3.1 I add the File to my Project
    4. I select File | New -> Classes | Main
    4.1 I typed "import com.mus.de.myClass.java" to refer to this package.
    4.2 I called some of the public methods
    thats it
    Andreas

  • HOW CAN I USE TIME MACHINE TO BACKUP ONLY PART OF MY FILES ON EXTERNAL D?

    Hi, I am using time machine to back up all my files at the moment. but I want to get rid of video and photo material from my laptop and keep it on the external hard drive to which the time machine backs up my stuff.
    how can i do this without losing the video and photo files permamnently?
    thank a lot!

    nefsi wrote:
    doesn't time machine back up my files on the External hard disk?
    By default, Time Machine backs-up almost everything on your internal HD to your External HD. It can also back up things on an external HD, if you want it to.
    What I would like is, to find a way so that I could back up everything, but not have all the videos and photos I do not use often, on my laptop. instead I want to put them on the external hard drive and have time machine update all the other files.
    Yes, you can do that, but there are two considerations:
    You should partition the external HD so the TM backups are in one partition, and the other files are in the other partition. A partition (also called a volume), is treated like a separate disk for most purposes. See #3 in the Frequently Asked Questions *User Tip* at the top of this forum.
    You should find another way to back-up the videos and photos in that other partition, such as archiving them to CDs/DVDs.
    In other words, can Time machine back up only some of my files?
    Yes. You can exclude things from Time Machine. See #10 in the FAQ Tip. If you partition your TM drive, the other partition on it should be excluded automatically; but if it isn't, you can easily add it to the +Do not back up+ list in TM Preferences > Options.
    For detailed instructions on making another partition on your external HD, see #6 in the FAQ Tip. It shows how to add a TM partition to a drive that already has other data on it, but the procedure is the same.

  • Problem installing formsReports server after HTTP Only install

    Hi all,
    Well I have finally got the http only install to run and work correclty but when I go back to install the Forms / Reports server I get an error:
    "Specified key was not found while trying to GetValue"
    I hit the Retry button but no success. If I do an Enterprise install, Forms / Reports get installed. Is this a bug or a know problem with a work around?

    I forgot to mention that I am using Widows 2000 and Oracle9iAS 1.0.2. I could manually install forms and reports server however, I am looking to see if can be fixed to work correclty through the 9ias installer. That way I don't have to go in and edit the httpd.conf files for /dev60html etc.. For some reason the HTTP only installation isn't putting in a proper registry key but if you do a Enterprise Install the key is being inserted. I have formated the disk and installed 2000 and then installed 9ais so I know it isn't a correpted system.
    Thanks for any help you can offer.

  • How do i set drive to update changes only when same name files are added

    I Want to set up an external drive to update changes only when same name files are dragged from desktop can any one help?

    That's still a little ambiguous. What recording software are you using?
    Usually the individual sound files in a music project file are included in a separate folder. For example, GarageBand normally hides these files inside a single Project file in the Finder, but you can right-click and Show Package Contents to see the individual audio files.
    Any of those backup utilities I mentioned will be smart enough to copy the new and changed files within the project file. In the Terminal these .band files are actually directories, just like .app Applications in the Finder are actually directories. I think Finder may actually handle it properly also, but I'm not really sure what the Finder will do when you re-copy a GarageBand project folder to an existing backup copy and only some of the audio files have changed.

  • How do I remove yahoo toolbar I didn't install from Firefox, 4 is clean. I like clean.

    Just recently started using FireFox 4. Is a great browser and I intend to install in my new computer later this afternoon. How do I remove/delete yahoo's toolbar? Yahoo is my email but I don't need their toolbar messing up FireFox.

    I removed it by clicking on the "Tools" menu, then select "Add-Ons." Once the list populates, click on "Extensions," then locate the Yahoo Toolbar. Off to the right hand side you can click either "Disable" or "Remove." I disabled it, restarted Firefox 4.0 and no annoying Yahoo toolbar :)

  • How do you uninstall unwanted toolbars ( I didn't install); also in the application file "toolbars" is not there. What do I do?

    There are  5 toolbars loaded onto my computer that I didn't install. When I go to uninstall them they say go to your application file for "toolbar".  Well, I go there any the application file doesn't contain "Toolbars".  So now what do I do.  Do I need to take this to the "Geek" Squad for their help? 

    You might stump GeekSquad, and you can do it yourself. The best action at this point is to ask this question in the Safari forums here:
    Safari
    There are some amazing wizards there who can give you step-by-step instructions for removing those offenders at home. The unsupported toolbar issue is common there, so they have the answer ready to go.

  • Can the database cache be installed w/ 9ias http server only install

    The 9ias 1.0.2.2 db cache is offered as an option only with the Enterprise install. This a 4.32 GB installation most of which I don't require like Forms, Reports, Discoverer etc.
    Is there a way for me to install just the 9ias http server and the db cache??
    Note, in the Enterprise install, even though you are given the option to deselect components , it has no effect. The installer still goes ahead and installs all the components.

    For Http Server without any other components, you can go for
    Core Edition of iAS10221 & during installation deselect
    Oracle9iAS Web cache from Component Configuration & Startup
    screen.

  • How to write a 2-D Array of Doubles to a binary file in LabView 8.5?

    Okay, this is driving me nuts. I got a program that worked fine in LabView 8.0 but refused to write any data after my institute upgraded to LabView 8.5. The data is stored in a 2-D array of doubles and is supposed to be written to a binary file, that has been correctly opened and got a header written to it containing some meta-data of the measurement. But when the doubles from the array should be written to the file, nothing happens. All I get is an (except for the header) empty file of 786 kB. I found out that writing works if I convert the data from the array to singles right before wiring them to the "write to binary file" VI, but for several reasons I need the data as doubles. Can anyone help me? I've tried everything anyone has written here about writing to binary files and more.
    Remember, it worked perfectly fine with an older version of LabView. Any ideas?

    It is possible that you run into a known memory optimization bug.
    Try to place an "always copy" primitive as discussed here.
    Message Edited by altenbach on 11-18-2008 09:11 AM
    LabVIEW Champion . Do more with less code and in less time .

  • How to store 2C array to a singl binary file

    Hi
    I have to store multiple waveforms output that is each 1D array to a single binary file. how do i do this.
    i can store 1D array to binary file and retrieve it by reading the binary file and plotting the waveform. but i am not able to store 2D array to the single file. how do store many 1D array in one binary file,
    Thank you. Hema

    (We would also need to know your LabVIEW version. If you have a very old version, things would be quite different.)
    As Smercurio_fc already mentioned, the option to "prepend array size" would make things much easier here, because then you would read it as a single 2D array.
    Here's how that would look like. This is probably the recommended solution, just for simplicity reasons.
    Not prepending the size is more useful if you write the data in increments, but later want to read it as one.
    Message Edited by altenbach on 11-15-2008 09:02 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SaveRestore2D.png ‏21 KB

  • How many binary files must be uploaded to apple...

    Do you need to upload a subscription binary .zip as well as a single copy binary .zip?
    for my subscription version it reads...waiting for review.
    On my Current version page it reads....waiting for review and under view details it reads....Waiting for review for version 1.0
    I also provided free sample content and that reads....waiting for review under free subscription.
    But under my In-App purchases it reads Waiting for upload for my non-consumable single issue which I assume from the current version page to be Waiting for review and binary received
    I'm confused as hell now if I sent everything that is needed.  How many diffrent zips go to Apple? 1 or 2 to start this whole process. One for sub and 1 for single? Its all the same content. Except for the freebie version.
    Did this uploading with no sleep after pulling a all-nighter. Now it makes me scared.

    Anyone? 
    My status review says Waiting for review  for my subscrption ID but my single issue says waiting for upload is that cool?
    Does the subscription version need to be approved first for Newsstand then I can test the single issue in the Sandbox?  (Its the same mag and this is the very first issue)
    Its says Newsstand is activate in iTunes Connect.
    On my Ipad my free sample issue shows up and it gives me the subsribe button as well which appeared to work. I am confused when I can see the full issue and test in my ipad in the sandbox.
    I am confused on how this works. Apples servers talk with the Adobe servers and yank accordingly from the corrosponding product ID's? Is that it? All my ID's have been seen by Adobe tech suport for other reasons and all is cool.
    In the DPS app builder I didn't have to also put my single issue product ID as well as my single issue ID in the subscription product window as well....did I?
    All I have now is my subscription product ID. (and that ID reads waiting for review in iTunes Connect.
    I only upoaded one binary file to Apple.
    Part of me feels I did things right but the other part is doing its best to freak me out and make me second guess my actions.
    Did I read somewhere you need to get approval from Apple before you can test in a sandbox environemt anything that is not free content?
    Anywhere on the Adobe site can I find it explained on how Apple & Adobe work with one another and how the product ID's are used etc.  I don't want to wait a week here and find out I missed doing something that I could of avoided. during my "waiting for review" process.

  • Firefox tells me to re-install the Toolbar, How?

    There is a message just above the screen that says Firefox is not able to show the Toolbar.Please re-install the Toolbar.
    How do I do this?

    This issue can be caused by an extension that isn't working properly.
    See:
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • When I upgraded to 4.0 it will not show the toolbar "Firefox is not able to show the Toolbar. Please re-install the Toolbar" How do I fix this?

    When I upgraded to 4.0 it will not show the toolbar "Firefox is not able to show the Toolbar. Please re-install the Toolbar" How do I fix this?

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • My toolbar is missing and there is a button where it used to be that says "Please re-install the Toolbar" but when I click on it nothing happens? Also when I start Firefox I get a script running error how do I solve these issues?

    My toolbar is missing and there is a button at the top left that asks me to "Please re-install the Toolbar" but when I click on it nothing happens???
    Then when I start Mozilla I get a long delay before it launches and a script running error "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: chrome://tavgp/content/libs/include.js:595"
    How do I solve these issues???

    No idea - and you provide no clues
    what version of iPHoto do you have? Of the OS? is the iPhoto icon you are speaking of in the Dock?
    re-read your post and try to provide information using standard Mac terms since we can not see you or your computer and only have your worrds to let us try to help you
    Somehow my "IPhoto" icon now says "Preview".  When I click on "Preview" nothing opens up except the bar says Preview.  When I click on the Preview on the bar, a box opens up with different items, except when I click on any of them, there is nothing there.  The only thing that work is the "quit preview".  However, it is still there where my IPhoto icon should be.  I can't get into my IPhoto.  How do I get rid of this "Preview" and how did it end up taking over the IPhoto icon???
    If you go to your Applications folder and double click on iPhoto what happen?
    LN

  • How do I install a toolbar with the Croatian language

    How do I install a toolbar with the Croatian language.
    Thank you!

    Do you see the menu bar or anything else? As for the missing toolbar, this is the case for 90% of Firefox users, for instance the Google Toolbar. To restore it, you need to install Mozilla's Add-On Compatibility Reporter extension from https://addons.mozilla.org/en-US/firefox/addon/15003 and restart Firefox twice.
    As for the white screen, I am not sure what you mean, but your install looks corrupted, you probably need to uninstall Firefox and reinstall from scratch. You may spend too much time and effort otherwise. Back up your settings first if you have any, like Firefox bookmarks.

Maybe you are looking for

  • IPhoto '08: How can I copy an album or slide show to another computer?

    Hi, I want to take a slideshow of a trip that I put music to and move it from my iBook to my new iMac so I can use iDVD to make a DVD of the slideshow (since I can't burn DVDs on my iBook). I have TONS of pictures from this trip, so it would really b

  • Import file mts from camcorder Panasonic HDC-HS700

    I'd like to ask if it is possible to import file mts from my panasonic. I have imac 27" i7 with imovie 11, final cut express 4, but i don't know how to import or read the file saved on my panasonic in format avchd 1080 / 50p. Is there another softwar

  • Pushbutton Text does not display in portal but display in development

    Hi Experts, I ceated Pushbutton in  selection screen block . Pushbutton text is does't display in portal view but display in development . i attached my coding , could you suggest anyother coding to diplay the pushbutton text. SELECTION-SCREEN BEGIN

  • Multi-Page Printing in Adobe AIR

    I developed a commercial application for a client in Adobe AIR about 3 months ago. Now my client wants to add a printing feature. The problem is it requires multi-page printing based on the number of rows in a SQLite table. BUT I FOUND OUT TO MY AMAZ

  • Button Link Problems .swf

    Hello. I am using Adobe Flash CS6. I am having trouble making 2 separate links for 2 buttons. I have been unsuccessful. I made 2 different buttons and thought i made 2 separate links. But, When both buttons are clicked, they link to the same page. I