Image all over the button

Hi guys,
Wonder if it is possible to place an image all over the button (as if it is "center" borderLayout).
login = new JButton(new ImageIcon("images/login.gif"));
in this case the image is in the center and i want to eliminate all the gray area.
thanks
peter

button.setInserts(0,0,0,0);
button.setBorder(null);
button.setBorderPainted(false);think that might work!! try one of those all all of them hope that it helps

Similar Messages

  • Webpage rendering images all over the place after 8.0.X

    Whenever I open a web link from the financial 'stock' application, it loads normally with small fonts as usual but when double-tabbed to magnify to full screen, two things will occur:
    1. the keyboard pops up which is very annoying
    2. images rendered all over the place in magnified full-screen mode.
    Just updated to 8.0.2 and problem still persists.

    Hi ..
    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    No data is lost due to a reset.

  • Images all over the place

    Today was my deadline and it is blown.
    I'd love to get this done over the weekend, but it's looking baaaad.
    I have a 350 page book I'm working on for export to pdf.
    It's my own book.  It's not for a client (I don't have any nor should I).
    I have a deadline because there will be some lovely publicity about it coming out in April or May so I want to get Amazon going on it ASAP.
    I have about 80 images.
    I'm in Indesign CC on a mac
    Just when everything looks perfect, I find some little glitch, correct it, and all the images float loose and go to all the wrong places.
    I can ANCHOR some images but not all.
    At the beginning of this project I was trying to anchor all of them to relevant text but got a lot of weird reactions from them and so I give it up when when it goes weird. 
    I know!
    What do I mean by that?  The image jumps off to the side or to a previous page or the text wrap stops working. Some behave nicely.  but most don't. I SPENT ABOUT A WEEK ON THIS. IT'S TOO COMPLICATED FOR ME AT THIS POINT.
    I've re-placed images and captions hundreds of times.
    If someone can offer some very very simple advice as to what would be my best move, I'd love to have it.  Complicated advice won't help me. I will not understand it. And I don't have time to take a class in indesign.  I mean, I've done pretty well, but this problem keeps arising.
    My default plan now is to delete ALL images.  Work on the text.  And then place the images one by one where they finally belong starting from the top.
    AFTER FIRST INSERTING A link or something to the image or to the name of the image without modifying the text.
    CAN SOMEONE TELL ME HOW TO DO THAT or SUGGEST A BETTER PLAN?

    My default plan now is to delete ALL images.  Work on the text.  And then place the images one by one where they finally belong starting from the top.
    If the all images it's on one folder, when file>place select all images then you use up arrow or down arrow keys to choose which photo you want to place on it's page.
    I've re-placed images and captions hundreds of times.
    If the caption include in photos metadata, after placing photos select all photos in links panel then mouse right click select captions>generate live captions or generate static captions

  • Website images all over the place!

    My site looks nothing like the iweb creation I have built.
    It's photo heavy, but looks fine in iweb, and then when i publish to a foler/mobileme, I get distorted/disjointed images.
    Could someone please tell me what's going on? It feels like there are errors in the layering or something. Links don't often work either.
    http://www.alleinenadal.com/alleinenadal/home.html

    just can't seem to get it right. it worked for one page, then i try on another page and it doesn't work - and then affects the other page. i've tried leaving the text placeholders at the top of the page in, but to no avail. using a blank page should give you the freedom to put your own images/background in no? i've seen it on other peoples' sites.
    it feels like a game of trial and error. Can anyone from iweb offer any advice?????

  • Blue or pink stripes appears all over the screen, can't do anything but restart with the button.

    I was watching Netflix and all of a sudden, blue stripes appeared in my screen. Then my page seemed to "split" in two and then come back to normal and then there were pink stripes all over the screen and I couldn't see anything else but stripes. I had to restart with the button. It restart correctly, I have been able to watch Netflix again but only on Chrome because on safari it would happen again everytime. Then, iPhoto opened and here we are again, stripes and image "moving", can't help but wait... Then the screen became all white and nothing. I tried to restart it again with the button, but it didn't even made it to the apple interface, juste the sound and then white screen. What is going on, Please? I really need my computer for work this isn't fun!

    After all this, you are at a white screen at startup and that is as far as it goes? What operating system are you using?http://www.macworld.com/article/2018853/when-good-macs-go-bad-steps-to-take-when -your-mac-wont- Also try this. https://support.apple.com/en-us/HT201295

  • It is a suggestion on Adobe Dreamweaver:  Could you change the setting of the page or template; to a free platform?  example; move: images, tables and other elements all over the place covering the page. in order to facilitate the user in the design envir

    It is a suggestion on Adobe Dreamweaver:
    Could you change the setting of the page or template; to a free platform?
    example; move: images, tables and other elements all over the place covering the page. in order to facilitate the user in the design environment.
    free
    Thank you for your attention

    Adobe has been trying this and the product is called Muse ( Web design software | Download free Adobe Muse CC trial ).  It doesn't give you the control over the code that most developers prefer but it could help bridge the gap for design if that is what you are looking for.

  • Whenever I try to erace something with the delete button it acts like "tab" and sends me all over the page when all I want to do is erace what I wrote... help!

    Whenever I try to erace something with the delete button it acts like "tab" and sends me all over the page when all I want to do is erace what I wrote...How do I fix this?

    Whenever I try to erace something with the delete button it acts like "tab" and sends me all over the page when all I want to do is erace what I wrote...How do I fix this?

  • I have a first generation iPad and the screen went completely green on me and locked up.  I was able to unlock it, but now there's a green haze all over the screen.  Anyone know what the issue could be and how I can get it fixed?

    I have a first generation iPad and the screen went completely green on me and locked up.  I was able to unlock it, but now there's a green haze all over the screen.  Anyone know what the issue could be and how I can get it fixed?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Out-of-Warranty Service
         If you own an iPad that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will replace (Apple doesn't repair) your iPad with an iPad that is new or equivalent to new in both performance and reliability for the Out-of-Warranty Service fee listed below. (The replacement will most likely be a refurbished iPad in a brown box, however, it has a new screen, back and battery.)   
    iPad model
    Out-of-Warranty Service Fee
    iPad mini
    $219
    iPad 3rd, 4th generation
    $299
    iPad 2, iPad
    $249
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in US dollars and are subject to local tax.
    Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPad that has failed due to contact with liquid may be eligible for out-of-warranty service. See http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
    You may can get the iPad repaired at 3rd party repair sources for less $, however, any remaining Apple warranty will be voided.
    iPad Repair & Screen Replacement Services
    http://www.ifixyouri.com/16-ipad-repairs
    RepairZoom iPad Repair
    http://www.repairzoom.com/ipad-repair.html
    Mission Repair
    http://www.missionrepair.com/Apple_iPad_Repair_Services_s/431.htm
    iGadgetResQ
    http://www.igadgetresq.com/ipad-repair/
     Cheers, Tom

  • When i open my computer I get the white screen with apple symbol and there are vertical lines all over the screen with green pixels and after a few minutes the screen gets grey and I get message to restart my computer what happens

    3 years ago I bought an IMac Desktop that I am using for a lot of things but the most important for dvd montage in Imovies and Idvd.
    Now today when I opened my computer I get as usual the white screen with the Apple symbol but there were all over the screen vertical lines with green pixels and after a while the screen gets grey and I get message to restart my computer using the power button or the restart button and when I do so each time the same is happening somebody can tell me what is happening and what caused this. This computer is my work and now I have no income anymore.
    On the Apple support site they are asking to enter the serial number and when I do so I get message it is wrong but it is the only one I have and I buy this computer in Cairo Egypt. I am living in Hurghada in Egypt for the moment. When I call the technical support of the shop where I buy it they are telling me that it is the hard disk or ram and that I probably lost everything on it and they are asking a big amount to repair.
    Can somebody advise me on this matter. Thanks in advance

    You can find the serial number either in About this Mc in the Menu bar under the , or it should be on a sticker under the foot of the machine.
    If you have the install discs, try booting from them, holding down the c key and then using Disk Utility to check the drive. 
    You can also boot into Safe mode
    To start up into Safe Mode (to "Safe Boot"), do this:
       1. Be sure the computer is shut down.
       2. Press the power button.
       3. Immediately after you hear the startup tone, press and hold the Shift key.
          Tip: The Shift key should be held as soon as possible after the startup tone but not before.
       4. Release the Shift key when you see the gray Apple and progress indicator (looks like a spinning gear).
    During the startup in Mac OS X 10.2 through 10.3.9, you will see "Safe Boot" on the Mac OS X startup screen.
    During the startup in Mac OS X 10.4 or later, you will see "Safe Boot" on the login window, which appears even if you normally log in automatically.
    Please post back with results,
    To leave Safe Mode in any version of Mac OS X, restart the computer normally, without holding any keys during startup.

  • My fonts are all over the place, how do I get them back?

    Recently some of pages I view in Firefox have the text scattered all over the place and makes them impossible to understand. How do I get them back to normal? I am using a 2 x 2.8Ghz Quad Core Intel Xeon Mac, 12GB RAM running OSX 10.9.5 and Firefox 37.0.1. I have attached a screen shot of my Facebook Page to try and help explain my dilemma. Regards, Mal

    You can check for corrupted and duplicate fonts and other font issues:
    *http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    *http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html
    You can try to disable hardware acceleration in Firefox.
    *Firefox > Preferences > Advanced > General > Browsing: "Use hardware acceleration when available"
    You need to close and restart Firefox after toggling this setting.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I have a comment.  I am very upset with Photoshop and all your tutorials regarding the quick select tool.  I have watched many tutorials and read instructions until I am blue in the face.  This tool does not work.  It is all over the place and all of your

    I have a comment.  I am very upset with Photoshop and all your tutorials regarding the quick select tool.  I have watched many tutorials and read instructions until I am blue in the face.  This tool does not work.  It is all over the place and all of your tutorials make it look so simple.  How can you advertise this as a viable tool when it just doesn't work?

    It is all over the place and all of your tutorials make it look so simple.
    This is a user to user Forum, so you are not really addressing Adobe here, even though some Adobe employees thankfully have been dropping by.
    How can you advertise this as a viable tool when it just doesn't work?
    Concluding something does not work because you fail at using it is not necessarily always justified.
    The Quick Selection Tool certainly has limitations, but your post seems to be more about venting than trouble-shooting – otherwise you might have posted an image where you failed to get an expected result.

  • Is anyone else having sensory issues since updating to the IOS 7.1.1? My phone is all over the place when trying to scroll or play a game. Know how to fix? It didn't do this till after this update.

    My phone is all over the place when trying to scroll or play a game. Know how to fix? It didn't do this till after this update.

    Do a
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data

  • [SOLVED] Image going over the size of my TV

    I just upgraded my TV to a 47'' panasonic SmartTV from my old LV 32'' one.
    I connect it via HDMI for video playback and xbmc use: The video card is a nVidia GT 240
    The problem I'm facing is, at 1080p @ 60Hz, the image goes over the edges of the TV, like is bigger than the tv itself, so you lose some inches from each side.
    At 720, the image looks to fit right but this is not the desired resolution.
    I use nvidia-settings in order to tweak xorg.conf, but I had to add some options by hand for the fonts to have 96dpi.
    Can anyone help me to find the solution for this?
    I have a windows partition for gaming and when I booted it up for testing i faced the same issues.....
    Thanks!!
    Last edited by Xi0N (2013-07-21 20:14:23)

    The problem is the TV itself. I have no idea why, but regular HD TVs usually cut a few pixels from each side, doing a slight zoom in. This is called overscan. You can usually disable this in the TV settings by setting the image size to "fullscreen" instead of 16/9.
    Some quick Googling gave me this article, it seems pretty detailed (I'm learning myself right now why all TVs do this).

  • When printing a web page the type is spaced out all over the page, why?

    when I try and print a web page out on firefox it spreads the words out all over the page so it is unreadable. I never had this problem until recently.

    This is a regression that was introduced in Firefox 4.0 beta 12. It is fixed in 4.0 release candidate 1, which is now available. Go here: http://www.mozilla.com/en-US/firefox/4.0rc1/releasenotes/ and click on the green button "Firefox 4 rc free download". Note that you should do a custom install and change the install directory to the directory where your beta version is located. Alternatively, you should receive a notification that an update is available from within the beta version. Follow the instructions to download and install the update, and once you are running the release candidate, your printing problem should be fixed.

  • When I transferred the info from an old ipod, broken, to a new one the contacts I received were from all over the place, many whom I did not even know.  Can I only restore from the last sync or can I go back further to get my old contacts?

    I recently had to replace my ipod touch.  The old one had a broken button and would not change the screen correctly.  Apple gave me a new ipod and told me all I needed to do was update the new ipod from the itunes which I had backed up prior to getting the new one.  When I did the sync , the info for my contacts was giving me names and addresses from all over the place except the itunes.  Can I retrieve info from a previous sync or only to the last sync that was made?

    Yes I did.  When installing the new ipod it had to update the software, then it sync'ed the information onto the new ipod.  The contacts were not the original ones, and all the phone numbers have dissappeared.  Is there any way to recover them?

Maybe you are looking for

  • Refresh CRM data in R/3 report

    Hi All, I've a report in R/3 where i get the Order Status of CRM through a RFC, but when i'm changing the status in CRM through crmd_order, when the report is open in R/3. When i press the refresh button, the status is not changed, it shows the previ

  • Error (200400) occurs when I try to connect my Mac Book Pro to Apple TV

    Every time I try to connect my Mac Book Pro to Apple TV error 200400 occurs. It connected once and functioned perfectly well. When I tried again the same error occurs. Again, and again. What is the issue? (My mac is new from 2012)

  • Problem in using webservice in My ADF App

    hi ,OTN I used this tutorial http://www.oracle.com/technetwork/testcontent/wsdc-085537.html to have a webservice in my ADF Application that returns Weather Application.I used Jdeveloper 11g 11.1.1.3.0. by follwing this tutorial I could get the weathe

  • IMac to new iMac via Firewire---Hung up at 34 minutes for 8 hours

    I have a 2007 iMac connected to my new 27" iMac via Firewire 800->400 cable. It seems to have gone fine, for awhile. Now it's stuck at 34 minutes remaining for over 8 hours. Do I let it keep going? If not, how do I stop it and start over? Won't the n

  • How to change the color of the News content?

    Hi Friends, I have requirement that we have to change the color of the date of the news from blue #9999FF to Black #000000. Can any body tells how to do this? I have tried it by changing the theme but the color is always be same. Please help me to so