Need some Picture Package Help

How do I print a picture package, such as 8 wallets, in CS6?

http://forums.adobe.com/message/4575734#4575734
If your running on Windows you can install the 64bit and 32 bit CS5 ContactsheetII plug-in into CS6. CS6 ContactsheetII is installed into Adobe's Required folder and will co-exist with CS5 plug-in installed into the Plug-in folder setup for third party plug-ins. In the Photoshop menu File>Automate> you will see two ContactsheeII itemes and one Picture Package items.  Picture Package use to be in ContactSheeII. ContactSheetII was changes in CS6 for thers were errors in its dialog with the preview thumbnail and the size images would be and for some reason Adobe removed Picture Package from ContactSheetII in CS6. If you install the CS5 Plug-ins in CS6 do not forget to copy the Layout Folder into Presets Picture Packages needs that folder contents.
Mac user are out of luck here because CS5 ContactSheetII plug-in is only available in a 32Bit version and there is no Mac CS6 32bit Photoshop.
Mac and PC users can use my Photoshop Photo Collage Toolkit in CS6 as a poorer replacement for Picture Package.  There are two scripts in that package useful for Pictire Packages.
1.) PasteImageRoll for creating single image size picture packages in a single document for pring on roll paper
2.) BatchPicturePackage will create Picture Package Collages. You need to create templates for the Picture Package layouts Images will be rotated for proper orintation.

