Cloudfront signed url works with "setup page", but not local copy

I generated a signed url so I could do rtmp streaming through cloudfront from a S3 bucket.
When I put this url as the "src" of the player found here: http://osmf.org/dev/2.0gm/setup.html, I can see my video, however, it doesn't work on my local copy of Strobe Media Player.
I went and grabbed the latest available versions from source forge (2.0 of OSMF and 1.6 of SMP), compiled them, and tried to play the file, but it wouldn't work on my compiled copy.
My player works fine with normal videos, only when using signed urls from cloudfromt do I get ths error
It uses a signed url like this:
rtmp://s161ki0ys7euuz.cloudfront.net/cfx/st/vid_cdntest001?Signature=RSS0PV4RCq6lsF7gKE202 sHJw0lxCE9zwJbISVuovaBnARQFCVZ2e6SSejHXN4uIT5uotDBT8iYZVvfUC3rq0A571CWVETsnlJ4jhEir1JE5w-p jC-cx~CjxkcVQSj8EC07zozoNCypiBggLy0w2Id8TUxTuX9KrIDlN~BImwBjN1cnuZMpms9dpfuw-MLFefHtTDwfZZ Yh00LSUAEqA0BwqhA6NECHbrkaXQjUM7r5TRSP3ZH5uFIWhUWLMH3WWYLyz5bQab3FQxZhI4BhdFPJm6Z0m6HVVnuz eMqibMWDGybtoepjkTUYJqeTaYQUpIHrp1-0-dDVhhCx7BxCOlA__&Key-Pair-Id=APKAJSRQXYNPUENHF6HQ&Exp ires=1387398525
And it requires a flashvar "urlIncludesFMSApplicationInstance" to be set to true. The flashvar is set in my local copy of the player.
I set "verbose" to true, and I get "Playback failed. Failed to play(stream ID: 1)"
The AWS people were able to play the file on their debug player, so it isn't a problem with the video. It's just something about my copy of the player or the environment I'm on.

