Unable to draw AP Div from Insert Panel as described in Tutorial "Classroom: Basic Site Layout and Navigation in Dreamweaver"

I tried to perform the draw AP Div from the Insert Panel as described within the Tutorial "Classroom: Basic Site Layout and Navigation in Dreamweaver" but that option isn't available/visible from my most recent update t Dreamweaver CC. The only thing noticeable is that the instructor is using a Mac version of the software. Help!

CS4 is 6+ years old.  A lot has changed in web standards and Dreamweaver since then.
APDivs were never a good or sensible way to make primary layouts.  Today, they are downright impossible in Responsive web designs because content in APDivs is removed from the normal document flow.  See links below for further details on why APDivs should be avoided.
http://www.apptools.com/examples/pagelayout101.php
http://css-tricks.com/css-beginner-mistakes-1/
If you're going to work with DW CC, you need to find tutorials to match your product version.  CS6 is wildly different from CC and CC 2014.
Creating your first web site in DW CC-
https://helpx.adobe.com/dreamweaver/learn/tutorials/how-to/first-website-part1.html
Nancy O.

Similar Messages

  • HT5731 I am unable to delete unwanted songs from my wish list. Does anybody else have this problem and/solution. Thanks

    I am unable to delete unwanted songs from my wish list. Does anybody else have this problem and/solution. Thanks

    I have the same problem, and other people have also posted about it. I assume that there is either a bug with the current version of iTunes and/or that there is a problem at Apple's end

  • Unable to locate Header option under Insert Panel

    Unable to locate Header option under Insert Panel

    CS4 is 6+ years old.  A lot has changed in web standards and Dreamweaver since then.
    APDivs were never a good or sensible way to make primary layouts.  Today, they are downright impossible in Responsive web designs because content in APDivs is removed from the normal document flow.  See links below for further details on why APDivs should be avoided.
    http://www.apptools.com/examples/pagelayout101.php
    http://css-tricks.com/css-beginner-mistakes-1/
    If you're going to work with DW CC, you need to find tutorials to match your product version.  CS6 is wildly different from CC and CC 2014.
    Creating your first web site in DW CC-
    https://helpx.adobe.com/dreamweaver/learn/tutorials/how-to/first-website-part1.html
    Nancy O.

  • Unable to open dolby digital from control panel in G510

    Hi ,
    When i try to open the dolby digital from contol panel i get this error.
    in lenovo g510
    Solved!
    Go to Solution.

    hi shanalikhan,
    The error on the screenshot that you posted usually happens if the version of the audio driver and the dolby digital driver are different. Both of them must use the same driver in order for them to work correctly.
    Try to:
    1. Press the Windows key‌ +R, type appwiz.cpl.msc and press Enter. On the list of installed programs, remove anything that relates toRealtek Audio Driver and Dolby (reboot if necessary).
    2. Delete the C:\Drivers folder Install this audio driver (windows 8 version).
    Audio Driver (Conexant, Realtek) for 64-bit Windows
    3. Open Device Manager > Sound, video, and game controllers and check if the High Definition Audio becomes Realtek High Definition Audio or Conexant High Definition Audio (this indicates that the sound driver is installed properly).
    When the audio driver is properly installed, install the DolbyAdvancedAudio and the DolbyHomeTheater from the following path:
    For Realtek:
    C:\Drivers\Audio\Realtek\6.0.1.6957\PCEE4
    For Conexant:
    C:\Drivers\Audio\Conexant\8.64.49.0\DolbyGUI
    - Link to picture
    More info:
    Dolby Audio driver cannot start after upgrading to Windows 8.1
    Let me know how it goes.
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Firefox 21.0 unable to start offline app from bookmark without fake wifi turn on android 2.2.1 and 2.3.6

    when the android phone is turned off, and then back on again, any desk top icon or bookmark of an web page with a manifest will not work when in airplane mode. You must at least make an attempt to turn on wifi, even an unsuccessful attempt to find a wifi connection will do. Then when you use the book mark or the desktop icon, it will work. I have a series of phones which only have internect connection - no phone company tower connection SAMSUNG-SGH-1997 firmware version 2.2.1 kernel verions 2.6.32.9 FROYO.UCKH1. Contact wih android support only got suggestion to use the google chrome browser, which incidentally does not work on 2.2.1

    Hi,
    I tried starting the server from the console as well as from command prompt. Here I am giving the command below.
    nohup ./startManagedWebLogic.sh bi_server1 t3://machineIP:portNo > bis1_startup.log &
    But each time I got the same exception.
    Korandla

  • Is there any way to subscribe to Creative Cloud from countries that are NOT listed on the Purchase site (Bosnia and Herzegovina)

    I'm from Bosnia and Herzegovina and just recently started a IT StartUp Company with a great success. Now we have the requirements for tools like Adobe Illustrator, InDesign and Photoshop, but still as a StartUp, to buy the full licence is out of question for now.payment.
    The solution would be te CC version with the monthly, but as many other countries, our country is not supported through the Adobe Purchase Page.
    Is there a alternative way to do that.

    Hi there
    Creative Cloud for Teams is available through resellers in your country.
    Thanks
    Bev

  • Running LV application from remote panel which measures FP through different LAN

    My LabVIEW application is running in a PC and it takes measurements from the FieldPoint modules which are connected via the FP-1601 network module.
    I want to view and execute the application from another PC using remote panel option. The master PC has two LAN connections, one seperate connection for the FieldPoint module and the second one to connect with other PCs.
    But the application returns error while initializing the FP modules when executed from remote panel.
    Will the application be able to communicate and take measurements from the FieldPoint module in this case? Please explain.
    Thanks for the help and awaiting earlier response.
    Thank you,
    Rajeswari

    In principle this I believe this is a TCP/IP routing issue.
    If your fieldpoint unit is connected to one card lets say
    Card 01 Host 10.0.0.1 255.255.255.0 ---- Fieldpoint 10.0.0.2 255.255.255.0
    Card 02 Host 168.95.0.1 255.255.0.0 ---- Lan 168.95.x.x 255.255.0.0
    The routing in the host takes care of which card is used for which network segment.
    My guess is that you have not seperated the network segments as shown above.
    Is this correct ?

  • Unable to deploy EJB: CxAccount from apollo_adapter.jar: There is a mismatc

    Hi all
    We are using code compiled on wl8 sp3 on wl6 envt
    Few days it worked fine then suddenly we are getting the below exception while restart of the server .The same code is working fine in other wl6 instance .
    We cleared the cache and tried to restart the server but still getting the same exception.Just was wondering how come the same code works in one envt and gives this exception in other even though both have same environmental settings and DB.This code runs well in wl8 envt.I would appreciate any help in this regard
    Thread: '1' for queue: '__weblogic_admin_html_queue'> <system> <> <160001> <Error deploying application apollo_ejb:
    Unable to deploy EJB: CxAccount from apollo_adapter.jar:
    There is a mismatch between the bean code and generated code.CxAccount . Please rerun ejbc on the bean code.The error was java.lang.NoSuchFieldException
    at java.lang.Class.getField0(Native Method)
    at java.lang.Class.getDeclaredField(Class.java:1113)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMDField(ClientDrivenBeanInfoImpl.java:651)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors(ClientDrivenBeanInfoImpl.java:723)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:813)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1234)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:947)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy22.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Regards
    Niraj

    Hi all
    We are using code compiled on wl8 sp3 on wl6 envt
    Few days it worked fine then suddenly we are getting the below exception while restart of the server .The same code is working fine in other wl6 instance .
    We cleared the cache and tried to restart the server but still getting the same exception.Just was wondering how come the same code works in one envt and gives this exception in other even though both have same environmental settings and DB.This code runs well in wl8 envt.I would appreciate any help in this regard
    Thread: '1' for queue: '__weblogic_admin_html_queue'> <system> <> <160001> <Error deploying application apollo_ejb:
    Unable to deploy EJB: CxAccount from apollo_adapter.jar:
    There is a mismatch between the bean code and generated code.CxAccount . Please rerun ejbc on the bean code.The error was java.lang.NoSuchFieldException
    at java.lang.Class.getField0(Native Method)
    at java.lang.Class.getDeclaredField(Class.java:1113)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMDField(ClientDrivenBeanInfoImpl.java:651)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors(ClientDrivenBeanInfoImpl.java:723)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:813)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1234)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:947)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy22.addDeployment(Unknown Source)
    at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Regards
    Niraj

  • Tomcat unable to read accented characters from MySQL

    Folks,
    Can anyone help with me this problem?
    It seems that my version of Tomcat is unable to read accented characters from my MySQL Database.
    I've checked in the Database and the characters are all correctly represented there. But when, in my servlet code, I do:
    String author = results.getString("author_surname");If the String contains any accented character then the character shows as a '?'. (Even before it gets to the JSP - I'm writing the results straight to catalina.out).
    Looking around these forums I found that some people suggested adding
    ?useUnicode=TRUE&characterEncoding=UTF-8;to the end of my jdbc url. As in:
    <ResourceParams name="jdbc/connection">
    //a whole load of other params
      <parameter>
        <name>url</name>
         <value>jdbc:mysql://localhost:3306/bookshop?useUnicode=TRUE&characterEncoding=UTF-8</value>
      </parameter>
    </ResourceParams>inside my server.xml
    But it doesn't seem to make any difference. In addition, I doubt I even need to use Unicode as the accents I need are only: ����� etc.
    (Incidentally, writing that line into my server.xml, tomcat complains that it should finish with a semi-colon. Is that correct? Even if I put in the semi-colon, it still complains!!)
    Any suggestions on this would be much appreciated. Thank you.

    user13109986 wrote:
    HI,
    From http://download.oracle.com/docs/cd/B10501_01/server.920/a96529/ch9.htm
    My understanding is the JDBC Api converts the string from the database to UTF-16.. If so is there any way to disable the UTF-16 encoding at JDBC API?That's exactly what it's supposed to do. There isn't even any concept of what it would mean to disable that: Java characters are UTF-16 representations of Unicode code-points, so there isn't anything else it could do.
    I still suspect the JDBC part is working correctly and your writing-to-file isn't. I found this quote in the Wikipedia article on Windows-1256:
    Windows-1256 is a code page used to write Arabic (and possibly some other languages that use Arabic script, like Persian) under Microsoft Windows. This code page is not compatible with ISO 8859-6 and MacArabic encodings.So was there a particular reason you chose Cp1256 and not ISO-8859-6 as the charset to write to the file with?

  • Why is the Insert Panel Missing from Dw CS6 Build 12 v 5861?

    Why is the Insert Panel Missing from Dw CS6 Build 12 v 5861?

    If Nancy's advice doesn't make it pop up as a window, you may have it set as a tool bar, in which case, hitting Ctrl+F2 will make the tool bar appear/disappear.
    To turn it back into a floating panel, click and drag the dashed line on the far left of the Insert tool bar and pull it away from the top. You can leave it as free floating or drag it to another edge until it highlights the edge and drop it to dock it to whichever side of the screen you prefer.

  • Unable to locate AP DIV button (Was: where is ?...)

    I am working in DW  Cs6 attempting to insert an AP div  image and caption but cannot locate the : Draw AP Div button, anywhere...where is it located?
    lgc

    You should have it but where did you download the trial from?  I beleieve your adobe account will give you version 12.xxxx while I have version 12.0 build xxxxx.  could try downloading the actual/original download from Prodesigntools because they have all the ftp links for trials old and new.

  • How to see my code drawing a line from one point to another

    hi, im wondering if you could help me.
    i am working on my project which is to visualise travelling salesman heuristics.
    i have managed to make my first heuristic work, but my problem is that when i clicked the run button on my GUI,
    the output is already a complete tour with all the edges already drawn, but what i want is to see how it solves or draw the lines from one vertex to another just by clickin the run button once.
    would be great if you could advice me of what method or technique i need to use to see my application solving the tour or drawing the edges.
    below is my cofe for drawing the edges from one point to another
      void drawLineNNh(Graphics g){
             Graphics2D g2 = (Graphics2D) g;
             g2.setColor(Color.blue);
             int i = 0;
             if (P == null) return;
             else
                 for(i=0; i<P.getSize(); i++)
                 Line2D.Double drawLine = new Line2D.Double(P.x_coor[nnH.seen]+5, P.y_coor[nnH.seen[i]]+5, P.x_coor[nnH.seen[i+1]]+5,P.y_coor[nnH.seen[i+1]]+5);
    Line2D.Double drawLastEdge = new Line2D.Double(P.x_coor[nnH.seen[P.getSize()-1]]+5, P.y_coor[nnH.seen[P.getSize()-1]]+5, P.x_coor[0]+5,P.y_coor[0]+5);
    g2.drawString( " Total Distance : " + nnH.totalDistance , 10, 300);
    g2.draw(drawLine);
    g2.draw(drawLastEdge);
    public void setNNh(Points p)
    nnH = new NNheuristic(p);
    useNNh = true;
    public void paint(Graphics g)
    frame(g);
    drawpoints(g);
    if(useNNh)
    drawLineNNh(g);
    below is my code for calling the above method to draw edges, actionlistererun.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e) {
    if (e.getActionCommand().equals("Run")) {
    if (chooseHeur.getSelectedItem()=="Nearest-Neighbour")
    System.out.println(chooseHeur.getSelectedItem());
    //points = new Points(toInt((String)chooseNum.getSelectedItem()));
    //PlotArea.set(points);
    PlotArea.setNNh(points);
    PlotArea.repaint();

    I AM USING SWING.
    HERE IS MY CODE, HOPEFULLY ENOUGH TO UNDERSTAND THE PROBLEM.
    class Plot extends Panel{
         public static int num;
         NNheuristic nnH;
         Closest_insertion CI;
         Points P;
         public static boolean useNNh= false;
         boolean useCI=false;
         boolean triangleDrawn = false;
         boolean CIupdate;
         void drawpoints (Graphics g)
             Graphics2D g2 = (Graphics2D) g;
             Graphics2D g3 = (Graphics2D) g;
             int i=1;
             g2.setColor(Color.red);
                    if (P==null) return;
                    else
                    while (i<P.getSize())
                         Ellipse2D.Double vertices = new Ellipse2D.Double(P.x_coor,P.y_coor[i],10,10);
    g2.fill(vertices);
    i++;
    g3.setColor(Color.MAGENTA);
    Ellipse2D.Double initial = new Ellipse2D.Double(P.x_coor[0],P.y_coor[0],10,10);
    g3.fill(initial);
    System.out.println("No. of Vertices: " + P.getSize());
    for(int k = 0; k < P.getSize(); k++)
    System.out.println("x coordinate: " + P.x_coor[k] + ", " + "y coordinate :" + P.y_coor[k] );
    // System.out.println("next:"+ P.x_coor[k+1]);
    triangleDrawn = false;
    void drawLineNNh(Graphics g){
    Graphics2D g2 = (Graphics2D) g;
    g2.setColor(Color.blue);
    int i = 0;
    if (P == null) return;
    else
    for(i=0; i<P.getSize(); i++)
    Line2D.Double drawLine = new Line2D.Double(P.x_coor[nnH.seen[i]]+5, P.y_coor[nnH.seen[i]]+5, P.x_coor[nnH.seen[i+1]]+5,P.y_coor[nnH.seen[i+1]]+5);
    Line2D.Double drawLastEdge = new Line2D.Double(P.x_coor[nnH.seen[P.getSize()-1]]+5, P.y_coor[nnH.seen[P.getSize()-1]]+5, P.x_coor[0]+5,P.y_coor[0]+5);
    g2.drawString( " Total Distance : " + nnH.totalDistance , 10, 300);
    g2.draw(drawLine);
    g2.draw(drawLastEdge);
    public void set (Points p)
    P=p;
    useNNh = false;
    useCI = false;
    public void setNNh(Points p)
    nnH = new NNheuristic(p);
    useNNh = true;
    void frame (Graphics g)
    g.setColor(Color.white);
              g.fillRect(0,0,size().width,size().height);
              g.setColor(Color.green);
              g.drawRect(0,0,579,280);
    public void paint(Graphics g)
    frame(g);
    drawpoints(g);
    if(useNNh)
    drawLineNNh(g);
    else if(useCI)
    if(!CIupdate)
    drawTriCI(g);
    else
    drawRestCI(g);
    // drawLineNNh(g);
    public void clear ()
         // remove the points and the graph.
    P=null;
    triangleDrawn = false;
    code of my GUIpublic class TSP extends JFrame{
    JButton run;
    ...................codes...........
    TSP() {
    ...............................codes...........
    run = new JButton ("Run");
    run.setPreferredSize(new Dimension(113,30));
    run.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e) {
    if (e.getActionCommand().equals("Run")) {
    if (chooseHeur.getSelectedItem()=="Nearest-Neighbour")
    System.out.println(chooseHeur.getSelectedItem());
    //points = new Points(toInt((String)chooseNum.getSelectedItem()));
    //PlotArea.set(points);
    PlotArea.setNNh(points);
    PlotArea.repaint();
    else if(chooseHeur.getSelectedItem()=="Closest-Insertion")
    PlotArea.setC_I(points);
    PlotArea.repaint();
    pane2.add(run);

  • ITunes was unable to load dataclass information from Sync Services-Solution

    Hello all. I recently upgraded to iTunes 9.1.1.12 on a laptop with Windows XP Pro and the latest iPhone OS (as of May 16,2010). Right after that, I started getting the "iTunes was unable to load dataclass information from Sync Services" error message. After I dismissed that window, it would go ahead and indicate that it was synching for a minute or two, and then indicate (in iTunes) that it was backing up the iPhone. This will run forever unless cancelled and the phone would not synch.
    After reading various solutions that worked for others (install Mobile Me, reinstall itunes, run diagnostics, all with numerous reboots in between), this is what worked for me:
    1) Open up Windows Services, and stop the Apple Mobile Device and iPod Service, and mark them as manual (as opposed to Automatic).
    2) Deinstall iTunes
    3) Delete the c:\program files\common files\apple folder (and all sub folders within). This is where the services are stored, and when I did all of these steps without doing this step, it didn't fix my problem. By deleting this folder, you insure that the iTunes install reinstalls these. You should see the services that were stopped in step 1, running again after the install is done. Note: I don't use Safari or QuickTime on my laptop, so I can't say whether or not this step would have any impact on those apps.
    4) Reinstall iTunes.
    5) Connect the iphone to your computer.
    6) At this point, I still got the dataclass error, so I immediately cancelled the synch.
    7) Run the diagnostics for the iphone (connectivity and synch).
    8) At this point, two DOS windows launched, and I did get another error about being able connect to the synch server.
    9) Closed the error message and disconnected the iphone (the phone at this point did not indicate that a synch was occurring).
    10) Reconnected the iphone and, voila, it's been working fine ever since.
    Hope this helps someone else out until Apple deals with the 9.1.1.12 (and .11) issues with synching.

    Either do Windows Control Panel → Administrative Tools and then picking "Services" or typing "Services.msc" in the Run command on Start menu.

  • Unable to print to pdf from any of my applications

    Hello,
    I am running Acrobat 8.0 on windows 7. Toshiba Qosmio 64 bit. I am unable to print to pdf from any of my applications. Office, Mozilla, Lotus 1-2-3 and others. When I choose the print option. And from the drop down menu choose Adobe PDF as the printer. And when I click to continue I get the little metered bar showing it's working, but then I get an error in the printer que. I don't even get an option what to save it as or where to save it to. It just goes straight to the metered bar showing its working. And it does this for all my programs where I can print to pdf. Can anyone help me? Also, this is a student version. Could the student version be unable to do this?
    Thank you,
    JimmyJoney

    Although Acrobat 8 is not supported on Win 7, you can try a few things. First, apply all updates to Acrobat 8. If this doesn't help, check to make sure that the PDF port was created. If not, you can try:
    Open Control Panel, select Printers
    * Click Add a Printer
    * Click Add a local printer
    * Select Use an existing port (should be preselected), change the port to "Desktop \*.pdf (Adobe PDF Port), click Next
    * On the next page, click Have Disk...
    * Click Browse and browse to C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Xtras\AdobePDF (or wherever you have Acrobat installed), click OK.
    * It should now show a series of "Adobe PDF Converter" entries. Select the first one and click Next
    * Change the printer name if desired, uncheck the box to use it as a default printer, click Next
    * Do not print a test page, click Finish
    * Find your new printer in Printers. Right click on it and select Properties, Advanced
    * Click "Print directly to the printer", click OK
    These last steps are detailed in the following discussion.

  • I am unable to transfer my contacts from my ms outlook t...

    i am unable to transfer my contacts from my ms outlook to my new blackberry 8900 curve. how do i go about doing this since i've lost my phone and am handicapped without my contacts

    Hi there!
    With the limited information in your post ("unable to transfer" is pretty sparse information), I suggest the following steps (insert plenty of reboots of your PC...not just restarts, but full power down reboots). Also, it is advised that you be logged into the PC on an account with full admin rights. Further, under Vista, use the "Run As Administrator" option for everything.
    1) Remove your device OS update package from your PC (add/remove programs)
    2) Cleanly uninstall the RIM DTM software:
    KB02206 How to perform a clean uninstall of BlackBerry Desktop Software
    3) Get a fresh download of the RIM DTM software:
    http://na.blackberry.com/eng/services/desktop/
    Choose the version that is newest and (if applicable) compatible with your PIM (if you are synchornizing via USB):
    KB12268 Applications supported by BlackBerry Desktop Manager for synchronization
    4) Download (to your PC) a fresh copy of your device OS package from your carrier:
    http://na.blackberry.com/eng/support/downloads/download_sites.jsp
    5) Install DTM to your PC
    6) Install (also to your PC), the device OS package
    7) Start the organizer configuration over:
    KB17022 How to configure organizer applications for synchronization using BlackBerry Desktop Manager
    Hopefully that will get things going again.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • Force subvi to open in one of main vi's pane and stick to top left corner

    I have a subvi that opens in a event case, and in the main VI i have several panes, how to force a subvi's run-time position so that it opens in a specified pane and sticks in the left top corner of that pane. i might need to make the subvi size same

  • ITunes 7.0.2 installs but now iTunes won't open

    I hadn't upgraded to 7.0.2 after hearing all the problems it had, but now I have a new nano and I need to upgrade. I tried and iTunes wouldn't open at all. I uninstalled and then reinstalled and still no luck. I've browsed around on here to look for

  • Part payments against vendors

    I know this isn't really a development issue but does anyone know the correct way to process a part payment of an invoice within the outgoing payments screen within banking? I know that there is the right way and a wrong way which really messes the d

  • Oracle Reports Builder

    Hi, Report Builder 10.1.2.0.2 Database 11g The scenario I am facing difficult to implement is like below I have one normal frame inside that I have one frame (which displays the titles) and one repeating frame ( which displays the data). My intention

  • Gallery and camera update for Belle FP2.

    I just installed the update which is available today via software update using Nokia Suite. I'm happy that I got back the mark option to send multiple files. There's an extra preference option provided in camera but it is still taking time for the ca