Where do I start to make full fledged images as button(s)?

Okay lets just say instead of putting an 'icon image' into a button I want to use a full picture as that button in particular, how would I go about doing that?
Thanks!

Trizi wrote:
Okay lets just say instead of putting an 'icon image' into a button I want to use a full picture as that button in particular, how would I go about doing that?I think that still your best bet is to first create an ImageIcon with that "full picture"and then add the image icon to your button:
ImageIcon icon = new ImageIcon(ImageIO.read(myImageFile)); // where myImageFile is a File that holds your image.

Similar Messages

  • My firefox window while it is open no matter where i am start shaking and i can't push buttons to the page i am (it doing it everywhere), how can i solve this?

    it is really annoying trying to get in a page for fun or for shopping and start this, it doesn't matter if i reload the page, it just make it. By the way, i am having window 7 ultimate 64 bit, does that have to do with?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    See also http://kb.mozillazine.org/Window_shakes

  • ICloud where do I start?

    Using iCloud and I want to sync it to my desktop, iPhone and iPad. Where would you start to make sure they all stay synced to each other? For example iCal where would you start to make sure they all match? I'm having such a hard time with this. iCal changes are not going through to the iCloud from the desktop. Just when I think its working its all messed up. I've even started from scratch switch to a new user creating the calendar and events. Then exporting all of them, going back to my user and deleting all current info and importing the new ones and it still doesn't work. Any suggestions would be greatful.

    I can add and its fine. I guess I didn't explain exactly what I'm doing and what I've always done in the past and have had no problems until I upgraded to Yosemite. This is our production calendar... 8 different monthly newspapers. Example starting in Jan 2015 with SL on the 25th and tell it to repeat every month. Look at Feb 2015 and I move that deadline date to 28th (each month the deadline is date is different by a couple of days). Move on to March and move that date and so on. I then I go back to Feb 2015 on the 28th and that move didn't stick, its back on the 25th of Feb. and so on and this is happening with all 8 of my newspapers. I can have everything just perfect on the desktop and within a few minutes it changes back to old dates. I've even started over with a new user with iCal and created the dates, exported them out and reopened my iCal deleted the old stuff and imported the new and the same thing happens. I'm at a loss. I have to print out 14 of these for the next 6 months and have them exported or share with co-workers. The bad part is it more than just 8 events on each month. There are multiple events for each newspaper on different days and times. Any ideas?

  • Windows Mail could not be started. Make sure that your disk is not full or that you are not out of memory (0x800C0155).

    I have Vista SP2. Every time I open Firefox (3.6.13), I get three consecutive error messages:
    1) Windows Mail could not be started. The application was unable to open the Windows Mail message store. Your Windows Mail mailbox data is currently being used by another program, such as a virus scanner. Close the program or wait for it to complete its operation, then open Windows Mail again (0x800C0155).
    2) Windows Mail could not be started. Make sure that your disk is not full or that you are not out of memory (0x800C0155).
    3) Windows Mail could not be started because MSOE.DLL could not be initialized.
    This series of messages continue to recur during my Firefox session and eventually will freeze up my session.
    I use Gmail. I do not use Windows Mail or Outlook Express and deleted Windows Live Mail. There is a a file named msoe.dll using the path C: /Program Files/Windows Mail. I also found C:/Program Files/Windows Live/RemoteActiveX even though I thought I deleted all Windows Live programs.
    I have set Firefox as the default browser. Also, in Firefox, if I click on "File=>Send Link", it triggers the series of three error messages above.
    I don't understand why Gmail would reference Winmail. Any ideas how I can fix this? Can I or should I delete the Windows Mail and Windows Live folders?

    I have had many problems with permissions on Windows Vista, 7,8 & 81.1.  It is usually after an update or installation, especially one that requires a reboot to finish (some AVG, Windows Live, Windows Updates, etc).  Once File(s), Folder(s)
    and Registry Key(s) permissions are screwed up, it can take days to work them out if ever.
    After having spent several hours on a clients PC and online forums with this problem.  I transferred her user profile with a free program called
    Transwiz (run as Administrator) to a zip file on the HDD.  I renamed her user in manage User Accounts to "Username old".  I then ran Transwiz again to restore the profile but telling it to create a new user using the original Username.
     After it completed restoring the profile, I logged out of "Username old" and logged in to Username and all wass well, I only needed to supply the email password which is not transferred.  When you move profile data, all the old permissions
    have to be removed and <st1:personname w:st="on">new</st1:personname> permissions added so the data and files belong to the <st1:personname w:st="on">new</st1:personname> user.  This cleared up all the permission
    problems.
    James Taylor

  • In cleaning up files based on a start up disk full message, i placed my music in a place where I tunes can't find it to play. any suggestion?

    In cleaning up files based on a start up disk full message, i placed my music in a place where I tunes can't find it to play. any suggestion?

    Provided that you moved the ENTIRE itunes folder...
    Quit iTunes from under the iTunes menu (by the apple), or hold CMD and press Q.  Then, hold Option on your keyboard and click the itunes icon on your dock.  Continue to hold Option and you'll see a popup where you can select "Choose Library".  Navigate to, and select, the itunes folder at its new location.
    If you didn't move the entire itunes library folder, you'll have to be specific about what you did.

  • Start up disk full message/incomplete image

    I just upgraded to iDVD 6 and am trying to burn a DVD. First time it rendered/encoded/burned all night and then some. I got a messsage that start up disk was full and to delete files. It resulted with an incomplete DVD (Moives were on, slide shows not). I freed disk space - Project info shows 2.8 of 4.2GB for project and 35.78GB available. I even used an older theme, thinking that might help. It churned for 12 hours+, and I got the same result (start up disk full/incomplete DVD). I have to deliver 20 copies of this by Friday. HELP!

    don't know if this will help you at all but it helped me.. Using WhatSize - 10.3.9 at versiontracker allowed me to see where all my memory was going when I got that same disk full message. I have a new iMac and I didn't hink it was possible to be full up yet but a few of my undeleted iDVD slideshows were taking up gobs of memory... Make sure you empty the trash too... Once I made even more memory available I was able to burn again...
    http://www.versiontracker.com/dyn/moreinfo/macosx/21149
    iMac Intel   Mac OS X (10.4.6)  

  • Mega PC 865 Delux - Where do I start?

    Hi all,
    I just bought a barebones Mega PC 865 Deluxe edition. I wanted something small to go in the cupboard with all the rest of my av equipment and connect up to my Plasma screen either via VGA or Video or both (open to recommendations). It will also be connecting to the speakers via an amp, so it won't need any external speakers.
    What I want to know, is where do I start with all of this stuff. I've spent a few days looking around at all of the various options of processors, disks, RAM, video cards and the likes and there are SO many options!
    So what I want to know is where do I start? Is there a good mid range configuration. What I mean by that is that I might be playing games and the likes, but it won't be the main use. Working while watching TV (Word, Excel), Browsing the web (via wireless LAN) and streaming audio / video.
    So any and all advice appreciated...keep it simple as I've not built a PC before...especially not one this small!
    Thank you!
    Warren

    Welcome to our world ....
    Start with the processor, I would say get something around 3 gighz (give or take) which is quite affordeble. If you are going for a prescott, make sure you upgrade your bios to 1.2 or 1.3Beta5. It will run a bit hot otherwise. If going for northwood any version is ok I believe. When I chose mine I let $$$ descide, and the prescott was on sale.
    As for Harddisk, I would suggest anything goes but take a serial ata since that is becoming the new standard nowadays.
    As for DVD/CD player, there is a special thread where everyone states if their DVD/CD player is working with the mega (there are some issues with some drives in HiFi mode, EVEN if they are MSI)
    As for memory, get at least 512 Mb or 1024 Mb if you want to sit cosy. two sticks of DDR400 (a.k.a 3200) will do. Get a a-brand like kingston, samsung or look around on the forums what will work.
    As for the GPU (Graphics card), this depends on what you are going to do with it. If you wanna try out at showshifting, and viewing get one with integrated TV tuner. Or use the on-board (some people are quite happy with it) and add a separate PCI tv tuner. If you wanna do hefty gaming (Doom3, Far Cry ... etc) you may want to get an better one. I'm quite happy with my Radeon 9800. Please note; when you want to go for prescott cpu, MSI does not support a full size Graphics adapter (like the 9800), however people found out that it will work. Be wary of power hunger cards, since you only have 250 Watts available.
    As for wireless internet, the mega865 has a built-in mini-pci nic (network card). which supports only the 11 Mbps data rate. I think you have to try it out and see how it goes, you can always upgrade to 54 Mbps. I would suggest to get a 54Mbps access point, so you can always upgrade if needed (54Mbps will also work with 11 Mbps)
    Let me know if anything above is unclear, or if you have further questions.
    Cheers,
    Raymond

  • Dont know where to even start

    Well I really need som help on where to even start this program? I'd send u what i have so far but its so full of errors i'd be embarsed. I'll prob need to just start a new and was wondering where the heck i should even begin:
    Problem Statement: Your need to Create a public class 'MathQuiz' that extends JApplet and implements ActionListner. Basically the program is aimed at helping elementary school students learn basic math operations of addition, subtraction, multiplication, division and additionally the modulus operator.
    Program first prompts user for an integer 1 to 5 to indicate choice of math operation in a JTextField as 1: for addition 2: for subtraction 3: for multiplication 4: for division (typically in java integer division) and 5: for modulus (remainder value in a division).
    Use Math.random() to produce two positive integers, first integer in the range of 11 to 20 and second integer in the range of 1 to 10. Then frame a question of user's choice of operation with these two numbers and prompt user for his response to the question.
    Accept user's response in a JTextField and upon click of "Enter" button evaluate user's response and display message in applet container's status bar. If the response is correct display "Very good!" and ask another question of the same math operation. If the response is wrong display" No. Please try again" on applet's status bar and let user try the same question until the user gets it right.
    A separate method is to be defined to generate question that takes the argument of user's choice, generates the random numbers in required range and employing 'switch' selection structure formulates the appropriate question. This method should be called each time user changes his choice in the JTextField and each time the user answers questions correctly.
    If the user enters a number other than 1 to 5 in the choice JTextField, program should display 'Invalid input" message is status bar and instead of framing a question prompt the user for only "valid" choice number.
    I'm new at this so this is quite a task for me to tackle. any sugestions would be greatly appricated!
    well i guess i'll give what i've got so far dont laugh to hard.
    // MathQuiz.java
    // math quiz
    // Java core packages
    import java.awt.*;
    import java.awt.event.*;
    // Java extension packages
    import javax.swing.*;
    public class MathQuiz {
    public static void main( String args[] )
    int choice=0;
    int value;
    switch (choice) {
    //addition
    case 1:
    //subtraction
    case 2:
    //multiplication
    case 3:
    //division
    case 4:
    //modulus
    case 5:
    break;
    // pick random integer between 11 and 20
    value = 11 + ( int ) ( Math.random() * 10 );
    System.exit ( 0 );
    its a start right? any help

    This is probably what you need (I hate case):
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    public class MathQuiz extends JApplet implements ActionListener, DocumentListener
         JPanel      panel;
         JTextField  choice = new JTextField(2);
         int         co     = 0;
         JTextField  result = new JTextField(10);
         JLabel      num1   = new JLabel(""); 
         JLabel      num2   = new JLabel(""); 
         JLabel      op     = new JLabel(""); 
         JButton     calc   = new JButton("Enter"); 
         JLabel      status = new JLabel(""); 
    public void init()
         panel = new JPanel();
         panel.setLayout(new FlowLayout(FlowLayout.LEFT,12,1));
         panel.add(new JLabel("Enter choice: "));
         panel.add(choice);
         choice.getDocument().addDocumentListener(this);
         getContentPane().add("North",panel);
         panel = new JPanel();
         panel.setLayout(new FlowLayout(FlowLayout.LEFT,12,13));
         panel.add(num1);
         panel.add(op);
         panel.add(num2);
         panel.add(calc);
         panel.add(result);
         getContentPane().add("Center",panel);
         status.setForeground(Color.red);
         status.setFont(new Font("",1,34));
         getContentPane().add("South",status);
         calc.addActionListener(this);
         calc.setFocusPainted(false);
         calc.setEnabled(false);
    public void start()
         choice.requestFocus();
    public void actionPerformed(ActionEvent a)
         try
              int rs = Integer.parseInt(result.getText());
              int n1 = Integer.parseInt(num1.getText());
              int n2 = Integer.parseInt(num2.getText());
                     if (checkResult(n1,n2,rs) == true)
                   status.setText(" Very good !!");
                   newQ();
              else status.setText(" No. Please try again");
         catch (Exception e)
              status.setText("** Illagal number entered **");
         result.requestFocus();
    private boolean checkResult(int n1, int n2, int rs)
         if (co == 1 && n1+n2 == rs) return(true);
         if (co == 2 && n1-n2 == rs) return(true);
         if (co == 3 && n1*n2 == rs) return(true);
         if (co == 4 && n1/n2 == rs) return(true);
         if (co == 5 && n1%n2 == rs) return(true);
         return(false);
    public void insertUpdate(DocumentEvent e)
         checkChoice();
    public void removeUpdate(DocumentEvent e)
         checkChoice();
    public void changedUpdate(DocumentEvent e) 
         checkChoice();
    private void newQ()
         num1.setText(""+(int) ((Math.random()*10)+11));
         num2.setText(""+(int) ((Math.random()*10)+1));
         result.setText("");
    private void checkChoice()
         num1.setText("");
         num2.setText("");
         result.setText("");
         calc.setEnabled(false);
         try
              co = Integer.parseInt(choice.getText());
              if (co < 1 || co > 5)
                    status.setText("  Invalid input");
                   co = 0;
              else
                    newQ();     
                   status.setText("");
                   if (co == 1) op.setText("+");
                   if (co == 2) op.setText("-");
                   if (co == 3) op.setText("*");
                   if (co == 4) op.setText("/");
                   if (co == 5) op.setText("%");
                   calc.setEnabled(true);
         catch (Exception e)
              status.setText("  Invalid input");
              co = 0;
    }Noah

  • How do I make full screen button for interactive PDF

    I know in Acrobat I can set the PDF to open in full screen mode. I want the PDF to open in normal view. There will be a full screen button. Click once and the PDF expands to full screen. Click again and the PDF reverts to normal size.
    I wasn't sure where to post this but figured this is the place to start. Any advice on how to do this appreciated.
    Here's a movie of a PDF that has the feature I'm seeking:
    Full Screen Normal Screen button
    Was testing the link and I see you need QT Pro to download. Here's a zip archive of the same movie for download.
    Movie Download

    The client (a woman's club) indicated that about half the women found the full screen annoying and the other half found normal view annoying. So I made it an option. Also, most PDFs I receive such as ID magazine have the option to view normal or full.
    One thing I haven't figured out is how to get the page you're on to be highlighted. So if you go to page 5 in PDF, I would want the button for 5 to be highlighted in red. I ended up using page numbers but would like to be a bit more streamlined.
    I received a PDF the other day and at the top when the page numbers and left/right arrows are, the page numbers read
    FC, IFC, 1, 2, etc.,
    IBC, BC. I thought that was pretty cool. I imagine it has something to do with pagination in ID. Have to see if I can figure that out.

  • HT4847 On startup my macbookair says start up disk full/delete some files. When I look at storage disk utility I see 51GB of a possible 60GB is used with Other. What is Other? and how can I view and delete some of these files?

    On startup my macbookair says start up disk full/delete some files. When I look at storage disk utility I see 51GB of a possible 60GB is used with Other. What is Other? and how can I view and delete some of these files?

    A MacBook will use Time Machine to make local backups so that when connected to an external drive it will backup a lot faster.
    to disable this, you must use a command under terminal.
    to locate terminal, do a search for it under spotlight (the magnifying glass on the top right corner), should be the first hit.
    once under terminal, type the following text exactly:
    sudo tmutil disablelocal
    hit enter.
    you will be asked to input your password, if you do not have a password, you will have to create one before performing this command. after entering your password, hit enter again and close terminal.
    in a few minutes the space taken up by time machine should be cleared.

  • Upon start up I get a start up disk full message and to delete files, now I only get a a blue screen on start up. How to I get past the blue screen and how do I delete files?

    Upon start up I get a "start up disk full message, delete files". Now on startup I only get a blue screen. How do I get past the blue screen and how do I delete files.

    That;s really not enough free space... you can use a tools such as OmniDiskSweeper to find out where your large files reside and begin pruning (or copying to an external if they're files that you want to keep).
    One thing is certain - if you're going to continue your current usage you're certainly going to need to install a larger boot drive.
    Clinton

  • Imac frozen at blue screen after i went into disk utilities and cleaned my free space. I tried holding down T key as it reboots and i get a message. Start up disk full empty it how can one emptie it if you cant get past the blue screen

    Imac frozen at blue screen after i went into disk utilities and cleaned  free space.
    I tried holding down T key as it reboots
    and i get a message. Start up disk full empty it how can one emptie it if you cant get past the blue screen?
    to make matters worse we bought the IMAC of amazon uk on the 4/07/011 so what can we do?
    please remember how frustrating it is when asking for help when the helper telling you to type something on the screen when its frozen
    Tell us when you can type some instuctions to the software how do you get to the doss prompt so to speak to do this
    Thanks

    i tried all this thanks
    i can not get past blue screen and message Your disk is full it needs to be emptied Please not I cant proceed past this message.
    no matter what you tell me
    Am i right ok in thinking that
    when i went into disk utilities and chose to clean my free space i left it over one hour to do its stuff
    i came back and there was no progress bar just the box so i quit the program and when i opened  mac mail the system just froze  i forced quit mail rebooted and blue screen death
    Now when free space is being cleaned is it the same as windows dose the utility write lots of 0 on the hard drive then rebbot its self to free the space
    basicly is my hard drive full of 00000  is this why im getting this message  because the process was interupted
    I need to know if i need outside help i bought the computer on line on  amazon uk  what dose one do next

  • 10.5 crashes repeatedly - where do I start?

    Since upgrading to 10.5 iTunes crashes consistently shortly after launching (withng around 15 seconds).  This happens with no devices connected and Genius off.
    iTunes has encountered a problem and needs to close.  We are sorry for the inconvenience.
    AppName: itunes.exe AppVer: 10.5.0.142 ModName: unknown
    ModVer: 0.0.0.0 Offset: 09aa1040
    In order to get a succesful install I had to go through the complete cycle of uninstalling six or so Apple related components according to the instructions
    so there may still be something wrong with the configuration, but repairing the install goes through smoothly and makes no changes.
    Where do I start troubleshooting now?!?

    T get 10.6 http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard

  • CS4. Photoshop. Start Up Disc full?

    I am in Photoshop and a message came up saying my start up disc is almost full. Where is the start up disc? Thank you.

    That message is from the OS, and the startup disk is the one that has the OS installed on it.
    MacOS gets very, very flakey if the startup/OS/boot disk is full.

  • Start Up Disk Full Error

    I continue to get a "Start up disk full" message when I try to use iPhoto or iMovie. It then tells me to delete items, but it does not tell me how to do this.
    Can some one walk me through it?
    Thanks

    Mark,
    Evidently, you have filled your hard drive completely. You must get rid of some files. Make some determination as to what you can safely delete, then begin placing files in your trash, and emptying it.
    You mention iMovie. DV footage, imported into iMovie, requires about 20 GBs of disk space per hour of footage. This could be the biggest consumer of your disk space. Placing an iMovie project file in the trash, then emptying it, might go a long way toward freeing up some space for you.
    If you can't find anything that can be safely deleted, you're going to have to purchase an external hard drive, copy some file to it, then delete them from your internal hard drive. In fact, I recommend you purchase an external drive regardless. You can use it to make backups of your important data, as well as using it to free up disk space.
    Scott

Maybe you are looking for

  • Old MacBook 2,0 GHz Intel Core 2 Duo from 2006

    I have this old Macbook that i bought in 2006 , and it worked great until i droped it on the concrete and now the battery dosen't work This also means that if the battery doesn't work the procesor will stay at 1,0 GHz(another problem) It has bene Col

  • Wifi working on a MacBookPro10,1 win8 install

    Hi. I'm trying to set up a duel boot environment on my new MacBook Pro, I need the Win8 build to access my companies internal systems... otherwise I wouldn't bother. I have successfully ( using Boot camp assistant ) installed the Win8 OS but now I ne

  • Static class variable

    Folks: I am little confused by static class variables in Java. Since Java doesn't have global varaibles it uses static variables instead. Please take a look at the following code and please tell me what goes wrong. /********** CONTENT OF Stack.java *

  • If I have a 2010 mac if I were to add memory let's say made in 2012 would that affect the mac?

    (My macbook pro is a mid 2010) I am wondering if it would recognize the Memory strip. I know that Apple does not support anything above 8 gigs, but I heard that it still works. I am not familiar with hardware (but I love software). Thanks

  • How to implement custome PIM fields

    Hi Experts, I have some problem in my application development. My requirement is I have Input field for partner name. In that if I type character s means, it should display the names from database starts with s character. Similar example in blackberr