(updated)UIScrollBar and my own class. Can they works together?

Hi Eone,
i'm implementing a uiscrollbar in a class of mine that extends textfield. Unluckly it gives to me  a lot of 1120 error, undefined property, in each row i use a property of this component (except the constructor).
I read somewhere that As2 not allow to use uisbar in other type of class that extends movieclip or textfiled or you know what...
It's the same in As3?
EDIT:
I found a solution. Some method an properties of UISB can be used in the cvlass (like, contructor, update, target). Some otherelse not. So the other can be used only when i do an instance of my own class, like properties of the instance. Ex:
textfield.UISB.x = 100;
textfield: instance of my class
UISB: scrollbar declared within my class
x= properties defined only instancing my class

You need to read the basics about Swing events.
For starters, you do not implement listeners in your Applet class. Instead, you add new listeners to specific components that you want to listen on. For example, if you need to perform certain actions when a JComboBox's selection changes, you would do something like:
my_combo.addActionListener(  new ActionListener() {
    public void actionPerformed(ActionEvent e) {
        System.out.println("selection changed to: " + my_combo.getSelectedItem());
});And for buttons:
my_button.addActionListener( new ActionListener() {
    public void actionPerformed(ActionEvent e) {
        System.out.println("You clicked " + ((JButton) e.getSource()).getText() " button);
}MoustListener and other listeners can be similarily added. See JDK Documentation or Tutorials

Similar Messages

  • I have an Apple id and an icloud idea, do they work together?

    I just got a new laptop, I downloaded icloud and it told me to make an icloud acount. My apple account is just a user name not an e-mail. icloud wnated me to use an e-mail for the username so now I have two accounts, and apple id and an icloud id. Can these work together? I would like to backup my music and what not to icloud because when I sync my iphone to my new computer it wants to delete all the stuff. Though when I open icloud on my computer I dont see anything about music or apps. I'm just very confused about how all this works. All I want to do is put music on my iphone from my new computer without losing all the stuff I have now. I don't get how icloud works either.

    Did you already activate iCloud on your IOS device using that same apple ID?
    "To create an iCloud account you need an iPhone, iPad or iPod touch with iOS 5, or a Mac with OS X Lion v10.7"

  • I have 1 old coputer and 1 new 2 different versions of itunes. can they work together. ie can I use the new one to update our iphones and such and if so will our older itunes version8.2 get changed or lost?

    We have two computers. One is older and one is newer. The older has itunes on it (version 8.2) and can no onger update. We want to install itunes on our newer computer to allow us to update our iphones. Can we install 10.2 on the newer computer and use it for updates and such without affecting the older computer? Will my wife be able to still play her music from her older computer and if we buy new music will it upload to both computers.
    Example if she buys ten more songs on her computer(older one) will it automatically upload them to the newer computer when we turn it on? And if I buy a song on the newer computer would it show up on her older version of itunes or not?

    Have a look here...
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • AppleTV and iChat: can they work together?

    Right now when I use iChat, I hook my the video out of my laptop up to my HDTV and the audio to my stereo. So far it's worked great.
    I was hoping that AppleTV would let me do that a bit more easily. Does anyone know if that will be possible with AppleTV

    Hi James,
    It will depend on whether it is software on the TV that calls the Computers iTunes and iPhoto libraries or whether it is just a point to plug the Computer to something that can display on a TV screen.
    I am reading it as the latter.
    11:23 PM Sunday; January 14, 2007

  • IMovie and Canon FS100 Camcorder - will they work together?

    Hi! A MacUser since 1989, and using a digital camera for stills and videos since 2004 - +but really have done next to nothing with a true "camcorder".+
    I'm considering a Canon FS100 camcorder which records onto SD and SDHC cards (but has no internal memory / storage).
    *But my concerns are this:*
    1. How to transfer from the SD cards to my Mac? (currently 10.4.11 but likely 10.5 in a month or so)
    2. If I purchase the camcorder in the USA it is apparently set for NTSC - i.e. I can only play back from the camera to an NTSC television - but I travel in the US, live in Europe (PAL) -- is there no "switch" to choose either the recording or the playback mode (like there is with my iPod Touch- for playback that is).
    3. What about "still photos" that I take with the FS100? Are they .jpg files? Can iPhoto handle them?
    4. Indeed what about iPhoto: Can it import all the videos and photos from an FS100??
    Again, this is all real "new new" to me; and I don't want to buy/carry 2 camcorders (an NTSC and a PAL!!!) --
    Any help or reference guides etc really appreciated. The big trip is not tomorrow, so I've got some time here.
    Thanks! Steve Schulte
    Saturday 2 August 2008 at 17:37

    Hi there Stephen,
    I feel so lucky that I stumbled into a great file management scheme with my Canon HF100 and I can also report that before that I tried an FS100 and the same procedure for a week before I got this camera. I picked up this method on a thread on MacRumours, I believe.
    Without the inconvenience of needing the AC power adapter plugged in to download files direct from the camera, simply use a USB card reader to read directly from the card. The card will mount as a device labeled "Canon" and inside that is a single directory labeled "Private". Inside that is the one you want, labeled "AVCHD". Create a disc image just a little larger than this file and drag the "AVCHD" file over to the disk image. Name the disk image to suit, such as place/date. Both iMovie 08 and FCE recognize the mounted image as a camera and import the footage just fine. Not quite PNP, but this procedure is so smooth that I'm almost surprised that this video n00b could get it going so well If you are in a hurry you can just drag the file to a folder named similar to what you will name the disk image to keep them sorted and do the disk images later on.
    I use 8 gig SDHC cards so that I can archive each full card's AVCHD file's disk image on a dual layer DVD. I leave the images on a hard drive as well, but won't be shy about deleting less precious ones and using the DVD's only for storage. The images will mount directly from the DVD and import easily too.
    This weekend I upgraded from 10.4.10 to 10.5.4, installed FCE, and was able to mount a disc image and import the files as easily as before.
    But of course, you need an Intel Mac do work with the AVCHD files....
    Hope this helps!
    Cheers!
    Glen

  • IMac G5 PPC Using OS X 10.4.10 & OS X Classic Mode--Can They Work Together?

    I do not have a system folder for OS 9 on my hard drive and an Apple technician said I cannot run OS 9 Classic mode on my computer. However, David Pogue's book "Mac OS X Tiger Edition, The Missing Manual" and many of these Apple discussion posts seem to indicate that running Mac OS 9 on my iMac G5 PPC with OS X 10.4.10 should be possible. Would someone be able to help me? Can I run the Classic mode and, if so, how would I get the necessary stuff into my computer? I still have my original Mac OS X Tiger (includes Xcode 2) Install DVD version 10.4. Thanks!

    Hi, Mark. You may have misunderstood the Apple technician. I hope so, because if he said what you thought he said, he was dead wrong. You can indeed run old OS 9-based applications in Classic mode on your G5, if you use the Classic-support installer you'll find on one of the discs that came with the computer to install a suitable OS 9 System Folder on your hard drive. What you can't do on the G5 is run OS 9 *as an operating system*, without OS X running at all. Classic mode uses a slightly modified version of OS 9 as a sort of super-application or "shell" within which older, non-OSX-native applications can run under OS X.
    Check the "Read before you install" file(s) on your original iMac OS Installer Disc 1 for instructions on installing Classic support from that disc or set of discs.

  • Two ISP´s, can they work together ?

    Hi people,
    Thing is, I have two ISP´s in my LAN with diferent routers (two diferent gateways), then , I need to use the second one only like a backup, I typed a secondary ip route with a diferent weitgh in another internal router which is my default gateway but, it does not work fine.
    I was trying with route-maps but I did not find how to apply them in that case.
    If somebody can help me about that issue
    will be very useful.
    Any link, any idea please
    Thanks in advanced
    Martin

    Yes you can do that.
    You can use HSRP for this and then you don't need to put floating static route.
    hope this help

  • I had an imap account in my iPad and my iPhone 4. They worked just fine till about Christmas. They act like they are checking the mail and it shows there is mail to come in, but it just goes back to saying checking mail.  Can't send mail either.

    I had an imap account in my iPad and my iPhone 4. They worked just fine till about Christmas. They act like they are checking the mail and it shows there is mail to come in, but it just goes back to saying checking mail.  Can't send mail either.

    Update to above question:
    Hello All,
    To anyone with the same problem described above, on THEIR iPad (if it is running iOS 7.0.2):
    Go to Settings; Mail, Contacts, Calendars; DELETE your *******@btinternet.com e-mail account, that you originally set up either using 'Other', or the 'BT' option which I am sure was in the list previous to the iOS 7 update.
    Then ADD a NEW account choosing YAHOO from the list of options. DO NOT USE 'OTHER'.
    Enter the correct details just as you (almost certainly) had already done in your previous attempts using 'other'.
    When you see the 'verifying......' and 'the blue ticks' you should be able to exit settings and open your mail app and then receive all your 'old' e-mails again, AND be able to SEND as well.
    All my 'old' e-mails, were NOT found in the 'old e-mail' folder though. THEY are still in my inbox.
    So this fix worked for me.
    After I deleted my account from 'OTHER' and put it in Yahoo, I like other people also ended up with more folders.
    I hope this works for you on YOUR Apple devices.
    Bob

  • I inadvertently deleted all the mail in my in box and emptied trash. Can they be retrieved?

    I inadvertently deleted all the mail in my in box and emptied trash. Can they be retrieved?

    Data Recovery – Best
    Data Recovery – Disk Drill
    Data Recovery – Data Rescue
    Data Recovery – File Salvage
    Data Recovery – Stellar Phoenix
    Data Recovery - uFlysoft
    Data Recovery - Recovering Deleted Files
    Data Recovery - Recovering Deleted Files (2)

  • HT2476 I got my Macbook Pro from another user (different apple id) and now i'm not able to update iPhoto and iMovie. What can i do?

    I got my Macbook Pro from another user (different apple id) and now i'm not able to update iPhoto and iMovie. What can i do?

    You need to contact Apple and transfer that computer, the serial number, into your name and your Apple ID. Then you should be able to update the included Apple Apps from the App store. No need to Re-buy them again.
    Caveat to the above.
    If your Mac did not originally come with Lion Preinstalled, early releases of early 2011 models and older, and originally had Snow Leopard installed the original owner should of supplied the Mac OS X System Discs with the system. If that person didn't you should order them from Apple at a small fee, and don't lose them.

  • I have a desktop and a laptop. Can they both be under the same creative cloud membership?

    I have a desktop and a laptop. Can they both be under the same creative cloud membership?

    Yes.
    See http://www.adobe.com/products/creativecloud/faq.html#getting-started
    "Can I use the software I download from Creative Cloud on multiple computers?
    Yes, you can install and activate Creative Cloud desktop applications on two computers, regardless of operating system, for the individual associated with the Creative Cloud membership. See the product license agreements page for more information."

  • I bought 2 domain names:   Can they work on one MobileMe account?

    Hello
    My main domain is: http://www.greenpointcity.com
    which i bought last year and my site is up and running. All is well.
    Now i bought 2 more domain names:
    nammbuzz.com
    nambuzz.com
    Can they work on one MobileMe account?
    I want both these domain names to link up to a specific page on my greenpointcity.com site and its not working.
    The specific page, URL is:
    http://www.greenpointcity.com/GreenPointCity/NammBuzz/NammBuzz.html
    I keep getting an i-disk password message. When i enter:
    nammbuzz.com
    nambuzz.com
    in the browser
    I did everything Go-daddy told me to do. Still no luck.
    In my MobileMe account my Domain is set to: "greenpointcity.com"

    Now i bought 2 more domain names:
    nammbuzz.com
    nambuzz.com
    Can they work on one MobileMe account?
    Only if you point them using URL Forwarding.
    http://www.greenpointcity.com/GreenPointCity/NammBuzz/NammBuzz.html
    In the form for URL Forwarding, try typing in http://web.me.com/username/GreenPointCity/NammBuzz/NammBuzz.html
    (putting in your own username of course).
    http://discussions.apple.com/message.jspa?messageID=9367382#9367382

  • FCP 7 and Motion 5, do you know if they work together?

    If one wants to keep editing in FCP 7 but also wants to use Motion 5, do you know if they work together and can send things easily back and forth between the two like FCP 7 and Motion 4?
    Also, does Motion 5 over write Motion 4? Thanks

    On my system, all the old apps were indeed transferred to the new 'applications/Final Cut Studio' folder (including Color, Sountrack Pro, DVD Studio Pro and so on). It didn't say that so I missed it at first.
    You may want to make backup copies on your mac before installing the new apps just to be on the safe side, though.
    After installing the new versions, you can still use Motion 4, Compressor 3.5 and FCP 7 out of the backup folder.
    Compressor 4 will work with mov files (both self contained and referenced) created from FCP 7. I haven't tried to send a timeline from FCP 7 to Compressor 4 yet but since so little has been changed in Compressor 4 I guess that will also work.
    Anyway, you could always go back to Compressor 3.5 if needed.

  • Ear Sir: Yesterday on 18.09.2014 evening, I wanted to install IOS 8.0 according to your instructions iPhone 5S.during installation Stopped working and was closd, I can not work with him. Ibought it in the United States Apple Store Fifth 40venue 767 N

    Dear Sir: Yesterday on 18.09.2014 evening, I wanted to install
    IOS 8.0 according to your instructions iPhone 5S.during installation
    Stopped working and was closd, I can not work with him. Ibought it in
    the United States
    Apple Store Fifth 40venue 767 New York NY1053
    iPhone 5s Spase Gray 32 gb verizon.
    Part Number: ME344ll / A.
    Serial number: DN*******NjM.
    Model A1533. I would like to request a new password for opening the
    iPhone.  Passwod..... Thank you very much,
    Im not difficult for you to request a quick answer.Israel.
    <Personal Information Edited By Host>

    We are fellow users here on these forums, you're not talking to iTunes Support nor Apple - it looks like somebody has asked the hosts to remove your personal info from your post (it's not a good idea to post any personal info on any public forum).
    What do you 'stopped working and was closed, I can not work with him' ? What exactly are you seeing on the phone's screen ?
    If it's the activation screen and you can't remember your password for your account then see if you can get it reset via http://iforgot.apple.com

  • Ipod and external Hard drive don't work together

    I got a dell optiplex gx260 which has 6 2.0 USB ports. My IPod (80GB classinc) library is stored on external HDD. When I connect my HDD to the comp and point iTunes to the HDD library everything is good and I see my songs. As soon as I connect iPod it shows up “unknown device” in a device manager. If I disconnect HDD and connect iPod only windows finds it OK, but as soon as I plug HDD back in iPod disappears. I’ve tried reinstalling sys and inf files, pointing towards updated drivers and all nothing still the same thing, tried every port and every combination on the computer USB ports still the same thing iPod and HDD don’t want to work together. Please advice, thanks.

    I got the same problem here but not just with IPod. When I power up my external disk (with aux power supply) my usb stick (or IPod or printer or scanner or other devices) on other ports get disconnected. All devices did work toghether some months ago.
    I think this is related to a hardware problem. Things began to fail, when I tried to co-supply 5V to a device connected to my usb bus. I possibly toasted some logic on the motherbord.
    Testing your hardware on a second system may help you. Or have a look if a USB stick instead of IPod gets disconnected too. This may prove that its not IPod related.
    Good luck

Maybe you are looking for