How to properly rePaint JFrame

here's my problem, i'm using Graphics to draw something, i have 4 functions to differentiate my drawing
-Outer Layer
-Inner Layer
-Shoulder Layer
-Shadow Layer
what i want to do is, show Outer Layer, then, wait for some delay, then show Inner Layer, then wait again for delay and so one for other layers
but the problem is, i don't know where to place repaint(); function properly, or i guess my code format for now won't work to delay painting
here's the main class calling the class
public static void main(String args[]) {
       ...//some irrelevant codes
        reply = JOptionPane.showConfirmDialog(null, ("Click Yes for Transparent window, No for normal Window"), "Yes or No?", JOptionPane.YES_NO_OPTION);
                if ( reply == JOptionPane.YES_OPTION )
                    Transp.createGUI();
                else
                    nonTransp.createGUI();
    } then here's the graphing code
import com.sun.awt.AWTUtilities;
import java.awt.*;
import java.awt.geom.*;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Transp extends JPanel{
    public Transp(){
        setPreferredSize(new Dimension(950, 600));
          setOpaque(false);
    public void paintComponent(Graphics g) {
            Graphics2D g2 = (Graphics2D) g;
                outerLayer(g2);
                try
                {Thread.sleep(2000);}
                catch(InterruptedException e){}
                repaint();
                innerLayer(g2);
                try
                {Thread.sleep(2000);}
                catch(InterruptedException e){}
                repaint();
                shoulderLayer(g2);
                try
                {Thread.sleep(2000);}
                catch(InterruptedException e){}
                repaint();
                shadowLayer(g2);
                repaint();
     public void outerLayer(Graphics2D g2){
          //some Graphing commands
     public void innerLayer (Graphics2D g2){
          //some Graphing commands
     public void shoulderLayer (Graphics2D g2){
          //some Graphing commands
     public void shadowLayer (Graphics2D g2){
          //some Graphing commands
     public static void createGUI() {
        Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
          JFrame.setDefaultLookAndFeelDecorated(true);
          JFrame frame = new JFrame("Paint Viewer");
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          JPanel transparentcontentPane = new JPanel(new FlowLayout(0,1,1));
          transparentcontentPane.setOpaque(false);
          frame.setContentPane(transparentcontentPane);
          frame.setSize(950,600);
        frame.setLocation((screen.width - 950 )/2, (screen.height - 600)/2);
          frame.setVisible(true);
                Transp panel = new Transp();
                frame.add(panel);
          AWTUtilities.setWindowOpaque(frame, false);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JFrame.setDefaultLookAndFeelDecorated(false);
     public static void main(String[] args) {}
}unfortunately, whats happening is, i guess, the program is waiting for paintComponent to do its job before it can show the painted lines
what should i do to make the JFrame refresh itself so i can delay the drawing per part of the graphics?

Never call sleep(...) on the EDT. Use a timer or a background thread and call repaint() after changing some state which will be detected in the paintComponent override to act accordingly.
More here:
http://download.oracle.com/javase/tutorial/uiswing/concurrency/index.html
db

Similar Messages

  • How can i refresh JFrame at regular intervals to display in intervals

    I have a query which is :
    String query = "select FIRSTNAME, MIDDLEINITIAL, LASTNAME from user" ;
    now i have executed the above query
    ResultSet rs = stmt.executeQuery(query) ;
    Suppose i get 2000 rows in my resultset after execution.
    If i want to display all the contents of my query inside a JFrame, then i can say
    JFrame myFrame = new JFrame() ;
    myFrame.setSize(500, 500) ;
    while(rs.next()){
    add the results to myFrame
    myFrame.pack() ;
    myFrame.setVisible() ;
    but this may take a long time to show my frame, because first it has to either add components to my JFrame if use JLabels or if i use graphics then it has to wait till complete all of my drawString's to display the JFrame.
    and this may take time.
    I would like to know, how can make my JFrame intelligent enough so that if first display an empty frame, refresh at regular intervals and see how many i have fetched from the result set and add those to my JFrame, and do this opration untill i am done fetching all the results.
    Thanks
    Arun

    Any reason why you aren't displaying the results in a table? Both labels and drawString do not seem like a good alternative.
    Now to your question, you could use a thread and force painting after so many from the resultset. You could display a fixed number and implement your own scrolling scheme. Say paint first 50 and scrolling forward and back.

  • How to properly disconnect a Mini Display Port (MDP) from a Macbook Pro 2012, 1,9?

    Hello:
    I was wondering if any Macxperts out there had any idea on how to properly disconnect a MDP Thunderbolt Cable from a 2012 1,9 Gen. Macbook Pro. From my experience with older Macbooks the command was "Command + F7" or something of the sort.
    On my Macbook Pro 2012, there is no such button or commend to properly disconnect the plug; as if one were to disconnect or "eject" an external HD. I have read some articles on Google that some people just disconnect the plug and that action is sufice to disconnect an external video projection (Ex: Flat Screen Samsung).
    Can a Macxpert or Genius comment on this piece of information? I would really apprecite some light shed on this situation. I just don't see unpluggin a cable connected to a video source enough to properly shut off a connection with out damaging the Macbook Pro's video card.
    Thanks
    A

    Hello, Niel:
    I just answer my own question. Forgive me but I am not up-to-date on the techlingo (Hot Swappable) but I just googled the term and found my answer.
    Thanks again.
    Best,
    A

  • I transferred itunes library from old PC to new PC. The content all shows when I launch iTunes on the new PC now. The previous content does not show in iTunes but folder still looks like it is on hard drive on new PC. Suggestions on how to properly merge?

    I transferred itunes library from old PC to new PC. The content all shows when I launch iTunes on the new PC now. The previous content does not show in iTunes but folder still looks like it is on hard drive on new PC. Suggestions on how to properly merge?

    Before you connect any device to a new library go to the Devices tab of the the preferences panel via Edit > Preferences (Windows) or iTunes > Preferences (Mac) and ensure the box next to Prevent iPods, iPhones, and iPads from syncing automatically is ticked. You can now safely connect the device to your computer without the danger of media being automatically deleted or overwritten.
    To get all your content off your connect your iPad to your new computer.
    Then use a 3rd party piece of software to transfer your content
    I have found Senuti useful but there are others listed in the article I linked to in a previous post.
    https://discussions.apple.com/docs/DOC-3991
    That will let you transfer your non purchased content
    For Purchased content log in to iTunes on the new computer
    In Itunes Store click on Purchased under the Quick Links section on the right.
    Download any music by clicking on the cloud button

  • How to properly configure a home network using both Mac and PC computers

    Is there a book or set of guidelines that can tell me how to properly configure (exact specifications) my computers in a home network? Here is what I am trying to do and using:
    1) Three computers: iMac (late 06 ver), Macbook (newest version), Dell laptop. The two Macs are using Leopard and the PC is XP.
    2) Bellsouth modem which feeds into the Airport Extreme Base Station (AEBS)
    3) The AEBS has a USB hub which is connected to a external hard drive and two inkjet printers. A third laser printer/scanner/fax machine is connected to the AEBS via ethernet.
    4) All three computers use a wireless connection to the AEBS.
    I would like the following:
    1) Have a secured and password driven network - don't want outsiders connecting to the nework without permission.
    2) All computers to be able to access the USB printers and ext HD.
    3) The two Macs to read/write to each other with password access
    4) The iMac to have read/write capabalities over the PC via VSFusion or Bootcamp if possible.
    Currently, all three have Internet access via the AEBS and can print on the ethernet printer. Both Macs can see the Bonjour USB printers and print (however they to do not display on the AEBS configuration display utility and neither does the ext HD). The USB ext HD is shown on the iMac desktop and I have access to it, but does not display on the MacBook. I have not checked if the PC sees the external HD and it really does not matter if it ever does, although it would be nice.
    I am hoping that there is some standard configuration that I can "cut and paste" that is generally used to allow a home network to share resources while still being secure.
    Any advice and help is greatly appreciated.
    Thanks,
    Andrew

    Andrew,
    What you would like is fairly complicated so this will probably be a lengthy post, but hopefully I can assist you.
    As others here have pointed out, networks can vary widely, but the best networks have one element in common: planning. The first thing you need to think about is how you would like all of these systems to cooperate. For instance, do you want one of the machines to serve files to the others and be a central repository, or are you just interested in having them share documents on occasion so that you don't have to carry around, say, a USB key all the time? That said, here is a basic list of things I think you should look into.
    1. Network Basics
    First step is to get your local network set up. I'd go for WPA or WPA2 wireless security as they are relatively strong standards and you can use human-readable passwords. Additionally, unless you have an explicit need for someone outside your network to initialize a connection (Windows' RDP for instance), do not allow any passthroughs or port redirects on your AEBS.
    2. Network Topology
    Decide how you want computers and networked devices to identify themselves and their relative locations in the network: in short, do you want static ip's or dynamic ip's? Most of the time, static IP's can be assigned on a DHCP router, the trick is to assign the statics higher than your number of devices (or lower on some routers - for instance Linksys routers start DHCP at 192.168.1.100 but you could have statics from 192.168.1.2 to 192.168.1.99). For instance, it is impractical to set a laptop to static because I'm often in coffee shoppes and other environments that assign via DHCP; on the other hand, it's a good idea to have a printer be static so that you always know where to find it. So, I have 10.0.1.x network (default on AEBS), and the printer is 10.0.1.24, since the likelihood of my encountering an IP conflict with 4 computers on the subnet is virtually zero. If you configure a static device behind your AEBS, defaults are usually
    Default Gateway 10.0.1.1
    IP Address 10.0.1.(your choice)
    Subnet Mask 255.255.255.0
    3. File-sharing.
    3a) Mac OS X has a built-in SMB/CIFS (Windows file & printer sharing protocol) client, and a basic SMB [samba] server can be enabled in the sharing preference panel (enable file and/or printer sharing). Windows XP can use these shares, but must authenticate. For that reason, you may not be able to see your shares in the Network Places browser, however you should be able to get to them by mapping the network drive (tools menu) or executing RUN with \\computer.name\share.name. You will then be able to type in your credentials. I would also suggest relatively simple names for the Macs in question (set in Sharing preference pane). Typing Andrew's-iMac-G4 in every time you want to find it will get irritating after a while to say the least, especially if you need to troubleshoot.
    3b) The reverse works similarly. You can Connect to Server... from Finder to get to the Windows shares. To do this you must have Windows File and Printer sharing enabled (most easily through the Network Setup Wizard in Control Panels - Use Classic View). It's really easy if your account names and passwords are identical on the Mac and PC, because when loading user profiles, the Mac will generally automatically try to authenticate against the Windows machine with your Mac logon credentials. (Windows seems to do this against the Mac as well) You can write an Applescript or there are some PLIST modifications you can make to mount Windows shares at login.
    4. Printing
    I'm not exactly sure what you had in mind here since I'm not sure what's connected to which computer or directly to the network. If it is possible, I personally find putting my printers directly on the network to be the easiest thing. Especially if printing large PDF or graphics files, the spooling on the host system can really slow the computer down, and slow down printing. For example, I used to have a laserjet on a Windows box and had to print a very large file. Going through a Win print server, it only printed a page every 30 seconds, but when I got a jetdirect adapter, the whole thing was done in under two minutes. If you have HP Printers, I would recommend the jetdirect print servers (I have used with both a laserjet and a supposedly unsupported color inkjet).

  • How to place the JFrame in center of the screen

    Hi.. please any one tell me how to place the jframe in the center of the screen.. i am working on windows.
    setLocationByPlotform is not working...

    //GETS SCREEN SIZE
            Dimension screen_Dimension =Toolkit.getDefaultToolkit ().getScreenSize ();
            //GETS WINDOWS SIZE
            Dimension frame_Dimension = window.getSize ();
            //PUTS FRAME IN THE "MIDDLE" OF THE SCREEN
            window.setLocation ( new Point (
                    (screen_Dimension.width / 2-frame_Dimension.width / 2),
                    (screen_Dimension.height / 2-frame_Dimension.height/ 2)));Not sure if you want the raw version of it.......

  • How to Clear the JFrame

    I want to know that how to clear the JFrame window, and how to remove the component of the container.

    Try using the remove(...) and removeAll() methods.
    m

  • How to center a JFrame object on the screen?

    Does somebody know how to center a JFrame object on the screen. Please write an example because I'm new with java.
    Thank you.

    //this will set the size of the frame
    frame.setSize(frameWidth,frameHeigth);
    //get screen size
    Toolkit kit=Toolkit.getDefaultToolkit();
    //calculate location for frame
    int x=(kit.getScreenSize().width/2)-(frameWidth/2);
    int y=(kit.getScreenSize().height/2)-(frameHeigth/2);
    //set location of frame at center of screen
    frame.setLocation(x,y);

  • How to change the JFrame's title?

    Is it possible to change the title of a JFrame at runtime?
    If so, how?
    sincerely
    nir

    See JFrame.setTitle(String).
    Shaun

  • How to properly reference libraries when building executable

    Hi guys,
    So I've been working on porting a VI developed on 2009 Labview on Windows over to 8.2 on Linux. Initially I was having some problems because the program seem to have broken after the port but we realized it was some compatiblity with the TCP communcation functions. We solved it by writing some new TCP open/send/recieve/close functions in C and called the functions through a sub VI calling a library function node.
    Now, the program runs completely fine on labview on the development machine where I have all the files. However, things seem to break down when I build the program as an executable to be run on a machine without labview. 
    From what I can tell, it seems as though the library function node is unable to find the proper .so file to reference. However, I've tried numerous methods of passing the correct path of the .so file to the library function no but nothing seems to work. I've tried implementing path on the sub-vi level then up to the vi level but the results are all the same, the program works in labview fine but the TCP communcations break when i compile.
    So can anyone tell me or point me to a good tutorial on how to properly implement and build with library function nodes and also properly referecing the required .so files?
    Thanks guys,
    Jason.

    Hi Jason,
    If you open example finder in LabVIEW (Help>>Find Examples…)  and search DLL, you may find the “External Code (DLL) Execution.vi” to be helpful.
    There is some thorough documentation on how to use external code in LabVIEW at the following link:
    http://www.ni.com/pdf/manuals/370109a.pdf
    I would double check to make sure you are compiling the C code to the correct format.  To run it on a Linux machine the .so file must be in the ELF file format, not the PE format (which is what DLL files use).
    I am also wondering why you need to re-write the TCP functions, there should be a Linux LabVIEW equivalent function for each of the LabVIEW Windows functions.
    Regards,
    Shane C
    Regards,
    Shane C
    Applications Engineer
    National Instruments

  • I can't find anything about how to properly manage the tablet's layout in horizontal or in vertical position.

    I can't find anything about how to properly manage the tablet's layout in horizontal or in vertical position.
    If I consult my website in vertical position, it's ok but, If I turn my tablet, all the hyperlinks and all general visualization are wrong.
    How I can properly handle both views?
    PS: I'm sorry for my bad english

    Could you share the site URL so we may check at our end? Also could you share some screenshots explaining the 'wrong hyperlinks and visualization'.
    Thanks,
    Vikas

  • How to properly setup LB probe for ADFS 3.0 servers

    We are facing a problem during ADFS 3.0 (Windows Server 2012 R2), because we do not find a suitable URL for hardware Load Balancer probe to test ADFS nodes.
    When tried with IE browser, the URL
    https://sts.adfs1.ad/adfs/ls/IdpInitiatedSignon.aspx properly results in ADFS login page but, when tried the same URL with HW LB probe, the probe gets no answer from ADFS server at all.
    We compared incoming traffic with network monitor in that ADFS server node (https temporary changed to http to see the traffic), a somewhat similar HTTP GET query did exist:
    GET /adfs/ls/IdpInitiatedSignon.aspx HTTP/1.1..Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*..Accept-Language: fi-FI..User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows
    NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)..Accept-Encoding: gzip, deflate..Host: sts.adfs1.ad
    .PV??ìà_¹«.ç..E..ð'@.ÿ.%Ƭ..ü¬..Lî¢.PL?Ëf\Mæ?...?Ä.......f;[.4..GET /adfs/ls/IdpInitiatedSignon.aspx HTTP/1.1..Connection: Close..Host: sts.adfs1.ad
    How to properly monitor the ADFS 3.0 server nodes?
    Br, Kari Oikkonen
    MCITP/2008
    Fujitsu Finland

    Please note that using dns name in the url opens the metadata OK, but using IP address fails, not opposite as you mentioned.
    The netsh http show sslcert lists the following:
    SSL Certificate bindings:
        Hostname:port                : sts.mydomain.com:443
        Certificate Hash             : 12b510eead093f8d29db950a42ecf4940c933533
        Application ID               : {5d89a20c-beab-4389-9447-324788eb944a}
        Certificate Store Name       : MY
        Verify Client Certificate Revocation : Enabled
        Verify Revocation Using Cached Client Certificate Only : Disabled
        Usage Check                  : Enabled
        Revocation Freshness Time    : 0
        URL Retrieval Timeout        : 0
        Ctl Identifier               : (null)
        Ctl Store Name               : AdfsTrustedDevices
        DS Mapper Usage              : Disabled
        Negotiate Client Certificate : Disabled
        Hostname:port                : localhost:443
        Certificate Hash             : 12b510eead093f8d29db950a42ecf4940c933533
        Application ID               : {5d89a20c-beab-4389-9447-324788eb944a}
        Certificate Store Name       : MY
        Verify Client Certificate Revocation : Enabled
        Verify Revocation Using Cached Client Certificate Only : Disabled
        Usage Check                  : Enabled
        Revocation Freshness Time    : 0
        URL Retrieval Timeout        : 0
        Ctl Identifier               : (null)
        Ctl Store Name               : AdfsTrustedDevices
        DS Mapper Usage              : Disabled
        Negotiate Client Certificate : Disabled
        Hostname:port                : sts.mydomain.com:49443
        Certificate Hash             : 12b510eead093f8d29db950a42ecf4940c933533
        Application ID               : {5d89a20c-beab-4389-9447-324788eb944a}
        Certificate Store Name       : MY
        Verify Client Certificate Revocation : Enabled
        Verify Revocation Using Cached Client Certificate Only : Disabled
        Usage Check                  : Enabled
        Revocation Freshness Time    : 0
        URL Retrieval Timeout        : 0
        Ctl Identifier               : (null)
        Ctl Store Name               : (null)
        DS Mapper Usage              : Disabled
        Negotiate Client Certificate : Enabled
    The netsh http show urlacl shows the following:
    URL Reservations:
        Reserved URL            :
    http://+:80/Temporary_Listen_Addresses/
            User: \Everyone
                Listen: Yes
                Delegate: No
                SDDL: D:(A;;GX;;;WD)
        Reserved URL            :
    https://+:5986/wsman/
            User: NT SERVICE\WinRM
                Listen: Yes
                Delegate: No
            User: NT SERVICE\Wecsvc
                Listen: Yes
                Delegate: No
                SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-2996563517)
        Reserved URL            :
    http://+:5985/wsman/
            User: NT SERVICE\WinRM
                Listen: Yes
                Delegate: No
            User: NT SERVICE\Wecsvc
                Listen: Yes
                Delegate: No
                SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-2996563517)
        Reserved URL            :
    http://+:47001/wsman/
            User: NT SERVICE\WinRM
                Listen: Yes
                Delegate: No
            User: NT SERVICE\Wecsvc
                Listen: Yes
                Delegate: No
                SDDL: D:(A;;GX;;;S-1-5-80-569256582-2953403351-2909559716-1301513147-412116970)(A;;GX;;;S-1-5-80-4059739203-877974739-1245631912-527174227-2996563517)
        Reserved URL            :
    http://*:2869/
            User: NT AUTHORITY\LOCAL SERVICE
                Listen: Yes
                Delegate: No
                SDDL: D:(A;;GX;;;LS)
        Reserved URL            :
    http://*:5357/
            User: BUILTIN\Users
                Listen: Yes
                Delegate: No
            User: NT AUTHORITY\LOCAL SERVICE
                Listen: Yes
                Delegate: No
                SDDL: D:(A;;GX;;;BU)(A;;GX;;;LS)
        Reserved URL            :
    https://*:5358/
            User: BUILTIN\Users
                Listen: Yes
                Delegate: No
            User: NT AUTHORITY\LOCAL SERVICE
                Listen: Yes
                Delegate: No
                SDDL: D:(A;;GX;;;BU)(A;;GX;;;LS)
        Reserved URL            :
    https://+:443/sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/
            User: NT SERVICE\SstpSvc
                Listen: Yes
                Delegate: Yes
            User: BUILTIN\Administrators
                Listen: No
                Delegate: No
            User: NT AUTHORITY\SYSTEM
                Listen: Yes
                Delegate: Yes
                SDDL: D:(A;;GA;;;S-1-5-80-3435701886-799518250-3791383489-3228296122-2938884314)(A;;GR;;;BA)(A;;GA;;;SY)
        Reserved URL            :
    http://+:80/adfs/
            User: NT SERVICE\adfssrv
                Listen: Yes
                Delegate: Yes
                SDDL: D:(A;;GA;;;S-1-5-80-2246541699-21809830-3603976364-117610243-975697593)
        Reserved URL            :
    https://+:443/adfs/
            User: NT SERVICE\adfssrv
                Listen: Yes
                Delegate: Yes
                SDDL: D:(A;;GA;;;S-1-5-80-2246541699-21809830-3603976364-117610243-975697593)
        Reserved URL            :
    https://+:49443/adfs/
            User: NT SERVICE\adfssrv
                Listen: Yes
                Delegate: Yes
                SDDL: D:(A;;GA;;;S-1-5-80-2246541699-21809830-3603976364-117610243-975697593)
        Reserved URL            :
    https://+:443/FederationMetadata/2007-06/
            User: NT SERVICE\adfssrv
                Listen: Yes
                Delegate: Yes
                SDDL: D:(A;;GA;;;S-1-5-80-2246541699-21809830-3603976364-117610243-975697593)
    Any idea of how to build a probe rule with IP address?

  • How to set the JFrame to be Full screen

    yup.. how to set the JFrame to be Full screen mode??

    Hi,
    You can get the current size of desktop and resize your application to match it.
    //Get desktop screen size
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize()
    //Set bounds for main window
    setBounds(0, 0, screenSize.width, screenSize.height);     Br,
    J

  • Q: How to properly shutdown part/all of VDI? and question about disk space

    Hi again. I was able to get the VDI to work, but yesterday I changed the ARC parameter both in the storage and the xvm server (not sure in which is needed to be changed) and restarted both machines, to my surprise, the templates and the cloned VM had disappeared, so I was wondering if there is a proper way to shut down parts or the whole VDI? is there a sequence? and, of course, how to then turn everything back online ...
    How to make things permanent or at least, to export them so one can then import them back after the reboot?
    I did not find this in the documentation, the vdi3.pdf, if it is somewhere else, plz provide me with the link.
    also...
    I was curious that I could not see the space being used in the storage server:
    root@australia:~# df -kl
    Filesystem 1K-blocks Used Available Use% Mounted on
    VDisksPool 202890010 19 202889991 1% /VDisks
    rpool 58603340 78 58603262 1% /rpool
    root@australia:~# ls -l /VDisks/
    total 0
    but acording to the VDI page, the storage is being used at 3%:
    Storage:
    Number of Storages: 1
    Total Capacity:200.32 GB
    Usage:3%
    how to check this? where is the space being used?
    thanks in advance
    -Oswaldo
    Edited by: Velithion on Jul 8, 2009 8:05 AM

    "kmdguy" <[email protected]> wrote in
    message
    news:gl852s$oif$[email protected]..
    > Hello there,
    >
    > I'm working on a simple FLEX app which uses the built-in
    PHP wizard to
    > connect
    > to a mySQL database. I'm building the app using MAMP and
    so far all of my
    > testing is working fine. I have it performing all kinds
    of CRUD
    > successfully,
    > etc.
    >
    > My question is how to properly go about moving all the
    necessary files to
    > my
    > off-site web host. Namely my mySQL database.
    If your database is the same version of mySQL on the MAMP as
    on the server,
    then you should be able to just export it from one and import
    it to the
    other. If not, you could try doing something similar to what
    I describe
    here:
    http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html
    in the steps that start: "Download the rtf translation of the
    mySQL database
    table..." and "Open the classification.rtf you downloaded
    and..."
    > And will the auto-generated PHP
    > break now that it's not running on my localhost.
    I'm not sure, but I think you might wind up having to make
    some adjustments
    to it. For instance, is the user name and password identical
    on your server
    and your MAMP installation? If not, you'll have to edit some
    of the
    connection data.
    > I've tried to find a simple
    > step-by-step guide to migrating everything here to an
    off-site host but
    > couldn't find anything specific. Only how to create a
    simple release build
    > which works fine. I'd like to do some testing before I
    get any deeper to
    > confirm that I understand how to migrate all the files I
    need to my web
    > host.
    This may well be because the type of person who writes these
    guides is
    unlikely to be using the automatically generated scripts.
    HTH;
    Amy

  • How to properly setup photostream across devices

    I currently have several apple devices (iPhone, iPad, and Apple TV) and I also use iCloud on my PC, where I have all of my photos as well. The question I have is how do I set up and sync all of my PhotoStream photos so that my entire library will be available on my AppleTV as the slideshow? It seems that every time I try to set it up, I only get a subset of my photos (the most recent ones on my iPhone) and I can't figure out how to get all of them available to my AppleTV.
    Does anyone know how to properly set this up so I can see ALL of my photos on my AppleTV screensaver?
    Thanks!

    As long as you are signed into iCloud with the same Apple ID on all devices and have Photo Stream enabled then it is set up.
    Photo Stream is not infinite. It only holds 30 days of Photos on the server and 1000 photos on iOS devices.

Maybe you are looking for