Lines in applets again....    not quite what i was looking for.

ok. when i say i want it to free draw i mean not just printing lines to the screen, know how to do that. i want to use the mouse to be able to draw a line by pressing and releasing it within the applet window. ie.the pencil tool in microsoft paint.
any ideas? heres the code i've got so far. kinda stuck now though.
// import stuff
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
//main class creation
public class PaintProg extends Applet implements MouseListener, MouseMotionListener,ActionListener {
Button scribble = new Button ( "Scribble" );
Button clear = new Button( "Clear Image" );
Choice shape_choice;
private int xLeft=10, yTop= 50, size=100;
private int x=0, y=0;
private int oldX = 0;
private int oldY = 0;
// button and menu creation
public void init()
setBackground(Color.white);
add( scribble );
add(clear);
shape_choice = new Choice();
shape_choice.addItem("Shape");
shape_choice.addItem("Square");
shape_choice.addItem("Circle");
shape_choice.addItem("Line");
add(shape_choice);
scribble.addActionListener(this);
clear.addActionListener(this);
public void paint (Graphics g) {
public void mouseClicked (MouseEvent event){
x=event.getX();
y=event.getY();
if (x>=xLeft && x<=xLeft+size && y>=yTop &&
y<=yTop+size){
repaint();
public void mouseDragged(MouseEvent event) {
int x,y;
Graphics g = getGraphics();
x = event.getX();
y = event.getY();
g.drawLine(oldX, oldY, x, y);
oldX = x;
oldY = y;
public void actionPerformed(ActionEvent evt) {
if (evt.getSource() == scribble)
{ //code to carry out actions for scribble
System.out.println("scribble");}
else if (evt.getSource() == clear)
{ //code to carry out actions for clear
System.out.println("wibble");}
else if (evt.getSource() == "Square")
{ //code to carry out actions for square
System.out.println("dribble");}
else if (evt.getSource() == "Circle")
{ //code to carry out actions for circle
else if (evt.getSource() == "Line")
{ //code to carry out actions for line
System.out.println("pibble");}
public void mouseReleased (MouseEvent event) {}
public void mousePressed (MouseEvent event) {}
public void mouseEntered (MouseEvent event) {}
public void mouseExited (MouseEvent event) {}
public void mouseMoved (MouseEvent event) {}

It's not anapplet but it will help:
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.*;
public class PaintProg extends JFrame
     mySky sky = new mySky();
public PaintProg() 
     setBounds(3,10,660,370);
     addWindowListener(new WindowAdapter()
     {     public void windowClosing(WindowEvent ev)
          {     dispose();
               System.exit(0);
       setContentPane(sky);
     setVisible(true);
public class mySky extends JPanel implements  MouseMotionListener
     Vector points = new Vector();
     boolean stam  = true;
public mySky()
     setCursor(new Cursor(Cursor.CROSSHAIR_CURSOR));
     addMouseMotionListener(this);
     setBackground(Color.black);     
public void paintComponent(Graphics g)
     super.paintComponent(g);
     g.setColor(Color.white);
     Graphics2D g2 = (Graphics2D)g;
//     g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);          
     if (points.size() > 0)
          Point p0 = new Point();
          for (int i=0; i < points.size(); i++)
               Point p1 = (Point)points.get(i);
               if (p1.x == -1)
                    p0.setLocation((Point)points.get(i+1));
               else
                    g2.drawLine(p0.x,p0.y,p1.x,p1.y);
                    p0.setLocation(p1);
public void mouseDragged(MouseEvent m)
     if (stam) points.add(new Point(-1,-1));
     stam = false;
     points.add(m.getPoint());
     repaint();
public void mouseMoved(MouseEvent m)
     stam = true;
public static void main (String[] args) 
     new PaintProg();
}      Noah

Similar Messages

  • Why when I select a web site to go to it redirects it to something not even related to what I was looking for

    I have a gray bar under most visited sites that has a yahoo logo to the left and then a square with a x inside of it. when you type in the search bar, like sr-71 click search it will display websites to select from. then when you select one of those it starts coming up with all these adds, videos and etc. I have tried every thing to get rid of this. I am very upset with this problem.
    If I go to my bookmarks and select a site I have saved it goes right to it.
    What is this and how do I stop this.
    I need detailed instructions for this. Charles Storie

    Do a malware check with a few malware scan programs.
    You need to use all programs because each detects different malware.
    Make sure that you update each program to get the latest version of the database before doing a scan.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    # Shockwave Flash 10.0 r22
    # Java Plug-in 1.5.0_06 for Netscape Navigator (DLL Helper)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • HAD ENOUGH - NOT GETTING WHAT I WAS CONTRACTED FOR...

    I have unlimited broadband and calls.
    I have previously had free text messaging and therefore not been charged.
    Indeed it shows on previous bills as being free. I send about 40 texts a month.
    I noticed that I was being charged in October bill lfor text mesaaging and called BT - I have called BT numerously previously in the last 4 weeks and was told that it was an error and I would be refunded. This took about 3 hours on the phone and about as long online chatting. I thought that was it.
    I went online today to check my bill and found that I was still being charged and no refund.
    I have spent 2 hours+ on the phone, being told that :
    I needed to talk with repairs and was passed to them only to be told that it wasnt their deparment and was passed back to billing. Billing passed me onto someone else and so it went on only to be passed back to billing.
    Billing then tell me that even though I should get free texts I will have to pay 10p for each text!!!
    I told them that when I took out my contract it included 200 free texts. I was then told that my contract had changed and it no longer included free texts.
    I have anytime calls and unlimited broadband and at the time I took it out it included 200 free texts a month.
    I have got no were in 4 weeks each time I try I get passed from one person to another each telling me different things.
    Can someone please tell me how to sort this out? I have had enough.
    Do I get 200 free text message as per my contract or dont I?
    If my contract has been changed why wasnt I told?
    Who do I talk with that can help me sort thsi out?

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum.
    Once you get a reply, if you click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail within 5-6 working days.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • My iMac crashes and reboots 9/10 times when Iog off an account. I looked at the Console for a log but I am not sure what I am looking for. What is the best way to try to find what is causing this?

    Hello,
    I have an issue where my iMac crashes and reboots 9/10 times when I log my wife's account off. I'd like to get it resolved as it is very annoying. We switch between accounts all the time and everytime it crashes I lose a bunch of info from my account. Can anyone help me understand how to fix this issue?
    After the reboot a window tells me that my system has recovered from a seriour issue (sounds much like Window$ to me...) and a crash report is show:
    Sun Nov  3 11:03:50 2013
    panic(cpu 3 caller 0xffffff8022edc19e): Kernel trap at 0xffffff80231d38ae, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000170, CR3: 0x000000042a49c043, CR4: 0x00000000000606e0
    RAX: 0xffffff8046d5f590, RBX: 0x0000000000000000, RCX: 0x00000000031f0000, RDX: 0xffffff8044427800
    RSP: 0xffffff81f4343870, RBP: 0xffffff81f4343880, RSI: 0x0000000000000000, RDI: 0xffffff8044427800
    R8:  0xffffff80655b0c00, R9:  0x0000000000000000, R10: 0xffffff81f4343780, R11: 0xffffffffffffffff
    R12: 0xffffff80655b0c00, R13: 0xffffff80461be808, R14: 0x0000000000000000, R15: 0x0000000000000002
    RFL: 0x0000000000010246, RIP: 0xffffff80231d38ae, CS:  0x0000000000000008, SS:  0x0000000000000000
    Fault CR2: 0x0000000000000170, Error code: 0x0000000000000000, Fault CPU: 0x3
    Backtrace (CPU 3), Frame : Return Address
    0xffffff81f4343500 : 0xffffff8022e22f69
    0xffffff81f4343580 : 0xffffff8022edc19e
    0xffffff81f4343750 : 0xffffff8022ef3606
    0xffffff81f4343770 : 0xffffff80231d38ae
    0xffffff81f4343880 : 0xffffff7fa37fcf61
    0xffffff81f43438b0 : 0xffffff7fa37fd6a8
    0xffffff81f43438f0 : 0xffffff80231b38f4
    0xffffff81f4343950 : 0xffffff80231bc5e4
    0xffffff81f43439a0 : 0xffffff80231bc2e5
    0xffffff81f4343a00 : 0xffffff80231ca2d1
    0xffffff81f4343f50 : 0xffffff802323de23
    0xffffff81f4343fb0 : 0xffffff8022ef3e06
          Kernel Extensions in backtrace:
             com.webroot.driver.SecureAnywhere(104.0)[4516877C-BD60-3F95-93D2-D2A9EC8F0A00]@ 0xffffff7fa37fb000->0xffffff7fa37fffff
                dependency: com.apple.iokit.IOHIDFamily(2.0.0)[1185D338-98A5-345E-84F8-E59DF819A61B]@0xffff ff7fa3776000
    BSD process name corresponding to current thread: loginwindow
    Mac OS version:
    13A603
    Kernel version:
    Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
    Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
    Kernel slide:     0x0000000022c00000
    Kernel text base: 0xffffff8022e00000
    System model name: iMac12,2 (Mac-942B59F58194171B)
    System uptime in nanoseconds: 196008980876705
    last loaded kext at 71419521029131: com.apple.driver.AppleUSBCDC          4.2.1b2 (addr 0xffffff7fa5341000, size 20480)
    last unloaded kext at 71479557418411: com.apple.driver.AppleUSBCDC          4.2.1b2 (addr 0xffffff7fa5341000, size 16384)
    loaded kexts:
    com.webroot.driver.SecureAnywhere          104
    com.logmein.driver.LogMeInSoundDriver          1.0.0
    com.apple.filesystems.smbfs          2.0.0
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AGPM          100.14.11
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleBluetoothMultitouch          80.14
    com.apple.iokit.IOBluetoothSerialManager          4.2.0f6
    com.apple.driver.AppleMikeyHIDDriver          124
    com.apple.driver.AudioAUUC          1.60
    com.apple.driver.AppleUpstreamUserClient          3.5.13
    com.apple.driver.AppleHDA          2.5.2fc2
    com.apple.kext.AMDFramebuffer          1.1.4
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.AMDRadeonX3000          1.1.4
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport          4.2.0f6
    com.apple.driver.AppleMikeyDriver          2.5.2fc2
    com.apple.driver.AppleIntelHD3000Graphics          8.1.8
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleHWAccess          1
    com.apple.driver.AppleSMCLMU          2.0.4d1
    com.apple.kext.AMD6000Controller          1.1.4
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.driver.AppleBacklight          170.3.5
    com.apple.driver.AppleMCCSControl          1.1.12
    com.apple.driver.AppleIntelSNBGraphicsFB          8.1.8
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleLPC          1.7.0
    com.apple.driver.AppleThunderboltIP          1.0.10
    com.apple.driver.AppleIRController          325.7
    com.apple.iokit.SCSITaskUserClient          3.6.0
    com.apple.driver.AppleUSBCardReader          3.3.5
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          35
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.4.0
    com.apple.driver.AppleUSBHub          650.4.4
    com.apple.driver.AirPort.Atheros40          700.74.5
    com.apple.driver.AppleFWOHCI          4.9.9
    com.apple.iokit.AppleBCM5701Ethernet          3.6.9b9
    com.apple.driver.AppleAHCIPort          2.9.5
    com.apple.driver.AppleUSBEHCI          650.4.1
    com.apple.driver.AppleACPIButtons          2.0
    com.apple.driver.AppleRTC          2.0
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleSMBIOS          2.0
    com.apple.driver.AppleACPIEC          2.0
    com.apple.driver.AppleAPIC          1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient          216.0.0
    com.apple.nke.applicationfirewall          153
    com.apple.security.quarantine          3
    com.apple.driver.AppleIntelCPUPowerManagement          216.0.0
    com.apple.kext.triggers          1.0
    com.apple.driver.IOBluetoothHIDDriver          4.2.0f6
    com.apple.driver.AppleMultitouchDriver          245.13
    com.apple.iokit.IOSerialFamily          10.0.7
    com.apple.driver.DspFuncLib          2.5.2fc2
    com.apple.vecLib.kext          1.0.0
    com.apple.iokit.IOAudioFamily          1.9.4fc11
    com.apple.kext.OSvKernDSPLib          1.14
    com.apple.iokit.IOSurface          91
    com.apple.iokit.IOAcceleratorFamily          98.7.1
    com.apple.iokit.IOBluetoothHostControllerUSBTransport          4.2.0f6
    com.apple.iokit.IOBluetoothFamily          4.2.0f6
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.kext.AMDSupport          1.1.4
    com.apple.AppleGraphicsDeviceControl          3.4.12
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.AppleSMBusController          1.0.11d1
    com.apple.driver.AppleSMBusPCI          1.0.12d1
    com.apple.driver.AppleHDAController          2.5.2fc2
    com.apple.iokit.IOHDAFamily          2.5.2fc2
    com.apple.iokit.IONDRVSupport          2.3.6
    com.apple.iokit.IOGraphicsFamily          2.3.6
    com.apple.driver.AppleSMC          3.1.6d1
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.IOPlatformPluginFamily          5.5.1d27
    com.apple.driver.AppleThunderboltEDMSink          1.2.1
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.6.0
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.driver.AppleUSBHIDKeyboard          170.15
    com.apple.driver.AppleHIDKeyboard          170.15
    com.apple.iokit.IOAHCISerialATAPI          2.6.0
    com.apple.driver.AppleThunderboltDPOutAdapter          2.5.0
    com.apple.driver.AppleThunderboltDPInAdapter          2.5.0
    com.apple.driver.AppleThunderboltDPAdapterFamily          2.5.0
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.4.0
    com.apple.iokit.IOUSBHIDDriver          650.4.4
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.6.0
    com.apple.iokit.IOUSBMassStorageClass          3.6.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.6.0
    com.apple.driver.AppleUSBMergeNub          650.4.0
    com.apple.driver.AppleUSBComposite          650.4.0
    com.apple.driver.AppleThunderboltNHI          1.9.2
    com.apple.iokit.IOThunderboltFamily          2.8.5
    com.apple.iokit.IOUSBUserClient          650.4.4
    com.apple.iokit.IO80211Family          600.34
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOEthernetAVBController          1.0.3b3
    com.apple.driver.mDNSOffloadUserClient          1.0.1b4
    com.apple.iokit.IONetworkingFamily          3.2
    com.apple.iokit.IOAHCIFamily          2.6.0
    com.apple.iokit.IOUSBFamily          650.4.4
    com.apple.driver.AppleEFINVRAM          2.0
    com.apple.iokit.IOHIDFamily          2.0.0
    com.apple.driver.AppleEFIRuntime          2.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          278.10
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.AppleKeyStore          2
    com.apple.driver.DiskImages          371.1
    com.apple.iokit.IOStorageFamily          1.9
    com.apple.iokit.IOReportFamily          21
    com.apple.driver.AppleFDEKeyStore          28.30
    com.apple.driver.AppleACPIPlatform          2.0
    com.apple.iokit.IOPCIFamily          2.8
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.pthread          1
    com.apple.kec.corecrypto          1.0

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • If the app wasn't what I was looking for and I payed can I get my money back?

    I bought an application to download free music I found very complicated, and I want to deleted but first I want to know if I can get my money back for which I payed for the app.

    The best way to find out if you are eligible for a refund would be to use Apple's Express Lane option. You fill out the form and they send you a reply and possibly the refund.
    https://expresslane.apple.com/GetproductgroupList.action;jsessionid=3YCjQGLDw2Jh LgTYFDbm6tNRJdw9nDNQZpLQQRphnmSTvSLpKX19!-714128999

  • Slow speed issue not getting what i was promised

    Hi
    After having no luck no the phone and feeling like i was fobbed off i was wondering if anyone can help here.
    I had BT infinity 2 installed 2 weeks ago and have never received over 40MEG when i was promised between 59.9 and 79.9.
    I rung up on Saturday and i was told a engineer would look at the line and call me back. After recieving no call back i rung today and was told that 40 was the expected speed of the line.... even tho when i purchased BT infinity 2 i was told and have in writing on my receipt that i would get speeds of 59-79.
    I now look on the BT site and notice that if i put in my postcode on the website it now says i should get between 35-45.
    When the engineers installed it they did seem like they where here for a while and maybe relalised they couldn't give the speeds that they originally promised me.
    Im really not happy as i was still promised the higher speeds of 59-79, its more the upload that i wanted as i was promised 19-20 and am getting 7 currently.I have been told to ring back in 48 hours again if speed doesn't increase which i know it wont as it hasn't in the past 2 weeks.
    Feeling a bit like i shouldn't have joined BT as i am not getting what i am paying for. Can any of the mods help with this issue?

    HI
    Thanks for thr reply. Find attached:
    Featured ProductsDownstream Line Rate(Mbps)Upstream Line Rate(Mbps)Downstream Range(Mbps)Availability Date  High Low High Low    
    FTTC Range A (Clean)
    50.7
    35.2
    12.4
    7.8
    Available
    FTTC Range B (Impacted)
    43.6
    23.9
    12.4
    6.1
    Available
    WBC ADSL 2+
    Up to 8
    6.5 to 14
    Available
    WBC ADSL 2+ Annex M
    Up to 8
    Up to 1
    6.5 to 14
    Available
    ADSL Max
    Up to 6
    5 to 8
    Available
    WBC Fixed Rate
    2
    Available
    Fixed Rate
    2
    Available
    Other Offerings
    Fibre Multicast
    Available
    I currently get a test error when i try the further diagnostics on the second link, ill try again shortly and post back results.

  • Macbook pro will not save what I was working on when in sleep mode

    Everytime my computer goes into sleep mode or battery dies, it does not remember what I was last working on. It starts all over again

    Open a TextEdit window and type something. Quit the application and relaunch it. Does the window open with the text you entered?

  • By using Inspector, i found the way to create and insert a scrolldown list ; however the list has to be created from  inserting each line at a time; what i am looking for is a way of creating a scrolldown  large(30 to 100 lines) list.

    By using inspector, i found a way to create and insert a scrolldown list (*) in a cell ; however it can only be done one line at a time .what i am looking for is to create a bigger scrolldown list ( from 30 to 100 lines ) and in excel we can do it by copy and paste from an other doc...there must be a way with Numbers !!! any ideas ?
    (*)...go to inspector/4th icon to he left/format/local menu/and then input the list one by one...and it creates a scrolldown list where you cursor was located in numbers.
    please help....

    If you need to use this kind of objects, my guess is that it would be better to use an other application like libreOffice.
    At an user request, I wrote an AppleScript grabbing the list from a table embedded in the Numbers document.
    Here is an enhanced version.
    --{code}
    --[SCRIPT fake-scrolldown-list]
    Enregistrer le script en tant que Script : fake-scrolldown-list.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Bibliothèque:Scripts:Applications :Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner une cellule dans une table d'un document Numbers.
    Aller au menu Scripts , choisir Numbers puis choisir “fake-scrolldown-list”
    Le script extrait la liste d'articles de la table « la_liste » de la feuille contenant la table ci-dessus.
    Il demande de choisir un article puis dépose celui-ci dans la cellule sélectionnée.
    ATTENTION : À la demande d'un utilisateur, Le script utilise un nom de table localisé.
    Je n'aime pas cela parce que de ce fait, lorsque le script est utilisé sur un système Français,
    il requiert une table nommée "la_liste" mais lorsqu'il est utilisé sur un système Anglais il requiert la table "the_list".
    --=====
    L’aide du Finder explique:
    L’Utilitaire AppleScript permet d’activer le Menu des scripts :
    Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case “Afficher le menu des scripts dans la barre de menus”.
    Sous 10.6.x,
    aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
    puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
    --=====
    Save the script as a Script: fake-scrolldown-list.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select a cell in a table of a Numbers document.
    Go to the Scripts Menu, choose Numbers, then choose “fake-scrolldown-list”
    The script extract the list of allowed items from the table “the_list” which must sit in the same sheet that the table embedding the selected cell.
    It urge to choose an item then insert it in the selected cell.
    CAUTION : I use different names for the required table according to the language in use on user request.
    I dislike this feature because a document built by a French user sent to an English one will fail.
    On the French system the script ask for the table "la_liste" but it ask for the table "the_list" on an English system.
    --=====
    The Finder’s Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the “Show Script Menu in menu bar” checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/12/31
    --=====
    on run
              local dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2, myListe, maybe
              set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
              tell application "Numbers" to tell document dName to tell sheet sName
    Extract the list of allowed values from the dedicated table *)
                        if my parleAnglais() then
                                  "the_list"
                        else
                                  "la_liste"
                        end if
                        tell table result
                                  set myListe to value of every cell of column 1
                        end tell
                        set maybe to choose from list myListe
    If we select the Cancel button, exit silently *)
                        if maybe is false then error number -128
    Fill the selected cell with the choosed value *)
                        tell table tName
                                  set value of cell rowNum1 of column colNum1 to (item 1 of maybe as text)
                        end tell
              end tell -- Numbers…
    end run
    --=====
    set { dName, sName, tName,  rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    on get_SelParams()
              local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
              tell application "Numbers" to tell document 1
                        set d_Name to its name
                        set s_Name to ""
                        repeat with i from 1 to the count of sheets
                                  tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
                                  if maybe is not 0 then
                                            set s_Name to name of sheet i
                                            exit repeat
                                  end if -- maybe is not 0
                        end repeat
                        if s_Name is "" then
                                  if my parleAnglais() then
                                            error "No sheet has a selected table embedding at least one selected cell !"
                                  else
                                            error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
                                  end if
                        end if
                        tell sheet s_Name to tell (first table where selection range is not missing value)
                                  tell selection range
                                            set {top_left, bottom_right} to {name of first cell, name of last cell}
                                  end tell
                                  set t_Name to its name
                                  tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
                                  if top_left is bottom_right then
                                            set {row_Num2, col_Num2} to {row_Num1, col_Num1}
                                  else
                                            tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
                                  end if
                        end tell -- sheet…
                        return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
              end tell -- Numbers
    end get_SelParams
    --=====
    on parleAnglais()
              local z
              try
                        tell application "Numbers" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    --{code}
    Yvan KOENIG (VALLAURIS, France) samedi 31 décembre 2011
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : http://public.me.com/koenigyvan
    Please : Search for questions similar to your own before submitting them to the community
    For iWork's applications dedicated to iOS, go to :
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • HT201441 Hi I bought a second-hand phone iphone4, I update the software when you want to activate the phone asked for my registration icloud I do not know what is the password for this registration, can you tell me how to go to the next step without such

    Hi I bought a second-hand phone iphone4, I update the software when you want to activate the phone asked for my registration icloud I do not know what is the password for this registration, can you tell me how to go to the next step without such registration in icloud
    my ICCID is 8935905000307066111

    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • Apple TV won't download movies anymore.  it says to go to store and check Purchase history, but everything seems to be in order.  Any idea what I am looking for to fix the problem and download movies again?

    My apple TV will no longer download movies.  It says to go to the Apple Store and check purchase history.  Everything seems to be in order.  Any idea what I am looking for?

    Okay - let's cut to the chase...
    If the Menu Bar (File, Edit... Help) shown in my screenshot below is not visible, use CTRL+B to display it. Then click on Help/Check for Updates. If one is available, you will be able to select it at this time.
    Note the item at the bottom of the list; About iTunes. Selecting that will show you which version of iTunes you are using.
    An alternative method to display the Menu Bar is click on the box in the top left of your iTunes window...

  • I'am using iphone 5 i tried to update the ios 8.0.2 using the shift key in itunes update @ windows 8 i have the file which i downloaded, but it says that firmware version is not compatible. what can i do for it . help me friends

    i'am using iphone 5, i tried to update the ios 8.0.2 using the shift key in itunes update @ windows 8 i have the file which i downloaded, but it says that firmware version is not compatible. what can i do for it . help me friends

    Hello vinoth1986,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning update issues:
    If you can't update or restore your iPhone, iPad, or iPod touch
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Hello, i have buy iphone 6 recently now it is fall down on the ground and any chance to repair buy apple on free of cost if not then what will be price for this

    Hello, i have buy iphone 6 recently now it is fall down on the ground and any chance to repair buy apple on free of cost if not then what will be price for this

    santosh7783 wrote:
    and its screen is break down please help me
    iPhone 6 screen replacement is $109 U.S.
    => https://www.apple.com/support/iphone/repair/screen-damage/

  • Lost my i touch and do not know what the settings were for tracking

    I lost my gifted i Touch and do not know what the settings were for tracking.  Can I still get help to locate it?

    If you set up the Find My iPod service prior to the iPod going missing, then there is a chance that can be tracked, though it depends on a number of factors (the iPod is turned on, connected to a WiFi network, and has not had the Find My iPod service disabled). Just log into iCloud.com and go to the Find My iPhone section. If you did not set up Find My iPod, then there is no way to track it.
    Contact the police, give them any location information you get from Find My iPhone if you set it up and it returns a location, and notify your cell service provider. You should also immediately change any passwords for any online accounts you may have used from your iPod (the iTunes Store, for instance). 
    Regards.

  • HT1688 My Iphone reads "Could not activate iphone" My computer doesn't give the option to restore it. I am not sure what carrier it is for, either.

    I recently bought an Iphone off a woman at work. She had just bought it for her daughter to listen to music on and play games. She said it was showing the "connect to itunes" symbol. When i got it, i hooked it to my computer and Itunes just tells me the phone cant be activated. Itunes doesn't give me an option to restore the phone. I'm not sure what the carrier is for the phone, but there isn't a slot for a sim card. How can i restore this phone?

    If the iPhone does not include a SIM card slot, this means the iPhone is a Verizon phone.
    Not sure how the daughter of this woman you work with was able to use the iPhone just to play music and games without activating the iPhone with Verizon - if the iPhone was purchased new. None of a new iPhone functions work without activating the iPhone with cellular service. And if purchased new, that was one expensive iPod Touch for her daughter to use if the iPhone was purchased without a contract or the contract was cancelled paying Verizon's early contract termination fee.
    I would return the iPhone to her and get your money back.

  • When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    When you open a new browser tab, underneath the box to type in what you are looking for is the recently visited list. I want to disable or delete this list...how do I get rid of this list???

    The drop-down list displays items from your History and/or Bookmarks.
    You can control what shows (or nothing at all): Options > Privacy, "Location Bar" section. Options are:
    *History and Bookmarks
    *History
    *Bookmarks
    *Nothing
    See --> https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

Maybe you are looking for

  • Help! No Audio Output device is installed

    My speaker in bottom right for My sound say "No Audio Output Device Is Installed" and i have tried to go through many things to solve such as go into device manager and enable or update through there etc...to no avail.   I stumbled across a thing tha

  • CISCO AIR-AP1252AG-E-K9 is keep rebooting with no reason

    Hello I have an cisco AIR-AP1252AG-E-K9  and it reeboots randomly with no aparent reason this is the configuration aaa group server radius rad_eap server 10.10.1.2 auth-port 1645 acct-port 1646 aaa group server radius rad_mac aaa group server radius

  • AQ and VPD support

    Hi All, I am trying to make AQ working with VPD (Virtual Private Database). What I've done is the following. 1. Enqueue some items in the queue with correlation=1 2. Create a VPD rule 'CORRID = 1' against the underlying queue table 3. Try to select a

  • Common procedure call from db trigger.

    hi all, i have one procedure, which is called from most of the db-triggers on tables. while dml operation, db-trigger on table calls this common procedure. while executing this procedure, i want to know currently, it is called from which trigger and

  • Removing fonts

    I'm having font problems with InDesign CS5. I used Font Book to turn off practically everything, but the incorrect font substitution persists. When I looked in the Fonts folder in my Library, I saw that many nonessential fonts are still there. I susp