For all Jedi Masters: How can I update images in ScrollingImagePanels ?????
I have posted an old topic but now i understand my error.
Please people!!!! I think it is very simple, but i am not getting results at updating images in ScrollingImagePanels.
My ScrollingImagePanel in a JInternalFrame, and the JInternalFrame is in a JDesktopPane.
In my code i try to remove the actual ScrollingImagePanel and create a new other. But the are no references to the ScrollingImagePanel in the else block. The code doesn't compile. Please, see the code below for a good compreension:
public void atualiza(){
if (ziboro == false){ //no images displayed yet
ziboro = true;
JInternalFrame teste = new JInternalFrame("teste",true,true,true,true);
teste.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
teste.addInternalFrameListener(this);
teste.setLocation(10,10);
teste.setSize(new Dimension(200,200));
ScrollingImagePanel FlipVPanel = new ScrollingImagePanel(imagemBufa, 800, 800);
teste.getContentPane().add(FlipVPanel);
displayPanel.add(teste);
teste.setVisible(true);
teste.moveToFront(); return;
else{
System.out.println("Jedi!");
teste.getContentPane().remove(FlipVPanel);//This part is my problem
ScrollingImagePanel FlipVPanel = new ScrollingImagePanel(imagemBufa, 800, 800);
teste.getContentPane().add(FlipVPanel);
teste.setVisible(true);
teste.moveToFront();
return;
Thank you for your atention!
Poxa se vc entende portugu�s e quiser e souber me ajudar eu ia ficar agradecido pra caramba!
Ah! I'm sorry. Probably I couldn't explain you my problem. So let me give you some background.
We used to generate the preview of all the pages in an InDesign document using the export functionality. But we found that, it's a slow process especially when the document uses images that are huge in size (can even be 2 or more GB). So we decided that since InDesign already has the preview (we can see this even the image link is broken), why shouldn't we use this?
But while doing this, I realized that I can't get the preview of other pages except the first page.
So, can we say the script can't generate preview images of all the pages (I'm not talking about the individual images placed in a page), or the script is OK but it can do that only for CS5?
Best Regards,
-Arafat
Similar Messages
-
I updated my iPad 2 iOS to 6.1.2 and lost my album art for all my music , how can I get them back?
Have you tried restarting or resetting your iPad?
Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off" -
I have a business and I use iCal for all my appointments, how can I print receipts from my MacBook to a receipt printer?
I want my clients to have a receipt of the services that they have paid for, can anyone HELP ME PLEASE?Well...I went to the modem (Westell, WireSpeed), found the NAT settings, once again, I'm WAY over my head, I am assuming this is a TCP connection (as opposed to a UDP) and per Lorex my mobile devices will use port 1025. So I gave it a "global port range" of 1-10 and I indicated that the "base host port" was 80, 1025, & 9000 (ports 1,2,3). When I selected the 'enable' it asked for a "host devise" my choices are my IPhone, IMac and the IP address for the dvr, so I choose the dvr. I still cannot connect and canyouseeme still can NOT find these open ports. This is taking up my whole day! I don't know how people figure this stuff out.
-
After the update, the next screen showed all the letters in smaller font, with fewer pixels. All the screens are like that now and I found nothing in the Firefox help contents. This is a problem because I have vision difficulty. So, how can I increase the font size to what it was before? My screen is about 20 inches wide.
Also, any chance I can change all the font to Arial instead of Times New Roman?Thanks -- that does help!
-
25 apps on my wife's phone need updating and now it "Cannot connect to iTunes Store" only when i try to update them for her. I can access the iTunes store for all other options but not to update. How can I get her updated?
Try quitting the App Store:
Tap the home button to get to the home screen. Then double tap the home button, and hold your finger over the App Store icon. Tap the red when it appears. Tap the home button again to return to the home screen.
Try resetting:
Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost. -
I have an iMac mid yr 2009 with snow leopard. I checked and my howdoi.swf 8.o r22 is power pc and my HP sofware updater is also power pc. How can I update these appls to be compat with Lion, as I am not computer savvy. or should I wait awhile to install Lion?
Lion upgrade questions and answers: Apple Support Communities
You may want to hold off upgrading to Lion for a bit and check with the HP site to see if they will update their HP software for Lion compatbility. -
i want to update my phone, but i purchased many apps and music on the phone. it won't let me authorize my computer so i cannot update. i don't want to deauthorize all my computers. how can i find out which 5 computers i have authorized? also how can i update the software?
This is a tedious solution, which is stupid! And some users report an inability to reauthorize a computer after an "en masse” deauthorization. I can’t believe Apple doesn’t provide a list or menu to find out which computers you’ve authorized! Obviously, APPLE knows (or else they couldn’t tell us how many computers we have authorized)--so why can’t they give us access to that information about our own computers??!!!
And for an already-authorized computer with a hard drive that’s since been replaced and upgraded from Mavericks to Yosemite, would it be recognized as a “new computer” and require authorization? Would its previous incarnation (i.e., with the old hard drive and OS) be considered a separate computer? Some users report they can’t authorize a computer after an OS upgrade because of that. Can’t believe we have to do such a bass-ackwards kludge! -
I've moved my Aperture library from one computer to another using Finder.
I merged the library with one which was already on the computer.
Now, the photos I imported have reference to the old path name on my old computer.
How can I update these references as "Relocate Masters" does not work in this case?Just one suggestion to be able to reconnect all at once:
Create a smart album containing the images with missing masters:
File -> New -> Smart Album, and add a rule: File Status is "Missing" (or File Status is "offline")
Then select the images in this album and go to the File menu:
and select: File -> Locate referenced File
If you are lucky, Aperture will reconnect all at once, if you point the first image version to its counterpart. -
cant update apps on my mac or iphone4. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it . i can download apps and music. how can i update apps on my mac and iphone 4?
I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
Before you restore or reset, I would try that first. -
my credit card was stolen,since i cncelled and waiting for a replacement i cant update any apps or dl any apps because the billing info says its incorrect now,how can i update and dl while waiting for my new card?
It would be best for you to open iTunes, sign in and view your account. If all the purchases were paid already instead of entering your new card information, it will give you an option for "NONE" as a payment method. Again this is not applicable of you have a pending charges with iTUnes
-
I have a MacBook Pro with Lion. Every few days Firefox will tell me, "you really need to update to 6.0," and I say, "yes please!" but then it says "connecting to update server" for ages and ages and nothing ever happens. I wouldn't mind uninstalling the old one and downloading a new one, except that I have lots of bookmarks and passwords saved, and I don't want to lose them all. So what's going on, how can I update?
Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
Thanks again,
Rob -
updated my iphone 4 to iOS 5.0.1 and then lost all my apps. how can I restore them?
As long as the apps are still available in the store, and you use the same iTunes account as you originally used to buy them, then you should be able to re-download them for free : http://support.apple.com/kb/HT2519 . If you download them to your computer's iTunes you could then try restoring to your backup and see if that restores them and their settings/content back to your iPhone - a backup doesn't contain the actual apps, just their content/settings, so for the restore to work fully iTunes needs access to the apps so that it can restore them.
-
I updated my ipod touch 4th gen to ios 5 and lost all my photos. how can i get it back? i'm using windows 7. help please? thanks!
This was the scenario:
The first time I updated, it was only my music that was lost.
When I got my music back, I lost my apps.
When I got my apps back, my contacts, notes and photos were lost.
Now I got back everything except for my photos.
(Yes, I restored from backup several times since the first update.)
Do you think if I try restoring from back up, my photos that were taken from my ipod will be restored finally?
Thank you. -
How can I update Camera raw for Photoshop CS5 to access images from Canon Rebel T4i?
How can I update Camera Raw for Photoshop CS5 to access images from Canon Rebel T4i? The updated version of Camera Raw 7 says it only works with CS6. Outside of buying a new Photoshop, is there anything I can do?
Buy Lightroom (much cheaper alternative to Photoshop) - does all your 'Photo-related' tasks. Full version of LightRoom 4 is $149/- - http://www.adobe.com/products/photoshop-lightroom.html
LightRoom 4 supports ACR (Adobe Camera Raw) 7. Once processed with Lightroom, if you still need, you could take the photo in JPG or TIFF format into Photoshop CS5 for further processing.
Another option is to use Canon Raw Codec that would've come with your camera's box to process the RAW images and then take them into Photoshop. -
How can i update io7 for my ipod touch\
How can i update ios7 for my ipod touch.
No.
As Apple said in June, iOS 7 is not compatible with the 4G iPod.
All the iOS devices compatible (iPhone 4 and later, iPad 2 and later, and 5G iPod touch) with iOS 7 have at least 512 MB of memory (RAM). The 4G iPod only has 256 MB
Maybe you are looking for
-
I am running a laptop with windows 7 and am trying to use the save as feature in Photoshop CS6 and it wont let me save as anything. Can someone please help me with this?
-
Hi, I just had this new BB 8530 for a few hours from the Verizon store. I love it and it seems have a lot better than my old BB 8330. Got home, I plug the BB 8530 to the computer, using BB Desktop Manager to transfer my contacts and calendar, then it
-
How do I delete error message that says "unable to purchase certain book and 4 others". Have reset account ant credit info. any ideas?
-
Hi, During the locking of the table, i want to lock only the fields but not the entire table. So, in this what are the fields that shld be locked, i.e. 1) do i need to lock all the fields for which i want to modify based on key fields or 2) do i need
-
I am a 21 year old college student at GVSU in MI. My major is MIS and Marketing. So i had a sales project presentation do and I presented my idea for a new utility app for the apple phone. Everyone was stunned with my idea even my professor who owns