Similar Messages

  • Suddenly my LR 5 will not recognize my iPhone, which I updated to OS 8. I need my pictures NOW - help!

    Suddenly my LR 5 will not recognize my iPhone, which I updated to OS 8. I need my pictures NOW - help!

    I just drove 4 hours to the nearest Apple store, the same on that replaced the battery 3 months ago. They tried to fix it, but could not and then admitted they probably did something when they replaced the battery. So with the manger's approval they replaced my phone at no charge to me, even thought I bought the phone back in 2012.

  • I need some all around help...

    I'm brand new at linux, and I have been using Windows xp for years, so I have no clue what I'm doing. I'm all installed, and it works fine, no errors, but I need some tips on doing some stuff.
    I am trying to mod my .bashrc to add color, as in the wiki, but it doesnt open the actual file. Instead, nano keeps wanting to create a new file from scratch. I went ahead and filled in a new one, but it does nothing, what do I need to do? Is the .bashrc under a different name in the directory?
    Next question... I  am using a windows laptop to do all my internet, etc stuff, and the arch box is separated from the internet. I'm using wireless, and the arch box doesn't have a card, so I cant get it on the web right now. I want to install a GUI, most likely kde, but I have no clue as to how to put stuff on the arch box. All I have availible for data transfer is a 4gb usb jump-drive, and it has all of the kde packages on it, but I'm not sure how to access them to install them.
    Aaaand...... the last question... If possible, is there a command that will list the directories of the arch box, so I can see where I'm at and where things are; I havent the foggiest idea of how this thing is layed out, or where the usb drive would be in the directories.

    Peeples Mcnasty wrote:Whenever I go to fill in the user's passwor, the box doesn't register the key-presses. It will only register non-letters. I'm still tryig to get to the bottom of it, so, until then I'm resorting to root as my login.
    Can you rephrase that? I don't really understand what you mean by register. Are you aware that password prompts in general won't echo anything? So normally, when you enter your password, nothing will change on the screen but the password you just entered is there.
    Now, if I had to create a .bashrc, where would I need to go to find out what all must go into it?
    Nothing has to go in there . You don't even have to have one, it all depends on what you want. You can put aliases in there (see man alias), define functions and environment variables, set your prompt and lots of other stuff. If you want examples you can take a look at threads like this one. Some of this stuff might be a bit overwhelming, so perhaps you should leave that alone until you have your install completed . What are you referring to when you say "Add color" ?
    Regarding your usb drive, notice that it won't be mounted automatically until you configure some kind of automount (KDE wil do that for you). Mounting means making your usb drive accessible at some directory in the filesystem. So to access your drive you do the following:
    Plug in drive
    mount /dev/sdb1 /mnt
    Your usb drive doesn't have to be sdb1, if you have multiple harddisks in your box, those usually come first, so your first harddisk is sda, the second sdb and so on.  sda1 is the first partition on the first harddisk, in most cases your usb drive will come after the disks, so if you have one harddisk your usb drive is usually sdb.
    Then you can install kde like this:
    First change to the dir with the packages, if you put them in some subdirectory just hang that behind mnt/:
    cd /mnt/
    use ls to see if they are there. If that is the case copy them into your pkgcache.
    * will choose everything in that directory, if there is something other than packages, you should choose the packages to copy by hand
    cp * /var/cache/pacman/pkg
    after that you can use pacman to install the kde group:
    pacman -S kde
    There might be some (or in case of kde probably many) dependencies which you didn't put on your usb drive. Pacman will tell you if there are. To get a list of urls to download those you can use
    pacman -Sp kde
    Good luck
    I just refreshed Regarding pacman -U, pacman -U won't install dependencies automatically and will just stop if a dependency is missing, so if you use pacman -U to install packages with dependencies you will have to resolve those by hand and install them with --asdeps.

  • I need some one to help me build a theme and a app for my restaurant

    Ok so I have been working on a theme for my restaurant and I also want to do an app. For it I'm looking for someone that is willing to work on the with me I have no time but I got the theme pretty much done just need it to be able to get it to my phone and go from there
    please hit me up if you want to make some cash and help me do this
    From Kevin

    Hi wildtoad and welcome to the BlackBerry Support Community Forums.
    You can download the BlackBerry Theme Studio to create your theme and load it to your BlackBerry.
    To download the Theme Studio visit http://na.blackberry.com/eng/services/themestudio/
    Thank you and have a great day!
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Need some basic Thread Help

    Hello everyone,
    I've recently been working on a game project with network capabilities.
    I need to be able to send data to a client and vice-versa for both a client and a host.
    Say whenever a player moves a character it should send the new coords, etc to the other person
    I have all the networking through a Host and Client class done already, with methods like sendData(String[] data) and getData(). What I need is some sort of update thread in the main program to send this data without stopping the flow of the program.
    I was thinking maybe a inner class inside the main program which extends a thread but I'm not sure how to implement that.
    Please help if you can. Thanks.
    P.S - Would maybe making the Host and Client classes extend Thread work too?
    (Then I can do all the threading inside there instead)

    dekenx wrote:
    Hello everyone,
    I've recently been working on a game project with network capabilities.
    I need to be able to send data to a client and vice-versa for both a client and a host.
    Say whenever a player moves a character it should send the new coords, etc to the other person
    I have all the networking through a Host and Client class done already, with methods like sendData(String[] data) and getData(). What I need is some sort of update thread in the main program to send this data without stopping the flow of the program.Sounds like a producer/consumer pattern. You produce move data, put it on a queue, and go on with the game. Meanwhile, a consumer thread reads from the queue of move data and pushes it over the network to the other side.
    I was thinking maybe a inner class inside the main program which extends a thread but I'm not sure how to implement that.
    Please help if you can. Thanks.
    P.S - Would maybe making the Host and Client classes extend Thread work too?
    (Then I can do all the threading inside there instead)The inner class or deciding which class to have extend Thread are implementation details you shouldn't be thinking about until you have a good understanding of the overall approach.
    Having said that, you should almost never extend Thread, since you're not creating a specialized kind of Thread class. You're just creating a task to be run in a separate thread, so implement Runnable. Or use an Executor from the java.util.concurrent package.
    I would also probably not use an inner class for this.

  • Really need some !!HELP!! ALMOST 6 MONTHS WITH OUT BURNING A CD

    I've posted before about my problem but but i still have not gotten an answer. This might be my last atempt to get any help before i end up taking my laptop to a repair shop so here we go.
    I've recently ran a diagnostic with i tunes and here it is:
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    TOSHIBA Satellite A75
    iTunes 6.0.1.3
    CD Driver 2.0.4.3
    CD Driver DLL 2.0.3.2
    LowerFilters: PxHelp20 (2.0.0.0), drvmcdb (1.0.0.1), ASAPIW2K (6.0.2.0), Pfc (2.5.0.204), MxlW2k (1.1.0.120), sscdbhk5 (1.0.0.1), Cdr4_xp (6.2.0.132),
    UpperFilters: CDRDRV (6.0.0.0), Cdralw2k (6.2.0.132), GEARAspiWDM (2.0.4.3),
    Video Driver: ATI MOBILITY RADEON 9000 IGP\ATI MOBILITY RADEON 9000 IGP
    IDE\DiskFUJITSUMHU2100AT______________________00000008
    Could not get bus type for CD, 50. Problem with installation of drive in Windows.
    , Bus Address [0,0]
    IDE\CdRomMATSHITADVD-RAM_UJ-820S________________1.50___, Bus Type ATA, Bus Address [0,0]
    SCSI\CdRomVOBID__InstantDrive_CD_14_, Bus Type SCSI, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    Current user is administrator.
    D: MATSHITA DVD-RAM UJ-820S, Rev 1.50
    Audio CD in drive.
    Found 11 songs on CD, playing time 33:12 on Audio CD.
    Track 1, start time 00:02:00
    Track 2, start time 02:20:15
    Track 3, start time 05:07:42
    Track 4, start time 06:13:12
    Track 5, start time 08:31:30
    Track 6, start time 13:17:17
    Track 7, start time 17:34:35
    Track 8, start time 20:47:57
    Track 9, start time 23:22:25
    Track 10, start time 25:16:60
    Track 11, start time 28:56:22
    Audio CD reading succeeded.
    Get drive speed succeeded.
    The drive CDR speeds are: 4 8 12 16.
    The drive CDRW speeds are: 4.
    The drive DVDR speeds are: 4 8 12.
    The drive DVDRW speeds are: 4 8 12.
    E: Unsupported CD or DVD drive.
    Virtual drives can sometimes interfere with reading and writing CDs in iTunes. If this is a virtual drive and you are having problems with other drives, try uninstalling the virtual CD application.
    it apears to be something wrong with drive E but in the properties it says its working perfectly.
    Every time i try to burn a cd i get the blue screen error.
    i hade version 7 of i tunes kept getting the same thing, so i went back to 5.3 but still the same thing. It also happens when i try to burn a cd with nero, i have WMP but don't use it. so now i really hope to get an answer or i have no other choice but to take it to a repair shop. SO !!PLEASE HELP ME!!

    no problems about the delay.
    the 0x8E is reasonably generic. so let's try proceeding on two fronts.
    1st front: we'll get a minidump to the Apple Engineers for a look
    (the minidump can help identify the driver that seems to be causing the issue here.)
    To set up your machine to capture a minidump, right click on "My Computer", select "Properties", select the "Advanced" tab, select the "Startup and Recovery" Settings button, select "small memory dump" from the popup. When it crashes, look for the MiniDump file. It's usually in the folder "C:\WINDOWS\Minidump" and is called something like Mini<number>-<number>.dmp.
    Find that file and send it as an attachment to this email address.
    in the email to Roy, be sure to include the following information:
    - A link to the thread on Apple Discussions where the issue is being discussed
    - The username you are using in the thread
    - The version of iTunes you are using or trying to use
    - the version of Windows you are using (mention service packs)
    - A concise description of the issue you are seeing
    - The exact text of the error message you are seeing
    2nd front: checking on a few possibilities ourselves while waiting for feedback on the minidump
    (a) device filter conflicts: blue screens with itunes while burning can be caused by device filter conflicts (i've seen 0x8Es before in cases of conflicts with old Roxio products). so perhaps try the techniques from the following document:
    iTunes for Windows: Troubleshooting CD issues caused by device filters
    (b) malware:
    malware is a known cause of 0x8Es. try downloading fresh definitions and running vigorous virus and spyware scans. if your security software providers offer them, try running online scans too. (they can sometimes pick up an infection in cases where the security software on the PC has been compromised.)
    if your security software providers don't offer online scans, try running the Symantec online virus check. (apologies in advance ... it takes an eternity to complete.)
    Symantec Security Check

  • I need some legacy OS help. Resource and File Manager stuff...

    I don't know where to find a better place to ask this and I know that it will strain your memory, but I really am in need of help.
    I am working on a Windows port of the old and now defunct SpriteWorld animation library. I used to be involved in its development when I had a Mac several years ago, and I really enjoyed toying with it. I am aware of SpriteWorld X, but I don't like C++ and I want to do this for myself.
    Anyway, the coding of the actual project will be trivial. What I need help with are the dozens of resource files that contain all of the graphics used by the examples. Since I'm doing this in Windows, I cannot simply open the resource files in ResEdit or even in code very easily. What I'm trying to do is extract the PICT and cicn resources in the files. I did find the legacy documentation on Apple's developer site and I have studied it thoroughly. However, the Resource Manager documentation leaves out a great many details and is making it nearly impossible to parse the files.
    The biggest issue that I'm having is finding the exact starting point in the file for the resource fork. What I've noticed is that there seems to be an undocumented and nearly identical header, containing the file name, creator, file type and unknown data of unknown length, in all of the files that I've viewed. Since this header is not documented, it makes it very difficult to find the start of the fork. I'm guessing that it is used by the Finder?
    I was able to manually find the start(I think...), since a copy resource fork header is 30 bytes prior to the first resource type listed in the file. Per the documentation, this is merely a copy and the actual header is further up in the file. I've found that, but many times the offsets are wrong. All of the offsets start at the beginning of the resource fork, which unfortunately, does not start at the first byte in the file. To make it even more difficult, most of the time the real header (and thus the fork) starts 82 bytes in, but not always and there doesn't seem to be any reason for the discrepancy. Even when I'm sure of the location of the start of the fork, the offsets in the header often times will point to random data in the file instead of the correct locations. I don't know if the files are corrupted or if there is more information that I'm missing.
    Without being able to decipher the resource fork structure, there is no way that I can write the utility I need to extract the data. I know that I'm asking for help with VERY old data, but I'm not sure where else to turn. If I could afford it, I would just go out and buy a Mac. Unfortunately, that is not an option. I've searched just about as far as I can with Google, but to no avail. I wouldn't post this, but I've simply exhausted all other avenues. I sure hope someone can shed some light on this matter.
    Message was edited by: Mark_Speir

    If you get really stuck, you might find a helpful soul that might be willing to generate screen captures or otherwise de-rez the files for you. I've never gotten around to figuring out a way to dump the graphics directly from the resource forks, however, I do happen to have several legacy Macs still running on my home network, as well as some earlier OSX versions.
    Currently:
    Powerbook G4 (2), OSX 10.5.8, and 10.4.11
    iMac G4, OSX 10.3.9
    PowerMac 8600, OS 9.2
    PowerMac 8500 (2), OS 8.x, OSX 10.1 Server
    Mac IIci, OS 8.x or 7.x (have to check)
    Mac LC III, OS 7.x or 8.x (currently powerd off, but can be resurrected, used for terminal emulator
    (I've made use of these myself to get screen captures, and extract sound resources via ResEdit or Resorcerer for my own port of some legacy software).

  • Old Homesite user needs some CS3 customizing help

    Thanks for taking a look,
    Well I finally got CS3 after using HS5.1 for the last 7 or 10 years! It is fantastic! So far so good though it is taking some getting used to...
    I was hoping that someone could be so kind to help me with a couple things, I would be greatly appreciative to say the least.
    First, How do I customize the toolbars? I was able to add things to all the toolbars before so was wondering if there's similar customizability in Dreamweaver. I saw a favorites tab but can I add the 12 or so buttons I use alot in there and then have that as the default tab on opening?
    I used to select text and then (using a custom toolbar button/shortcut) click the div tag. I am not sure how to use the new one because it only has id or class and create new css style where I'm used to writing a style attribute/tag - (sorry if my nomenclature is off) in there myself.
    I really like the new view as you go. How do you make it so when looking in design half or full the images are not in a 'selected' type state or does that mean something?
    Lastly, I used to have a keyboard shortcut to do a number of things like blockquote and change case to upper or lower. I cannot find any of those! Where oh where (Brother Where Art Though) can they be?
    Thanks again in advance for your help!

    Hello,
    You can save a work space after setting it up or customising it to your needs: window > workpace layout > new workspace..
    On the right side, open the panel for css styles (or under window). This panel has another window for properties under it and on the statusbar of that little panel is + sign. Click on it to make a new rule. You can also right click the last css rule and then click "Edit" to go in to the css selector/properties applet or you can opt to open the css file and write the rules directly..usually you will have a tab also for the css file at the top.
    You can go to: http://www.adobe.com/designcenter/video_workshop/  ( click on products | select a title | play video )
    Adobe does not leave you up the creek without a paddle!
    zabberwan

  • Need Some Brain Storming Help WIth a Long Distance Mail Problem

    I would really appreciate anyones input on this...
    Here's the situation. I'm trying to solve a mail problem for my somewhat elderly Mother. The biggest problem is that she is 3800 miles away from me and nowhere near any sort of help or tech support (Rural Alaska) so I'm trying to sort this out over the phone.
    Anyway, she somehow screwed up her mail. All of a sudden the mail she sends comes from MY account! It shows up in my mailbox as having been sent by me. She is using an iBook G4 that I gave her a year or so ago and I suppose it's possible that somehow my mail account was on there somewhere (?). It's like she accidentally switched users or something.
    I have sent her Email to her normal .Mac email address and it does indeed show up in her mailbox when I check the web mail. She is running Tiger and I'm running Leopard.
    I just can't for the life of me figure out what she would have done and I'm hoping that someone might have an idea. She says that the font sizes all changed as well which leads me to believe that she is indeed using my old settings and mail account.
    Once again, any help really appreciated. I'm heading out of town for a week and she really depends on her email. I'm trying desperately to get this solved before I leave. Thanks!

    It looks like Mail has reset its preferences, including the account settings. What follows is a more thorough explanation that should allow you to determine whether that’s really what happened and what your options would be in that case. I’ll provide the full instructions I usually provide to solve this problem when having direct access to the computer, even though you may find some of them not practical or unnecessary.
    Under some circumstances (e.g. lack of available disk space, filesystem corruption, repeated crashes), Mail may discard the current ~/Library/Preferences/com.apple.mail.plist preferences file and create a new one. This file is where all the account settings are stored. As a result, all the non-.Mac account settings are lost. If you have a .Mac account, however, that account would appear to have been preserved because Mail would set it up automatically using the System Preferences > .Mac settings — but may result in a different .Mac account being automatically set up if for some reason the System Preferences > .Mac settings differ from what until then were the Mail account settings...
    What’s the capacity and space available on the startup disk? Take a look at the comments about disk space in the following article, in case they apply to this case:
    Problems from insufficient RAM and free hard disk space
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what’s it all about?
    After having fixed all the filesystem issues, if any, and ensuring that there’s enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), quit Mail if it’s running, and make a backup copy of the ~/Library/Mail folder (e.g. by dragging it to the Desktop while holding the Option (Alt) key down), just in case something else goes wrong while trying to solve the problem. This folder is where all your mail is stored.
    There are at least three ways to restore the account settings:
    (1) Restore ~/Library/Preferences/com.apple.mail.plist from a backup if you have one. Mail shouldn’t be running while you do this.
    (2) Set up your mail accounts again (you may want to quit Mail and trash the new com.apple.mail.plist first to start over). If given the option to import existing mailboxes or something like that, don’t. Just enter the account information and Mail will automagically rediscover the data in ~/Library/Mail/ when done. You’ll also have to re-configure some of the Mail > Preferences settings. For spam-related security reasons, the first thing you should do is go to Preferences > Viewing and disable Display remote images in HTML messages if it’s enabled.
    (3) Mail may have renamed the old preferences file to com.apple.mail.plist.saved. If that’s the case, you may try trashing the new com.apple.mail.plist and renaming the old com.apple.mail.plist.saved back to com.apple.mail.plist. Again, be sure Mail isn’t running while doing this. Given the circumstances, there exists the possibility that com.apple.mail.plist.saved became corrupt, but that often is not the case and the settings can usually be restored by just renaming the file back to com.apple.mail.plist.
    As a side effect of re-creating com.apple.mail.plist, Mail might rename Outbox (which is where messages waiting to be sent are stored) to Delivered. The name of that mailbox is actually a misnomer, as it would contain messages (if any) that couldn’t be delivered for some reason. You can delete that mailbox if you wish.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • I Need some assistant and HELP with my iPod Touch  soon

    Note: Look up above at the Top to read my Problem that I am having with my iPod Touch.
    Can Someone Please HELP ME with my iPod Touch, I am running out of patience, normally when I do need help here I usually get help and a reply within ONE day, but I have posted my problem YESTERDAY, why isn't there someone not replying to my request?? I am getting 55 views but no replys, isn't there anyone out there that can help me??
    I need HELP to reset my IPod Touch to where I had it when I was able to send emails. (can't send emails anymore from my iPod Touch)
    I want to be able to sync and send my iPod Touch sent emails info. to my Computer email program, does anyone know how to do that?
    PLEASE HELP ME AND REPLY if you can solve my problem ASAP.
    Trisha Foster

    Agreed! If you want help soon, call Apples paid support line. Now while you were waiting for us to slowly get around to answering you, you could have downloaded the manual for the ipod, so that you understood the function of the mail sync options in itunes. Mail sync only copies the settings needed to access your mail servers, from the mail client on your computer, over to the ipod touch. It does not copy any actual mail messages, and does not copy any settings from the ipod back to your mail program. The advanced section is meant to be used if you have messed up the settings on the ipod itself. It will ignore any changes to bookmarks, contacts, or mail settings depending on which you check, and will copy new information to the ipod. So in your case if you are able to access, and send mail correctly from the account on your mac, then clicking on the sync mail account button in itunes as well as the replace info on this ipod whatever in the advanced section should transfer over the correct mail account settings to your ipod.

  • Need some object oriented help.

    Hi, I'm having some trouble accessing a HashMap from one of my classes, I have a primary class where some coordinates are stored in a HashMap called NodeCoordinates.java, then I have another class named NodePanel.java where I create a NodeCoordinates object with "NodeCoordinates nodeCoords = new NodeCoordinates();" Now from this same class I have no trouble manipulating the HashMap at all, however I need to access the same HashMap from yet another class, so within the new class which is called Network.java I extend it with NodePanel.java with "class Network extends NodePanel" and this is where my troubles start. It turns out that when trying to access "nodeCoords" from within Network.java all it returns is a null value since for some reason it sees the HashMap as being empty. I was under the impression that when I extend Network.java with NodePanel.java, Network.java inherits everything under NodePanel.java, including "nodeCoords" which would still point to the same HashMap object, or am I wrong about that?

    Gotcha gotcha, I was thinking someone could just simply eyeball my code and see if anything was off balance. Gimme a sec, will make this compile ready.
    Edit: Here's the fully compilable code, basically when you click on the NodePanel, the hashmap stores the node's (i.e. circle's) number as key and x and y coordinates as values in an array ([0] holds x and [1] holds y), but when you click on the Start button nodeCoords seem to default back to null.
    Gui.java
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    class Gui {
         private JButton startBtn = new JButton("Start");
         public static void main(String[] args){
              new Gui();
         private Gui() {
              JFrame frame = new JFrame("Ant Colony Optimization");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Container container = frame.getContentPane();
              container.setLayout(new GridBagLayout());
              GridBagConstraints gbConstraints = new GridBagConstraints();
              gbConstraints.fill = GridBagConstraints.BOTH;
              gbConstraints.anchor = GridBagConstraints.CENTER;
              gbConstraints.insets = new Insets(2, 2, 2, 3);
              //create a NodePanel object to draw nodes on the panel
              addComp(new NodePanel().setNodePanelProperties(), container, gbConstraints, 0, 0, 8, 3, 0, 0);
              gbConstraints.insets = new Insets(0, 0, 0, 0);
              addComp(startBtn, container, gbConstraints, 8, 2, 1, 1, 0, 0);
              ButtonListener btnListener = new ButtonListener();
              startBtn.addActionListener(btnListener);
              frame.pack();
              frame.setVisible(true);
         private void addComp(Component c, Container container, GridBagConstraints gbConstraints, int row, int column, int numberOfRows, int numberOfColumns, double weightx, double weighty){
              gbConstraints.gridy = row;
              gbConstraints.gridx = column;
              gbConstraints.gridheight = numberOfRows;
              gbConstraints.gridwidth = numberOfColumns;
              gbConstraints.weightx = weightx;
              gbConstraints.weighty = weighty;
              container.add(c, gbConstraints);
         class ButtonListener implements ActionListener {
              public void actionPerformed(ActionEvent e){
                   new Ant();
    }Network.java
    class Network extends NodePanel {
         Network(){
              System.out.println("Is the Network.java hash empty? " + nodeCoords.nodeCoordsHash.isEmpty() + " hashmap size: " + nodeCoords.retrieveNodeCoordsHashMapSize());
              System.out.println(nodeCoords.retrieveCoordinates(new Integer(1)));
    }NodeCoordinates.java
    import java.util.HashMap;
    class NodeCoordinates {
         //hashmap with a node number as key, and array holding node's coordinates, as value
         public HashMap<Integer, Integer[]> nodeCoordsHash = new HashMap<Integer, Integer[]>();
         NodeCoordinates() {
         //store node's coordinates in a hashmap
         void storeCoordinates(Integer key, Integer[] value){
              nodeCoordsHash.put(key, value);
         //retrieve node's coordinates from a hashmap by passing an Integer as key to the function
         Integer[] retrieveCoordinates(Integer key){
              return nodeCoordsHash.get(key);
         //access hashmap size from other classes
         int retrieveNodeCoordsHashMapSize(){
              return nodeCoordsHash.size();
    }NodePanel.java
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    //panel for drawing nodes
    class NodePanel extends JPanel implements MouseListener {
         int nodeCounter = -2;
         private Graphics g;
         Integer[] coordsArray = new Integer[2];          //array for holding node coordinates [0] holds X, [1] holds Y
         NodeCoordinates nodeCoords = new NodeCoordinates();
         NodePanel() {
         Component setNodePanelProperties() {
              addMouseListener(this);
              setBackground(Color.white);
              setPreferredSize(new Dimension(800, 600));
              //nodePanel.setBorder(new javax.swing.border.LineBorder(Color.black));
              return this;
         public void mouseClicked(MouseEvent e) {}
         public void mouseEntered(MouseEvent e) {}
         public void mouseExited(MouseEvent e) {}
         public void mousePressed(MouseEvent e) {
              nodeCounter++;
              g = getGraphics();
              //mark the first node as the nest
              if (nodeCounter == 0){
                   coordsArray[0] = e.getX();
                   coordsArray[1] = e.getY();
                   g.setColor(Color.GRAY);
                   g.fillOval(coordsArray[0] - 12, e.getY() - 12, 35, 35);
                   g.drawString(Integer.toString(nodeCounter), coordsArray[0] - 12, coordsArray[1] - 12);
                   g.setColor(Color.WHITE);
                   g.drawString("Nest", coordsArray[0]-7, e.getY()+10);
                   //place coordinates in a hashmap, key as node's number, and value as an array,
                   //[0] contains x coordinates, [1] contains y coordinates
                   nodeCoords.storeCoordinates(new Integer(nodeCounter), coordsArray);
                   System.out.println(nodeCoords.retrieveCoordinates(nodeCounter)[0] + " - " + nodeCoords.retrieveCoordinates(nodeCounter)[1]);
                   System.out.println("Is the NodePanel.java hash empty? " + nodeCoords.nodeCoordsHash.isEmpty() + " hashmap size: " + nodeCoords.retrieveNodeCoordsHashMapSize());
              //default action on mouse click
              else if (nodeCounter > 0){
                   coordsArray[0] = e.getX();
                   coordsArray[1] = e.getY();
                   g.setColor(Color.GRAY);
                   g.fillOval(coordsArray[0] - 12, coordsArray[1] - 12, 24, 24);
                   g.drawString(Integer.toString(nodeCounter), coordsArray[0] - 12, coordsArray[1] - 12);
                   //place coordinates in a hashmap, key as node's number, and value as an array,
                   //[0] contains x coordinates, [1] contains y coordinates
                   nodeCoords.storeCoordinates(new Integer(nodeCounter), coordsArray);
                   System.out.println(nodeCoords.retrieveCoordinates(nodeCounter)[0] + " - " + nodeCoords.retrieveCoordinates(nodeCounter)[1]);
                   System.out.println("Is the NodePanel.java hash empty? " + nodeCoords.nodeCoordsHash.isEmpty() + " hashmap size: " + nodeCoords.retrieveNodeCoordsHashMapSize());
              g.dispose();
         public void mouseReleased(MouseEvent e) {}
         public void mouseDragged(MouseEvent e) {}
         public void mouseMoved(MouseEvent e) {}     
    }Ant.java
    import java.util.HashMap;
    import java.util.LinkedList;
    import java.util.Queue;
    //ant class used for traversing the graph/network
    class Ant extends NodePanel {
         Network network = new Network();
         Queue nodeQueue = new LinkedList(); //queue for determining which path the ant took
         Ant() {
              travel();
         void travel() {     
              System.out.println("Is the Ant.java hash empty? " + nodeCoords.nodeCoordsHash.isEmpty() + " hashmap size: " + nodeCoords.retrieveNodeCoordsHashMapSize());
    }Edited by: CheeseMelt on Sep 25, 2009 9:00 PM
    Edited by: CheeseMelt on Sep 25, 2009 9:01 PM

  • Need some more scripting help

    [I'll be posting this over on the Google Group forum too.]
    File is here: https://acrobat.com/#d=m7zuQYiUoFrtz5isD7rErQ
    Form is a series of tables that can expand and contract their respective rows by clicking a button in the header - tables start out collapsed and filler can open the appropriate tables. I'm using + and - values on the buttons to check what they should do - they call a script object which handles looping through the table rows, etc (thanks Niall!).
    I also have similar loops set up on prePrint and docReady (on the form1 root) events so that the tables collapse down to only used rows for printing or after the form is saved and re-opened.
    I'm having a few issues that I'm having trouble figuring out. I'm thinking some of the problems might even have to do with which events I'm using but not sure.
    Resetting the value of the +/- button in the header rows:
    Unless a table is expanded and has rows that are empty showing I want the button caption to be a +. I've been trying to explicitly set this as part of the different loops but seem to be having issues.
    Problem with repeating header button caption:
    If a table breaks across a page, the button in the repeated header row doesn't reflect the caption of the button in the parent header row. I kind-of fixed this with some code from Paul Guerett which sets the caption based on xfa.layout.pageSpan and it works but if you click the repeated button again to collapse the table the main button caption doesn't update (should change back to a +), unless you click on the main button.
    Related to this one is when the file is saved and re-opened table headers that had been repeated show random multiple time (2-5 generally).
    I also ran into some trouble with Reader when using Unicode characters for the button caption. Instead of +/- I was trying to use \u25BC and \u25B2 (down and up triangles) but Reader seemed to choke on it.
    This form is ready to go except for these couple of issues that I can't seem to track down.

    Hi Jono,
    Here is the form with a few mods: https://acrobat.com/#d=rXwdoCcfDC0pWQz-39KWjg
    In relation to the repeating headers, I think the main problem is that the HeaderRow was set to repeat in the Object > Binding tab. I have deselected this. However you would need to test. I have seen this before and to get over it I have wrapped the header in a separate subform. I don't want to do it here because of the scripting, but see how you get on.
    On the reset button, I have included a execEvent for the docReady event in the form1 node. This resets the "+".
    Where a table spans more than one page (generating another "-" button). I have included another line to reset the original button back to "+":
    xfa.resolveNode("HeaderRow[0].Button1.caption.value.#text").value = "+";
    This seems to work.
    I haven't looked at the unicodes. I would stick with the +/-, as these are self evident and you will be less likely to have compatibility problems.
    Form looks good!
    Good luck,
    Niall

  • I need some one's help making a scrolling list of links

    I am working on a project where I need to make a list of
    links that are text and can be manipulated like buttons and also
    scroll mabey using the scroller from the components section in
    Flash. Please help if you are able by responding to this post.
    AN EXAMPLE OS WHAT I AM TRYING TO DO IS ON THE RIGHT SIDE OF
    THE PAGE OF ( www.streamingfaith.com)
    Thanks!

    Great assignment (congratulations to your lecturer/professor/teacher, I'd give that 8 or 9 out of 10). I hope noone does it for you and spoils your fun!

  • Need some suggestions or help with shopping cart.

    I am looking and searching and searching and looking for a
    good e-commerce package I can use with my future sites as well as a
    current one I am developing. It is a automotive site with multiple
    sizes of parts and accessories, I have opted to use a drop down for
    selecting the size but need to figure out how to incorporate that
    when I do the shopping cart and etc... I have looked at cartweaver
    and cannot afford that right now I am looking for something similar
    to it but cheaper in price if not free...

    I've used Cartweaver and found it rather good. It's one of
    the few that can be licensed so as you can use it on as many sites
    as you want. Most only allow you to use a shopping cart on a single
    site.
    I've used Cartweaver ColdFusion. They also have a PHP and ASP
    version of the software, you'll need to decide what back-end
    technology you want to use: ASP, PHP, ColdFusion. and buy that one.
    I would check with your hosting company and see what back-end
    technology they offer you.

  • Need some Apache/PHP help

    I had set up my Apache and PHP via the terminal last year, and had it working properly in the browser under localhost. I stopped working with it for a year, and am now trying to figure out how to get it up and running again. I have a bad feeling that it's been somehow wiped out. I open a terminal window, type in the command to start apache, it asks me for my root password, accepts it, but then opens up an empty PICO window. I have no idea of where to begin trouble shooting this. Any help would be appreciated.
    ibook   Mac OS X (10.3.4)  

    The file that causes the "starting apache" isn't located in the Apache directory -- it's somewhere in /etc .
    Updating the OS can occasionally wipe out non-standard installations -- Apache 2 being one such. That's why I remarked that version 1.x is a fine option -- OS X manages it and doesn't kill customizations you make to configurations (as in httpd.conf).
    So you can try to get PHP working with Apache 1.x. Or you can try installing Apache 2 again. Make sure you follow instructions specifically for OS X, and make some notes about what you did (put comments in the configuration files, and send yourself an email with links to the instructions, a list of the files you changed, etc).
    But sometimes the easiest way to go is to do a clean install of the OS. That puts everything back to where it's supposed to be, and you can take small steps customizing things. You no doubt have a lot of detritus piled up in your system.
    Other people definitely think that my way is a bit radical, so before you take my advice, see if someone comes up with some better advice.
    Also, let me recommend that you find a quick tutorial for Unix and Terminal. SInce you want to work with some non-standard, non-GUI apps, you will benefit from having some really basic commands (cd, ls, chmod, sudo, tar for example). Here's a good one: <http://www.macdevcenter.com/pub/a/mac/2005/05/20/terminal1.html>

Maybe you are looking for