I'm initlaizing the player using swfObject like this:
$(document).ready(function(){
        callPlayer("rtmp://s161ki0ys7euuz.cloudfront.net/cfx/st/vid_cdntest001?Signature=EYvGzU2I4CRLE4h8pD8fec3A6fwfIqadzuAtVBQcsDeh0zU9rexKJqq-5GVNG~PdNlV~nbdSlUl4FAJ6rCuOTAh7BrXkieg26z4y3uMgzLm3I3p8GSjTyUBe5rIbZhnxUulSFfHoOWFDV-keORil3~zG91OVDKxvsbIrZv6-IsYTJQzYA7w6R2jy6SiJEJwfqNvD5xdiv2w87GuR472kELQ79yvI6twgeDnZOkN~w9khQSVLcqqmAkkTHQxxkBR8hs954VaUEAKZO~ejwZ3ju8xTUAeuuQu3y06r6SHNGwhLdQh00qV1PUHSMdPdHp3SzZdCxwAepV6xUx2~TR2idw__&Key-Pair-Id=APKAJSRQXYNPUENHF6HQ&Expires=1387466710");
    function callPlayer(x){
    $("#PlayerHolder").html("<span id='PlayerDiv'></span>");
        var flashvars = {};
        flashvars.verbose=true;
        flashvars.src=x;
        var parameters = {};
        parameters.urlIncludesFMSApplicationInstance=true;
        var attributes = {};
        attributes.name="player";
        attributes.id="player";
        swfobject.embedSWF("StrobeMediaPlayback.swf?ID="+Math.random()*100,"PlayerDiv","470","320","11.2","scripts/expressInstall.swf", flashvars, parameters, attributes);

Similar Messages

  • Enterprise Mgr works with one db but not the other

    Hi
    We have two Oracle 10g databases installed. Enterprise Manager works with the second, but not the first. I believe the problem started when we migrated the host server to another network domain. Everything else works fine, but I'm getting a page load failure when attempting to access enterprise mgr.
    The second db was installed after the migration and EM works fine.
    Can anyone tell me how to reconfigure this?
    Thank you

    by any change hostname or ip was changed during migration
    also can u paste the emoms.trc ?

  • Have Sony reader 505, ADE doesn't recognize when attached to mac OX 10.6.8. works with reader library but not with ADE

    Have Sony reader 505, ADE doesn't recognize when attached to mac OX 10.6.8. works with reader library but not with ADE

    YEAY!
    I just got the solution (that worked for me, anyway) from a Sony support rep. No PC or VMWare needed.
    OK, you've installed Sony eBook Library v3, and Adobe Digital editions, you've set up your acocunts and authorized your computer on both of them, and you've authorized your Reader with the Sony Library application.
    You go to the public library ebook download page, either through the Sony Library or just through a bookmark.
    You check out a book, and open it in Adobe Digital Editions, which still won't recognize your Reader.
    BUT, in the Sony Library app, you can now click "File, Import.." and go find the pdf you downloaded with the Adobe app.
    On my Mac, it was in ~/Documents/Digital Editions
    Import it, and drag it to your Reader.
    The first time you do this, it will ask you to authorize the Reader with your Adobe ID.
    Worked like a charm.

  • Windows 8.1 64bit. Webcam works with "Camera" app but not with Skype.

    I've spent a few hours googling and trying out various things - all listed below. I give up - any ideas??? OS: Windows 8.1 64bitMemory: 32GBWebCam: Microsoft VX-7000. As per subject - the webcam works with the "Camera" app but not with Skype for desktop or for Modern UI (or the Microsoft Lifecam software for that matter).  Already attempted: 1) Uninstall webcam drivers - download latest from microsoft (Windows 7) and install in Windows 7 compatibility mode.2) Close (from taskmgr) anything that looks like it might use Webcam. 3) Run Skype for Desktop in Windows 7 and 8 compatibility modes None of the above work. In Skype for Modern UI the webcam doesn't appear in the drop down in Settings - so I can't even select it. In Skype for desktops (version 6.11.32.102) the webcam is found but instead of image I get "Can't start video. Try closing other programs that might be using your webcam". I see from a bit of googling that various people seem to have the same issue (i.e. Webcam works with Camera app but not Skype) - so I'm hopeful someone has found a workaround / fix to this issue and I've just not had the googling skills to find it  Thanks, - Matt Symes

    OK - I appear to have resolved the issue.  I restricted my google terms to [vx-7000 site:microsoft.com "windows 8.1"] Which uncovered this article: http://support.microsoft.com/kb/933311 I noticed there were a couple of Windows 7 x64 specific registry settings that were mentioned so I checked these and they weren't as per the article. In fact - one of the Registry Keys was already used by other software "AI Charger+" which is some ValueAdd software that came with my motherboard. I uninstalled AI Charger+, uninstalled LifeCam driver. Reinstalled LifeCam driver in Windows 7 compatibility mode. Still not working. I returned to the registry and noticed the settings still differed from the above article. I corrected them (which involved not just amending Data but having to add new Values). I then disabled and reenabled the LifeCam from dvcmgmt.msc I was then able to get video from the webcam in the Skype for Desktop preview screen.    

  • Isight works with photo booth but not in ichat or google talk or skype?

    isight works with photo booth but not in ichat or google talk or skype?

    Hi
    Is this an Internal or External iSight ?
    In iChat, in the Video Menu (This is to the right of Buddies and may read Audio) is Camera Enabled Ticked ?
    If it reads Audio open the Connection Doctor from that same menu.
    In the connection Doctor open the Capabilities tab
    Does it say your Internet Connection is too slow ?
    At this point I would need to know which iChat Version.
    However also look in the View Menu.
    Is Show VIdeo Status ticked ?  (this shows green Icons next to your Buddy Pic and those of your Buddies
    Next go to the iChat Menu > Preferences > Video Section
    Do you see a preview here ?
    Re: GoogleTalk
    Have you enabled TALK on your Google Account Settings ?
    You need to have a Google Mail ID (Not any other sort of Google ID)
    Have you downloaded the Intel only Web Browser Plug-in to do Video in a  Web Browser.
    10:48 PM      Tuesday; August 30, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • My firewire port works with ext hd but not with audio interface

    2010 Imac 21.5 running 10.8.5. My firewire port works with ext hd but not with audio interface. The local authorized Apple tech said that I need a new motherboard, but my firewire ext drive works perfectly. I don't understand. Thanks.

    You must go to the website of the audio interface manufacturer and look for, download and install updated drivers for the audio device you are using.
    This is not, neccessarily, an Apple issue.

  • AJAX with PageMethods works in Application Pages but not with PageLayouts

    Hi All,
    I have created a class which contains public static method decorated with WebMethod and SciptMethod attributes
    Public class BasePage : Microsoft.SharePoint.Publishing.PublishingLayoutPage
            [WebMethod(EnableSession = true)]
            [ScriptMethod(ResponseFormat = ResponseFormat.Json, UseHttpGet = false)]
            public static string HelloWorld()
                return "Hello world is working!";
    Now I changed the <%Page ..> Tag of the PageLayout to inherit from the above class.
    There is a ScriptManager in the master page with EnablePageMethods = true
    I can see the Javascript methods are generated for HelloWorld(..) however the return result is "The Server Method HelloWorld failed." Error code is 500
    However the exact same code when I use with a application page (_layouts) and change the Page tag to inherit from the same base class above - it works OK.
    Both of them Page Layout and Application Page use the same master page - but one works and other does not.
    Additional Information:
    a) Am using Jquery and JqueryUI in the master page.
    b) Site use Publishing Template
    c) Variation is enabled on site
    d) Site has both Anonymous and Windows NT authentication
    The method Path for Application page shows as
    /_layouts/test.aspx/HelloWorld
    and for the page created using the Page layout is:
    /en-us/Company/Pages/Default.aspx/HelloWorld.
    Could anyone please advise what could be wrong where it does not work with Publishing Pages?
    Would please appreciate ideas / thoughts.
    Thanks,
    Mohan
    -- Mohan | My Blog

    Are you sure that you are getting HTTP 500 error ?. Usually HTTP 500 error denotes service unavailable at the server side or at the server end point. What is the exact fiddler trace you are getting ?
    If it is still HTTP 500, then one of the referenced components in the page layouts conflicts the ajax page methods call. Please let me know your findings
    Please mark the replies as answers if they help or unmark if not.

  • Podcast - works on iTunes page but not when subscribed

    Hi, I produced my podcast, submitted the feed through iTunes store and was validated. However, it happens so that people can listen to the podcast on iTunes page but not when they subscribe to it and try to download. error points to URL issues apparently. Help.

    It works perfectly well for me. On subscribing I saw all three episodes and downloaded and played Episode 2 without any problems. The only explanations I can suggest are that either some of your subscribers are having some sort of technical issue at their end: or that your server is intermittently sulking and failing to respond to requests. Try playing the episode from this link a few times on spaced-out occasions and see whether you ever get a failure:
    http://thecricketcouch.com/CouchTalk/CouchTalk-AntSims-SanaKazmi-062611.mp3

  • Home sharing works with one account but not another?

    My family has an apple tv, we've been having problems setting up the home sharing and tried everything. We eventually decided to try my brother's apple id instead of my mother's and it worked. So my question is; why does home sharing not work with one id but works with the other? any suggestions to get it to work with my mother's id?

    Try resetting the Apple TV. enter your mother's ID again. Then remove her ID on iTunes and re-add it. Then see if it works this time.

  • Why does my Web Handler work with Internet Explorer, but not with Firefox

    I am trying to develop a web page that uses the Simile Timeline (http://code.google.com/p/simile-widgets/wiki/Timeline) with data from SQL Server.
    In initial testing of my timeline I tested it with Example.xml, a static XML file in the correct format to be event data. I wrote the following in the appropriate place within mytimeline's Javascript: -
    var WebHandler = "Example.xml"
    tl.loadXML(WebHandler, function (xml, url) { eventSourceFamily.loadXML(xml, url) });
    This worked fine with both Firefox and Internet Explorer. I then changed the assignment to
    var WebHandler = "GDBTimeline.ashx?Type=Family&Userid=" + getControlValue("input", "hdnUser");
    so that invoked a web handler that could look up the SQL database and return the XML that I wanted, and wrote this web handler.
    This works perfectly with Internet Explorer, but with FireFox the timeline band is blank. Yet when I examine the http traffic with Fiddler2 (http://www.fiddler2.com/fiddler2/) I see that with either browser there is a response from URL
    /GDB_pages/GDBTimeline.ashx?Type=Family&Userid=robertb
    that returns the XML that it is supposed to.
    I have previously used web handlers with Firefox before, with no problems. The Fiddler results conclusively show that the web handler is invoked, and returns the appropriate XML, and this XML is identical to the XML from the static test with Example.xml.
    Where do I start looking for answers? I don't even know if this is a Simile problem, a Firefox problem, or an ASP.NET problem.
    Thank you, Robert.

    Problem solved. The issue: Content Type was not correct.
    Visual Studio creates the web handler with dummy code like this: -
    Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
    context.Response.ContentType = "text/plain"
    context.Response.Write("Hello World")
    End Sub
    I wrote a database query that set a string variable to the XML I wanted: -
    Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
    Dim Outstring as string
    ' my logic to fill Outstring with XML
    context.Response.ContentType = "text/plain"
    context.Response.Write(Outstring)
    End Sub
    This works with Internet Explorer. However it's not strictly correct: to make it work with other browsers as well,
    context.Response.ContentType = "text/plain"
    should be
    context.Response.ContentType = "text/xml"
    It now works with IE, FF, and Chrome, and presumably all others.

  • AE Works with Ethernet Cable, but not Wirelessly. Please Help!!

    I purchased the AE to run music streams via Airtunes from my wireless router/PC upstairs to my stereo downstairs. When I hook everything up upstairs with the ethernet cable, everything works like a charm, but the moment I remove the ethernet cable, the AE is not being picked up by the network. I set everything up for the wireless network (while the ethernet cable was hooked up) and have a green light on the AE, but when I try to use it wirelessly, it is blinking amber and not appearing within AirPort Utlity (only when hooked up with ethernet). I have a Westell 327W Wireless Modem/Router and could use some advice as to what I am doing wrong to get some tunes downstairs.
    Thank you in advance.

    Hi:
    I was chasing this very topic for a long while, then took a break.
    You are suppose to be able to stream music from your PC to external stereo speakers via iTunes, thru an Airport Express (AE) wirelees connection.
    Here's my status:
    It is pretty easy to get a wireless connection up & running so that you can play music from your laptop/pc to external wirelss speakers via iTunes, thru AE.
    I have that up & running. The problem comes in when trying to add the Airport Express to an already existing Linksys router's wireless network. When setting
    the AE up, you'll most likely get 4 error messages that have to be addressed before you go from from a flashing amber LED to a solid green LED. If you are just using Apple's ad-hoc wireless conncetion, you'll need to use Airport Utility to address the 4 issues. Basically, Airport Utility doesn't know how to address AE, since it doesn't have any IP address to a network. The other 3 are simlar problems. If you just tell Aiport Utility to ignore each of these problems, you will get the solid green LED on AE, and you'll be able to stream music directly from your PC to your speakers, wirelessly, once you finish the AE configuartion, and Airport Utility reconfigures the AE.
    I have my HP laptop and printer setup with a Linksys 54G Router and Printserver,
    so that the laptop and printer communicate wirelssly via the Linksys Router.
    Now comes the fun...trying to add the AE to this already existing wireless network. I could get the AE to work when I had an Ethernet cable connected directly from a port on the router to the AE, but when I disconnected the Ethernet cable, the router no longer saw the AE in the network. I followed all of the instructions in the Airport Utility software, went seeking advice on this
    newsgroup, the web, etc. Found lots of good information, but a lot of it was outdated.
    I have my Linksys wirless network setup with WEP-64 encryption.
    From what I have gathered, it is much easeir to add the AE to a WPA/WPA2 network, than to a WEP64/128 network, just because of newer protocols.
    The problem that I have is that WPA encryption works much slower for me than
    WEP encryption. Example: iTunes is roughly 60 MB is size. Downloading it
    using WPA, results is a download time of 22-23 minutes; where a download
    using WEP-64 takes 75-80 seconds !
    In the past, what I was trying to do was add the AE to my already existing
    wireless network. Now, I have a wireless network for the AE. I want to try to add this network to my already existing wireless netowrk for the Linksys router.
    I just haven't taken the time to try it yet. From what Apple tells me, Linksys makes this setup messy. The fact that the AE works by itself proves that the
    device is OK.
    For a history of the problems that I have been chasing in trying to get the AE setup and added to my already existing Linksys router network, visit the following link in the list of "problems" on this Apple newsgroup's web page.
    Search for the folowing topic title:
    Problems Setting-up Airport Express to Play Music thru External Speakers
    Currently, is is at the bottom of page 12 of this discusssion group.
    The info in it may be useful to you.
    Please let me know if you get yours up & running in the Linksys wireless
    network.
    Thank you
    DaleB ([email protected])

  • Router Problem - Works with Windoze, Linux, but not with Mac

    I can't seem to get any router to work with my Mac.
    I've tried a Linksys 'b' router, a Netgear 'g' router and a Belkin 'g' router.
    No joy.
    When I connect my Mac directly to my cable modem (Motorola Surfboard), there are no issues. When I connect the router in between, the Mac pulls the proper ip address and I can ping the router, but I can't get any further. If I try to ping an outside ip address (such as the 4.2.2.2 dns) I get the error message "ping: sendto: Cannot allocate memory". [Does anyone know what this message means?]
    A second computer (IBM NetVista) connects reliably using Windoze XP. The same machine, booted in CentOS also connects reliably (after disabling the firewall).
    Note, these are all wired connections. I'm not even trying to use wireless yet. The cables all check out, since they all work in other configurations (the Mac->router cable is the same one I use for Mac->Surfboard, and the router->surfboard cable works when connecting from the NewVista machine.
    I thought the Mac problems might be firewall related. I had "Brickhouse" installed,but it has since been removed. My network settings no long advise that there is any firewall software in place (previously Sharing > Firewall was greyed out with message that other firewall software was installed). Sharing > Firewall now reports "Firewall Off".
    I know the routers work, since I can connect from the NetVista machine. I know the cables are good, because they all work in other configurations. I know the Mac is seeing the router, and the router is seeing the Mac because a correct ip address is pulled. I can even communicate between the machines (ftp,ssh) but I can't get internet access using the Mac through the router.
    Oh yeah... one other oddity. When I have personal web sharing enabled, an attempt to access the router setup page at 192.168.1.1 fetches the local server index.html page instead of accessing the router. When web sharing is off, I get a "you are not connected to the internet" message.
    Any insight?

    Very strange indeed!
    Only 2 suggestions at this point...
    Get Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, reboot holding down CMD+s, then when the prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 5 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Try dragging these files to the Desktop & Reboot...
    /Users/nnnn/Library/Preferences/com.apple.internetconnect.plist
    /Library/Preferences/SystemConfiguration/preferences.plist
    /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
    /Library/Preferences/com.apple.sharing.firewall.plist

  • Applet work with JRE 7_51 but NOT with JRE 7_45

    Hello,
    My major problem is, that my Applet signed with COMODO certificate DOES NOT WORK with JRE 7_45.
    The SAME applet works fine with JRE 7_45, if I sign this applet WITH A SELFMADE UNTRUSTED certificate.
    WHY the comodo signed applet doesn't run in JRE 7_45 ???
    If i launch the comodo signed applet with JRE 7_51 it works perfect !!!
    But in our company we got JRE 7_45 and I have to deal with JRE 7_45. That’s my problem.
    Could you please tell me a solution what I have to do that the comodo signed applet works also in JRE 7_45.
    Thank you!
    Philipp

    Thanks gimbal2.
    I agree the problem may be in the proxy or in the firewall but I don' to know how to prove it as if i call the servlet url from browser I dont have problems .
    The version im using is 6.45 but im sure the same problem occurs also with other versions of JRE6 .
    ... and the problem disappear with JRE7 ...
    trouble is my company want people to use JRE6
    any idea ?
    Gio

  • ESR,ID working with 8000 port but not with 50000

    Hi experts,
    I am working with PI 7.1. I am working with SOAP to ABAP SERVER Proxy scenario. I have downloaded the WSDL from ID and using XMLSPY sent a SOAP request to PI server and I got an error in SXMB_MONI under the Call Adapter step saying CLIENT_RECEIVE_FAILED.
    We cross checked the services in  SMICM transaction, and we missed the HTTP port 8000 for the parameter icm/servr/port_xx.
    Then basis team changed the port 8000 in SMICM for the same parameter and restarted the Java stack.we checked the icm/HTTP/j2ee parameter which is having 50000 port.
    Now ESR,ID,SLD,RWB... etc are working with ABAP port 8000 but not with 50000 java port and also I am getting an error in SXI_ CACHE while doing my delta refresh if_http_client receive http_communication_failure : http_communication_failure:ICM_HTTP_CONNECTION_FAILED. Kindly suggest me to resolve this error.
    Naveen

    Hi,
    Re: Architecture of PI 7.1
    NW PI 7.1 - ICM is not binding to port 5$$00
    from the above two threads it is very clear that from PI 7.1 both the ABAP and J2EE ports are same.
    Now we maintained both the ICM and j2ee port as 50000. Now ESR,ID,SLD are working with port 50000.
    But in my SOAP to Proxy scenario I  am getting the same error. When I try to send request to XI server using Altova xmlspy I am getting following error in SXMB_MONI under Call Adapter
    <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
    When i click that HTML error It shows
    404 Resource not found
    I am getting the following error in CC monitoring .
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIServer:CLIENT_RECEIVE_FAILED
    My reciever communication channel is in green status CC monitoring.
    I tested my server proxy in my end system which is successfully fetching data.
    I am using the following URL format for generating the WSDL from Integration directory.
    http://host:port /XISOAPAdapter/MessageServlet?channel=p:s:c
    Do we need to maintain the Fully qualified host name  in the above URL?
    I tried with a test scenario which is an asynchronous communication with the above mentioned URL format. I got a success message in SXMB_MONI.
    Since I am using PI 7.1 I tried the following URL also  but i this case,the XML spy itself throws error. I couldnt see any messages in SXMB_MONI.
    http://host:port/XISOAPAdapter/MessageServlet?senderParty=&sender
    Service=FS&interface=IF&receiverParty=&receiverService=TS&interfa
    ceNamespace=IFNamespace
    I have seen many threads in SDN for this same error but I didn't get an answer for my scenario.
    Lakshman and Manjusha
    Thanks for the quick responses.
    Regards
    Naveen
    Edited by: naveen perumal on Jul 24, 2009 8:00 PM

  • ICloud control panel works with 1 ID but not with another

    I don't get what the issue is. I can't get the iCloud control panel to work with my itunes/iCloud ID. I am running Windows 7 home premium 64-bit. I logged in with my wife's iCloud account and it worked, logged out and tried to use mine and nothing. It just sits there and the little circle next to "sign in" just spins.
    I downloaded the newest update for the control panel and tried it again. Hers works, mine doesn't. This has been going on for about a  year and is really annoying.
    It is just on the control panel, my iCloud credentials work fine everywhere else (iCloud website, here, iPhone, iPad), so I know that is not the problem.

    Here's one way to simplify some of this code. I know that this has nothing to do w/ the original question, but nevetheless, it's an itch that I feel I have to scratch...
    public class ssnBoard extends JFrame implements ActionListener,
        Runnable
        JPanel pane = new JPanel();
        JButton[] numberBtns = new JButton[10];
        Font bigFont;
        Color[] numberButtonColors =
            Color.MAGENTA, Color.red, Color.pink, Color.blue, Color.yellow,
            Color.green, Color.yellow, Color.blue, Color.pink, Color.red
        JButton clear = new JButton("CLEAR");
        JButton cancel = new JButton("CANCEL");
        JTextField RutgersIDField = new JTextField("", 6);and this
            for (int i = 1; i < numberBtns.length; i++)
                pane.add(setUpNumberBtns(i));
            pane.add(setUpNumberBtns(0));
            clear.setFont(smallFont);
            Color c10 = Color.white;
            clear.setBackground(c10);
            clear.setForeground(Color.black);
            clear.addActionListener(this); // register button
            pane.add(clear);
            clear.setFocusable(false);and of course this:
        private JButton setUpNumberBtns(int i)
            JButton myBtn = numberBtns;
    myBtn.setFont(bigFont);
    myBtn.setBackground(numberButtonColors[i]);
    myBtn.setForeground(Color.black);
    myBtn.addActionListener(this);
    myBtn.setFocusable(false);
    return myBtn;

Maybe you are looking for