Code (js and css) dependency management

I create code-intensive animation-lite projects for education.  I have utility functions in a js file that I want to keep in one central place on my hard drive.  I also typically have an external css file that is shared by multiple projects.  Whenever I add to or improve these, I want them to end up in the corresponding project folder/subfolder the next time I publish each project so that each published folder stands on its own.
Can this be accomplished with edge 3.0?  Or is there a better way that what I described?
P.S.  The way I currently deal with this is to have a central code folder and link to it in a yepnope function.  This has 2 drawbacks:  I have to "publish" this code folder myself (to my staging area), and each published project is no longer a stand-alone all-in-one package.

Try Fancybox instead.
http://fancybox.net/
See Primer for using jQuery Plugins
http://alt-web.blogspot.com/2012/11/primer-for-using-jquery-plug-ins.html
Nancy O.

Similar Messages

  • How can i get the code html and css of my form please help me

    how can i get the code html and css of my form

    HI,
    If you like to embed the HTML form in your web page then you will need to obtain the form code from the Distribite/Embed tab. Additional information can be found here: http://forums.adobe.com/docs/DOC-1991
    You will not be able to access/modify the css code or the rest of the form html code.  If you like to view the source of of a HTML page, please use your browser 'view source code' functionality.
    I hope this answer your question,
    Thanks,
    Lucia

  • Firefox 4.0 and CSS-Password Manager compatibility

    Password Manager does work using Windows Explorer, but it does not work using Firefox 33.0.3 browsers.  I have not tried Chrome.
    What needs to be done to make it work?
    Tablet 2
    Windows 8.1
    Password Manager 4.0
    Firefox 33.0.3
    Thanks

    Lenovo's site says there's a Password Manager 4.7 out:
    http://support.lenovo.com/us/en/downloads/ds031504
    Maybe try that?
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • Separate the html code and CSS code

    is there any setting where I can separate html Coden with CSS code?

    okej, so if I want to get them in separate files I need to do it b myself?
    If you want the content separate from the CSS, you would have to create the page's HTML and CSS yourself.  There is no way (other than a tedious manual process) to take an existing page with embedded CSS and then give DW a command to separate the CSS from the content.  Now - the extent of the effort to do this manually would depend on the complexity of the page.  Can you post a link to one of your pages - we can tell you how big a job this would be by examining the code.

  • Anyway to have source code html, design view and CSS open windows at the same time?

    Hi all,
    Is there anyway I can keep design view, source code AND css open on screen all at the same time?
    Constantly clicking between source and css is really becoming irritating, would be so much easier if they were both on screen at the same time.
    Any help would be great

    You have two choices.
    1 You can go to preferences>general and the very first item (in CS6) is "open document in tabs" if you deselct that then you can view your page in split view and also open up the CSS file and have it visible as well.
    2 If you use tabs you can view the page in split view and open the CSS file and then detach the css from the tab and it will be an idependent item. You detach it by highlighting the tab and then dragging it down.
    It helps to have a large screen, and better still to have more than one screen, you can put the css on the other screen.
    VL Branko

  • Update failed for Fireworks CS5 and Adobe Extension Manager CS5 5.0. Received Error Code: U43M1D207. Any suggestions?

    Update failed for Fireworks CS5 and Adobe Extension Manager CS5 5.0. Received Error Code: U43M1D207. Any suggestions?

    Download the Fireworks updater from here:
    https://www.adobe.com/support/fireworks/downloads_updaters.html
    When you have downloaded and extracted the file right click and then click "run as Adminstrator".
    It should work for you. I had the same issue and did this and everything worked,

  • Steps to define company code and its dependent entries for mm,pm

    Hi Experts,
    kindly share that how to define company code and its dependent assignments for PM & MM module

    Dear Hitendra
    Company code, Contolling area, Profit Center are Financials related fields and are mapped under FI Enterprise structure as its Org unit. Plant (Logistics Plant) is defined in MM. Related modules like PP, PM, SD extend this logistics plant in their repsective modules as Production Planning Plant, Production Plant, Maintenance Planning Plant, Maintenance Plant, Sales Plant etc.
    Company code is never defined in any logistics moudle , its in Financials where it is defined. It is then assigned to the Plant in logistics thru which the company code gets populated easily in respective modules.In contolling end, its controlling area that talks.
    IMG-->SAP Customizing Implementation Guide->Enterprise Structure-->Definition-->Financial Accounting-->Edit, Copy, Delete, Check Company Code
    This is a very broad upper level details for your query. Please search the SCN in relevant spaces for more information.
    Award points if the above explanation was useful...
    KR
    Murad Ahmed.

  • Hate working with code? Zeldman says authoring good HTML and CSS is an art

    Visual designers often complain about the need to get their hands dirty with HTML and CSS, and long for a program that will do it all for them. According to web standards guru, Jeffrey Zeldman, they'll have a very long wait: http://www.zeldman.com/2010/07/05/an-indesign-for-html-and-css/.
    Well worth reading.

    Thank you David.
    I was reading the article a few minutes before you posted, and I just hope more people would take note of what it says, especially this part -
    Adobe could also stop ignoring Fireworks, as Fireworks is a better
    starting place for web design. They might even interview serious,
    standards-oriented web designers and start from scratch, as a new tool
    will suffer from fewer political constraints and user expectations than a
    beloved existing product with deep features and multiple audiences.
    Paula Z

  • HTML layout and CSS handling in CQ5

    OK...so this may sound like a newbie question...because it is.  Kinda.
    I'm new to CQ5 but am an experienced web developer.  CQ5 doesn't appear to provide tools to layout of web pages (html tags, divs, css styling, ...).  I'm comfortable doing this by hand, but that seems rather old school in the days of Dreamweaver and such.
    What layout/design tools do you recommend for creating HTML and CSS pages for use in CQ5?  I have wireframes in-hand and ready to translate to HTML.
    Thanks!

    None of the enterprise content management systems that I've used, including CQ, provide WYSIWYG tools for building the layouts/templates of the site.
    I always build complete static versions of the designs/wireframes by hand entirely outside of CQ.  I prefer Textmate, but of course you can use whatever visual tool you prefer.  After the static HTML passes muster it then needs to be integrated, by hand, into CQ in the form of page and content components.  This is generally straightforward (depending on the design).
    CQ 5.5 does give you the Site Importer to help bring an existing page (or set of pages) into CQ which it then breaks up into the beginnings of a project, but in reality the developer will still need to break that up even further anyway.  Applying this integration by hand from the ground up will likely give you better control and awareness of what's going on in your project. Letting to much "magic" happen behind a slick wizard or WYSIWYG won't help you when something (inevitably) needs debugging and dissection.
    Having said all this, since the Adobe acquisition of CQ, I wouldn't be surprised if there was some kind of Dreamweaver plugin in the works for connecting to CQ!
    Good luck!

  • JavaScript and CSS info in WPC

    Hi all,
    Is it possible to keep CSS (Stylesheet) and Javascript information from older html web pages and bring them into Web Page Composer? We have some older intranet web pages which we now want to display in the portal without ofcourse using URL iViews; so the content remains local to KM and the relevant roles can be assigned to different authors and editors of the website so it can be modified through the portal and WPC?
    Any tips, hints and helpful suggestions are welcome.
    Regards,
    Tony.

    Hi Tony.
    Yes, it's possible. Read [Wiki WPC FAQ|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer-FrequentlyAskedQuestions+%28FAQ%29#WebPageComposer-FrequentlyAskedQuestions%28FAQ%29-WhataboutusingstandardHTMLpagesinWPC%3F].
    KM supports relative links in HTML documents so it may be necessary include any dependent files in the same folder as the HTML document.
    In case of a web page and its dependent files are stored in different folders you need editing the source html code:
    1. use Portal Drive and any text editor (I prefer Notepad++. It has the feature "Search and Replace in files") to open the html source file.
    2. search for links to dependent files and add the following pattern: /irj/go/km/docs//<path to an dependent file>/ before a filename, for example:
    You have a web page with css file. The page is stored in documents repository under the folder with ID old_pages. The css is resides in css folder.
    So the existing code
    <LINK REL=STYLESHEET TYPE="text/css" HREF="css/style.css">
    should be replaced with the
    <LINK REL=STYLESHEET TYPE="text/css" HREF="/irj/go/km/docs//documents/old_pages/css/style.css">
    Best regards,
    Aliaksandr

  • Embedded Javascript and CSS removed from mail

    Hey folks,
    I wrote a small app to send a html email to myself.
    When I sent it inline all the embedded javascript and css were removed.
    When sent as a .html page attachment and opened from within the browser (Gmail, Mozilla 2.0)
    all the embedded script and css were gone. However when downloaded to the machine, it was all there.
    Looks like this is a browser issue, would anyone know how to get around it?
    It's so that I can have collapsable headers in my email message.
    Thanks,
    Mark.

    Hi Tony.
    Yes, it's possible. Read [Wiki WPC FAQ|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer-FrequentlyAskedQuestions+%28FAQ%29#WebPageComposer-FrequentlyAskedQuestions%28FAQ%29-WhataboutusingstandardHTMLpagesinWPC%3F].
    KM supports relative links in HTML documents so it may be necessary include any dependent files in the same folder as the HTML document.
    In case of a web page and its dependent files are stored in different folders you need editing the source html code:
    1. use Portal Drive and any text editor (I prefer Notepad++. It has the feature "Search and Replace in files") to open the html source file.
    2. search for links to dependent files and add the following pattern: /irj/go/km/docs//<path to an dependent file>/ before a filename, for example:
    You have a web page with css file. The page is stored in documents repository under the folder with ID old_pages. The css is resides in css folder.
    So the existing code
    <LINK REL=STYLESHEET TYPE="text/css" HREF="css/style.css">
    should be replaced with the
    <LINK REL=STYLESHEET TYPE="text/css" HREF="/irj/go/km/docs//documents/old_pages/css/style.css">
    Best regards,
    Aliaksandr

  • Lifet After HTML/XHTML and CSS

    Since I could not afford going to college for web design, I
    relied on books, articles and this forum to jump start my knowledge
    on web development. I will never be an "expert" on web development.
    I say this because the web language and technology is constantly
    changing and one must keep up with today's craving for digital
    supremacy.
    Few months ago I was unable to create a web page with out
    Dreamweaver design view but now, I hate design view. I sit and
    create web pages in note pad all day and I love it! I love writing
    raw codes and my dream is to become one of the best web developer
    some day.
    Anyway, I have learned a lot about CSS/XHTML to at least
    create basic websites but I want to take the next step since I can
    now afford to take college classes.
    What do I learn next? I want to learn another language that
    will enhanced my design/developer technical knowledge. Do I go
    JavaScript? Flash/Actionscript?
    I want to learn a technology that can create interactivity on
    the web but with all the different languages, I'm confused as to
    where to start.
    Any advise?
    Patrick

    On 01 Aug 2008 in macromedia.dreamweaver, Webethics wrote:
    > Since I could not afford going to college for web
    design, I relied
    > on books, articles and this forum to jump start my
    knowledge on web
    > development. I will never be an "expert" on web
    development.
    Many of us have backgrounds in areas other than web
    development, and
    learned it the same way you did.
    > I say this because the web language and technology is
    constantly
    > changing and one must keep up with today's craving for
    digital
    > supremacy.
    However - (X)HTML and CSS are the backbone of web
    development, and will
    remain so for the forseeable future. (Like until
    October...)[1]
    > Few months ago I was unable to create a web page with
    out
    > Dreamweaver design view but now, I hate design view. I
    sit and
    > create web pages in note pad all day and I love it! I
    love writing
    > raw codes and my dream is to become one of the best web
    developer
    > some day.
    I can - and do - some development in a text editor. However,
    the
    conveniences Dreamweaver adds - things like tag completion
    and file
    management - mean that I do most of my work in DW's code
    view.
    > Anyway, I have learned a lot about CSS/XHTML to at least
    create
    > basic websites but I want to take the next step since I
    can now
    > afford to take college classes.
    >
    > What do I learn next? I want to learn another language
    that will
    > enhanced my design/developer technical knowledge. Do I
    go
    > JavaScript? Flash/Actionscript?
    >
    > I want to learn a technology that can create
    interactivity on the
    > web but with all the different languages, I'm confused
    as to where
    > to start .
    Learn serverside scripting, either PHP or ASP.Net/C# or maybe
    .Net/jscript. Check the want ads or online job boards for
    what
    companies are looking for in the area you want to work.
    There is some work out there for Flash developers, either as
    part of a
    team or as a subcontractor, doing parts of sites. A lot of
    sites I see
    use a Flash header to add some interest to a page. But the
    number of
    straight Flash sites is limited, and I suspect will be for a
    while.
    Javascript is good too, and some people make a living from
    creating
    javascript widgets for web development. See, for example,
    Project
    Seven (
    http://projectseven.com/) or
    Michael Brandt (Diva HTML
    http://www.divahtml.com/).
    And a competent web developer should have a
    passing familiarity with it. But I'd guess that you're
    unlikely to
    land a local development job based on your javascript
    abilities.
    [1] For the humor impaired - I'm kidding. It will be November
    at
    least. I'm not sure what the year will be, though.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • Radio panel and selection dependent panel draw

    Hi
    I've got two problems with my applet which have me stumped. http://zeldia.cap.ed.ac.uk/Lumbribase/array_exp.php?cluster=LRP00075_8
    1) I'd like the radio buttons on the top panel closer together. I've tried setting the panel grid layout to (1,5) (in the hope of 3 blanks on the right) and I've tried setting the prefered size but it seems to ignor the horizontal parameter unless I set it bigger that the available space.
    2) The checkbox panel on the right is only relevant when the 'exposure' radio button is selected. How can I make it only add this panel when 'exposure' selected and thus checkBoxSetting[4]= true;
    Thanks in advance for any info you can give.
    Ann
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.Color;
    import java.awt.*;
    import java.awt.event.*;
    import java.lang.Math;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.*;
    import java.text.*;
    /*import java.sql.*;
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.SQLException;
    public class ArrayExpApplet extends Applet
                           implements ItemListener, ActionListener  {
         private JCheckBox ATButton;
         private JCheckBox CdButton;
         private JCheckBox CuButton;
         private JCheckBox PAHButton;
         private JCheckBox ExposureButton;
         private JCheckBox ControlButton;
       static String ExposureString = "Exp";
       static String ControlString = "Con";
         private boolean[] checkBoxSetting = {true,true,true,true,false,true};
         private double[][] expLevels = new double[4][5];
         private double[]   controlLevels = new double[3];
         private Color[] EColor = new Color[5];
         private int originX=100;
         private int height=200;
         private int originY=height+(originX/2);
         private double controlScale=-1;
         private double expScale=-1;
         private double controlMax=0;
         private double expMax=0;
         private JPanel side =  CheckBoxPanelSide();
         private Panel canvasPanel = new Panel();
         public void init() {
          System.out.println("initiating...");
          setBackground(new Color(224, 238, 238));;
              //get the php expression string and read into 2D numeric array
              String expression_str = this.getParameter("expression_string");
              System.out.println("expression_string "+expression_str);
              String[] rows = expression_str.split (";");
              for (int k = 0; k < rows.length; k++) {
                   System.out.println("row "+k+" = "+rows[k]);
                   String[] cols = rows[k].split (",");
                   for (int l = 0; l < cols.length; l++) {
                        System.out.println("col "+l+" = "+cols[l]);
                        expLevels[k][l]= Double.parseDouble(cols[l]);
              //get the php control string and read into a numeric array
              String control_str = this.getParameter("control_string");
              System.out.println("control_string "+control_str);
              rows = control_str.split (",");
              for (int k = 0; k < rows.length; k++) {
                   System.out.println("row "+k+" = "+rows[k]);
                   controlLevels[k]= Double.parseDouble(rows[k]);
              //find max expression to scale y axis
              for (int i=0; i<4; i++) {
                   for (int j=0; j<5; j++){
                        if (expLevels[i][j]>expMax) {expMax=expLevels[i][j];}
              expScale=height/(double)expMax;
              //find max control to scale y axis
              for (int i=0; i<3; i++) {
                   if (controlLevels>controlMax) {controlMax=controlLevels[i];}
              controlScale=height/(double)controlMax;
              //set up an array of 5 colours
              EColor[0]= new Color(200,0,255); //magenta
              EColor[1]= new Color(0,0,255);      //green
              EColor[2]= new Color(0,255,0);      //blue
              EColor[3]= new Color(254,190,0); //yellow
              EColor[4]= new Color(224, 238, 238); //background
    public void start() {
    System.out.println("starting...");
    //          Panel canvasPanel = new Panel();
              Panel entirePanel = new Panel();
              Canvas graph = new Canvas();
              JPanel top = CheckBoxPanelTop();
              JPanel side = CheckBoxPanelSide();
              setLayout(new BorderLayout());
              //layout total area as boxes top to bottom
              entirePanel.setLayout(new BoxLayout(entirePanel, BoxLayout.PAGE_AXIS));
              //put top checkboxes in top box
              entirePanel.add(top);
              //layout area as boxes left to right
              canvasPanel.setLayout(new BoxLayout(canvasPanel, BoxLayout.LINE_AXIS));
              //put canvasPanel in bottom box
              entirePanel.add(canvasPanel);
                   //Put a graph in the first box.
                   canvasPanel.add(graph);
                   //Put checkboxes in the right box.
                   canvasPanel.add(side);
              add("North", entirePanel);
              add("East", canvasPanel);
         public JPanel CheckBoxPanelSide() {
              //Create the check boxes.
              ATButton = new JCheckBox("Atrazine");
              ATButton.setForeground(EColor[0]);
              ATButton.setBackground(new Color(224, 238, 238));
              ATButton.setSelected(true);
              checkBoxSetting[0]=true;
              CdButton = new JCheckBox("Cadmium");
              CdButton.setForeground(EColor[1]);
              CdButton.setBackground(new Color(224, 238, 238));
              CdButton.setSelected(true);
              checkBoxSetting[1]=true;
              CuButton = new JCheckBox("Copper");
              CuButton.setForeground(EColor[2]);
              CuButton.setBackground(new Color(224, 238, 238));
              CuButton.setSelected(true);
              checkBoxSetting[2]=true;
              PAHButton = new JCheckBox("PAH");
              PAHButton.setForeground(EColor[3]);
              PAHButton.setBackground(new Color(224, 238, 238));
              PAHButton.setSelected(true);
              checkBoxSetting[3]=true;
              //Register a listener for the check boxes.
              ATButton.addItemListener(this);
              CdButton.addItemListener(this);
              CuButton.addItemListener(this);
              PAHButton.addItemListener(this);
              JPanel s = new JPanel();
              s.setLayout(new GridLayout(6,1));
              s.setBackground(new Color(224, 238, 238));
              s.setBorder(BorderFactory.createLineBorder (Color.blue, 2));
              s.add(ATButton);
              s.add(CdButton);
              s.add(CuButton);
              s.add(PAHButton);
              return (s);
         public JPanel CheckBoxPanelTop() {
              //Create the radio buttons.
              JRadioButton ExposureButton = new JRadioButton("Exposure");
              ExposureButton.setBackground(new Color(224, 238, 238));
              ExposureButton.setSelected(true);
    ExposureButton.setActionCommand(ExposureString);
              checkBoxSetting[4]=true;
              JRadioButton ControlButton = new JRadioButton("Control");
              ControlButton.setBackground(new Color(224, 238, 238));
    ControlButton.setActionCommand(ControlString);
              ControlButton.setSelected(false);
              //Group the radio buttons.
              ButtonGroup group = new ButtonGroup();
              group.add(ControlButton);
              group.add(ExposureButton);
    //Register a listener for the radio buttons.
              ControlButton.addActionListener(this);
              ExposureButton.addActionListener(this);
              JPanel t = new JPanel();
              t.setLayout(new GridLayout(1,5));
              t.setBackground(new Color(224, 238, 238));
              t.setBorder(BorderFactory.createLineBorder (Color.blue, 2));
              t.setPreferredSize(new Dimension(50, 35));
              t.add(ControlButton);
              t.add(ExposureButton);
              return (t);
    // Listens to the radio buttons.
         public void actionPerformed(ActionEvent e) {
              System.out.println(""+e.getActionCommand());
              if (e.getActionCommand() == "Exp") {checkBoxSetting[4]= true;}
              if (e.getActionCommand() == "Con") {checkBoxSetting[4]= false;}
              repaint();
    // add a checkbox listener
         public void itemStateChanged(ItemEvent event) {
              char c = '-';
              Object source = event.getItemSelectable();
              if (source == ATButton) {
                   if (checkBoxSetting[0]== false) {checkBoxSetting[0]= true;}
                   else {checkBoxSetting[0]= false;}
                   c = 'a';
                   System.out.println("CheckBox "+c);
              else if (source == CdButton) {
                   if (checkBoxSetting[1]== false) {checkBoxSetting[1]= true;}
                   else {checkBoxSetting[1]= false;}
                   c = 'd';
                   System.out.println("CheckBox "+c);
              else if (source == CuButton) {
                   if (checkBoxSetting[2]== false) {checkBoxSetting[2]= true;}
                   else {checkBoxSetting[2]= false;}
                   c = 'u';
                   System.out.println("CheckBox "+c);
              else if (source == PAHButton) {
                   if (checkBoxSetting[3]== false) {checkBoxSetting[3]= true;}
                   else {checkBoxSetting[3]= false;}
                   c = 'p';
                   System.out.println("CheckBox "+c);
              repaint();
         public void paint(Graphics g) {
              System.out.println("Paint");
              if (checkBoxSetting[4]== true) {   //paint exposures
                   System.out.println("painting exposure");
                   //Draw the data
                   int step=100; //distance between exposures on x axis
                   int x=originX; int y;
                   for (int i=0; i<4; i++) {
                        System.out.println("CheckBox "+i+" is "+checkBoxSetting[i]);
                        if (checkBoxSetting[i]) {
                             g.setColor(EColor[i]);
                             for (int j=0; j<4; j++){
                                  y=j+1;
                                  g.drawLine(x,originY-(int)(expLevels[i][j]*expScale), x+step, originY-(int)(expLevels[i][y]*expScale));
                                  x=x+step;
                             x=originX;
                   //draw axis
                   g.setColor(Color.black);
                   g.drawLine(originX, (originX/2), originX, originY);
                   g.drawLine(originX, originY, originX+(step*4), originY);
                   //tickmark axis
                   g.drawLine(originX, originY, originX, originY+5);
                   g.drawLine(originX+step, originY, originX+step, originY+5);
                   g.drawLine(originX+(step*2), originY, originX+(step*2), originY+5);
                   g.drawLine(originX+(step*3), originY, originX+(step*3), originY+5);
                   g.drawLine(originX+(step*4), originY, originX+(step*4), originY+5);
                   g.drawLine(originX, originY, originX-5, originY);
                   g.drawLine(originX, originY- (int) (expMax*expScale*0.25), originX-5, originY- (int) (expMax*expScale*0.25));//400*.5=200*.25=50
                   g.drawLine(originX, originY- (int) (expMax*expScale*0.5), originX-5, originY- (int) (expMax*expScale*0.5));
                   g.drawLine(originX, originY- (int) (expMax*expScale*0.75), originX-5, originY- (int) (expMax*expScale*0.75));
                   g.drawLine(originX, originY- (int) (expMax*expScale), originX-5, originY- (int) (expMax*expScale));
                   //lable x axis
                   g.drawString("LC0", originX-9, originY+20);
                   g.drawString("LC12.5", originX-18+step, originY+20);
                   g.drawString("LC25", originX-12+(step*2), originY+20);
                   g.drawString("LC37.5", originX-18+(step*3), originY+20);
                   g.drawString("LC50", originX-12+(step*4), originY+20);
                   g.drawString("Exposure", originX-24+(step*2), originY+40);
                   //lable y axis
                   String fmt = "0.00#";
                   DecimalFormat df = new DecimalFormat(fmt);
                   int xs=originX; int ys=originY; int zs=(int)((expMax/height)*0.25);
    //               g.drawString("x"+xs+" y"+ys+" zs"+zs+" expMax"+expMax+" expScale"+expScale, 0, originY+60);
                   g.drawString("0", originX-20, originY+4);
                   g.drawString(""+df.format((double)(expMax*0.25)), originX-45, originY+4- (int) (expMax*expScale*0.25));//400*.5=200*.25=50
                   g.drawString(""+df.format((double)(expMax*0.50)), originX-45, originY+4- (int) (expMax*expScale*0.5));
                   g.drawString(""+df.format((double)(expMax*0.75)), originX-45, originY+4- (int) (expMax*expScale*0.75));
                   g.drawString(""+df.format(expMax), originX-45, originY+4- (int) (expMax*expScale));
                   g.drawString("E", originX-100, originY-(int)(height*0.5)-50);
                   g.drawString("x", originX-100, originY-(int)(height*0.5)-40);
                   g.drawString("p", originX-100, originY-(int)(height*0.5)-30);
                   g.drawString("r", originX-100, originY-(int)(height*0.5)-20);
                   g.drawString("e", originX-100, originY-(int)(height*0.5)-10);
                   g.drawString("s", originX-100, originY-(int)(height*0.5));
                   g.drawString("s", originX-100, originY-(int)(height*0.5)+10);
                   g.drawString("i", originX-98, originY-(int)(height*0.5)+20);
                   g.drawString("o", originX-100, originY-(int)(height*0.5)+30);
                   g.drawString("n", originX-100, originY-(int)(height*0.5)+40);
              else {                // paint control
                   System.out.println("painting control");
                   //Draw the data
                   int step=200; //distance between controls on x axis
                   int x=originX; int y;
                   for (int i=0; i<2; i++) {
                        g.setColor(EColor[0]);
                        int j=i+1;
                        g.drawLine(x,originY-(int)(controlLevels[i]*controlScale), x+step, originY-(int)(controlLevels[j]*controlScale));
                        x=x+step;
                   //draw axis
                   g.setColor(Color.black);
                   g.drawLine(originX, (originX/2), originX, originY);
                   g.drawLine(originX, originY, originX+(step*2), originY);
                   //tickmark axis
                   g.drawLine(originX, originY, originX, originY+5);
                   g.drawLine(originX+step, originY, originX+step, originY+5);
                   g.drawLine(originX+(step*2), originY, originX+(step*2), originY+5);
                   g.drawLine(originX, originY, originX-5, originY);
                   g.drawLine(originX, originY- (int) (expMax*expScale*0.25), originX-5, originY- (int) (expMax*expScale*0.25));//400*.5=200*.25=50
                   g.drawLine(originX, originY- (int) (expMax*expScale*0.5), originX-5, originY- (int) (expMax*expScale*0.5));
                   g.drawLine(originX, originY- (int) (expMax*expScale*0.75), originX-5, originY- (int) (expMax*expScale*0.75));
                   g.drawLine(originX, originY- (int) (expMax*expScale), originX-5, originY- (int) (expMax*expScale));
                   //lable x axis
                   g.drawString("Late Cocoon", originX-27, originY+20);
                   g.drawString("Juvenile", originX-20+step, originY+20);
                   g.drawString("Adult", originX-20+(step*2), originY+20);
                   g.drawString("Growth stage", originX-36+step, originY+40);
                   //lable y axis
                   String fmt = "0.00#";
                   DecimalFormat df = new DecimalFormat(fmt);
                   int xs=originX; int ys=originY; int zs=(int)((controlMax/height)*0.25);
    //               g.drawString("x"+xs+" y"+ys+" zs"+zs+" controlMax"+controlMax+" scale"+scale, 0, originY+60);
                   g.drawString("0", originX-15, originY+4);
                   g.drawString(""+df.format((double)(controlMax*0.25)), originX-35, originY+4- (int) (controlMax*controlScale*0.25));//400*.5=200*.25=50
                   g.drawString(""+df.format((double)(controlMax*0.50)), originX-35, originY+4- (int) (controlMax*controlScale*0.5));
                   g.drawString(""+df.format((double)(controlMax*0.75)), originX-35, originY+4- (int) (controlMax*controlScale*0.75));
                   g.drawString(""+df.format(controlMax), originX-35, originY+4- (int) (controlMax*controlScale));
                   g.drawString("E", originX-100, originY-(int)(height*0.5)-50);
                   g.drawString("x", originX-100, originY-(int)(height*0.5)-40);
                   g.drawString("p", originX-100, originY-(int)(height*0.5)-30);
                   g.drawString("r", originX-100, originY-(int)(height*0.5)-20);
                   g.drawString("e", originX-100, originY-(int)(height*0.5)-10);
                   g.drawString("s", originX-100, originY-(int)(height*0.5));
                   g.drawString("s", originX-100, originY-(int)(height*0.5)+10);
                   g.drawString("i", originX-98, originY-(int)(height*0.5)+20);
                   g.drawString("o", originX-100, originY-(int)(height*0.5)+30);
                   g.drawString("n", originX-100, originY-(int)(height*0.5)+40);
         //If we don't specify this, the canvas might not show up at all
         //(depending on the layout manager).
         public Dimension getMinimumSize() {return new Dimension(550,300);}
         //If we don't specify this, the canvas might not show up at all
         //(depending on the layout manager).
         public Dimension getPreferredSize() {return getMinimumSize();}
         public void stop() {
              System.out.println("stopping...");
         public void destroy() {
              System.out.println("preparing to unload...");

    Thanks.
    I've tried moving the lines ...
    //Put checkboxes in the right box.
    canvasPanel.add(side);from the start method to the radio button listerner...
        // Listens to the radio buttons.
         public void actionPerformed(ActionEvent e) {
              System.out.println(""+e.getActionCommand());
              if (e.getActionCommand() == "Exp") {
                   checkBoxSetting[4]= true;
                   //Put checkboxes in the right box.
                   canvasPanel.add(side);
              if (e.getActionCommand() == "Con") {checkBoxSetting[4]= false;}
              repaint();
        }and into the paint method...
         public void paint(Graphics g) {
              System.out.println("Paint");
              if (checkBoxSetting[4]== true) {   //paint exposures
                   System.out.println("painting exposure");
                   //Put checkboxes in the right box.
                   canvasPanel.add(side);
                   //Draw the dataand in both cases the code complies and the applet runs without error messages but the panel is never displayed???

  • New Note 790189.1 - Oracle Clusterware and Application Failover Management

    Hi all,
    please, note the newly created Metalink Note 790189.1 - Oracle Clusterware and Application Failover Management if you want to use Oracle Clusterware as a general purpose cluster solution. The note intends to clarify and to explain the current situation in regards to the supportability of applications managed by Oracle Clusterware.
    In environments not including Oracle RAC, Oracle Clusterware still provides the level of high availability that is commonly known to be achievable for applications and databases managed in (failover) cluster environments. These environments can include Oracle Single Instance Databases, Oracle Application Servers, Oracle Enterprise Manager components, third party databases, or any other kind of application. (For more information on Oracle Clusterware 11g in general, please, refer to [Oracle Clusterware homepage|http://otn.oracle.com/clusterware].)
    Metalink Note 790189.1 - Oracle Clusterware and Application Failover Management is tightly integrated with the information on application failover management available on the [Oracle Clusterware homepage|http://otn.oracle.com/clusterware] and discusses typical questions like
    * Terminology
    * Script supportability and preconfigured agents
    * How to prove that action scripts work outside of Oracle Clusterware
    * Supportability of the Oracle Database Single Instance example scripts
    * How do I know whether a certain script is supported as a preconfigured agent?
    Metalink Note 790189.1, however, does not change the level of support that has been introduced for these kind of configurations as of Oracle Database 10g Release 2: "Generally, Oracle does not support action scripts in the strict terms of supporting individual code fragments. Oracle fully supports the integration of individual action scripts proven to run outside of Oracle Clusterware into the Oracle Clusterware management stack. Supported operations therefore typically involve crs_* commands such as crs_profile, crs_register, crs_setperm, crs_getperm, crs_start, crs_stop, and crs_relocate invoked on custom resources. If actions scripts are used as part of a preconfigured agent, Oracle or the application provider who provides the agent will support the integration of this agent, while only the application provider will provide support for the individual action scripts."
    Just for your information. Thanks,
    Markus

    not meant to be a question - rather an announcement.

  • Custom html and css broken in BC

    I have created some content in iWeb. A photo gallery that doesn't work when uploaded to BC.
    It works fine when I upload to a different Host.
    http://isodisc.businesscatalyst.com/usbcat/ISODISC_Full_USB_Flash_Catalog.html

    I'm building my website in Muse, using a few Adobe typeKit fonts - Open Sans and Bebas Neue. There's plenty of code and css developed when I export the muse file QUESTION: Will Contribute maintain my font choice integrity? Or do I play it safe with standard web-safe choices?

Maybe you are looking for

  • Vendor Master- Prepayment field on Payment Transaction Accounting

    This field under Invoice verification tab has 4 options- one of which is - leave blank/ space and this will prevent the system from posting Prepayment against this vendor. I have left this field blank yet I can post Down payment against this vendor u

  • My D5200 NEF files do not open in Photoshop 14

    I have Nikon D5200, and according to Adobe, its Raw NEF files should open in Camera Raw 7.3 or later. However I have Camera Raw 8 in my photoshop 14 and it still says cannot open files, and suggests me to upgrade the plugin. However, when i try to up

  • Problem wrt54g3g configuration mode bridge or transparent

    hi, I have a router wrt54g3g with firmare 2.0.22, I want if can configure mode bridge this router, using the card vodafone 3G, why behind router I have linux server with firewall, vpn and web to filter. Thank you. 

  • Standard Report for IT0078

    Dear Gurus; Is there a standard report for IT0078? Thanks in advance. Best Regards; Lobna

  • Creating Files Using PL/SQL?

    Hi, Is there a way to create a file using PL/Sql? It seems that the utl_file package doesn't allow you to create a file. It only allows you to read, write to a file that already exists there. Thanks Vic