ApplicationFrame to view on HTML

How can i use this file with HTML??? or is there anyway out to use this file or load on applet???
package org.jfree.chart.demo;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Dimension;
import java.sql.*;
import java.util.*;
import java.util.Date;
import java.lang.*;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartPanel;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.NumberAxis;
import org.jfree.chart.plot.CategoryPlot;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.chart.renderer.category.LineAndShapeRenderer;
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.ui.ApplicationFrame;
import org.jfree.ui.RefineryUtilities;
import org.jfree.chart.demo.Time;
import java.text.*;
import java.util.StringTokenizer;
public class STATSGRAPH extends ApplicationFrame{
public STATSGRAPH() {
super("XIPX Stats");
final CategoryDataset dataset = createDataset() ;
final JFreeChart chart = createChart(dataset);
final ChartPanel chartPanel = new ChartPanel(chart);
chartPanel.setPreferredSize(new Dimension(1000, 500));
setContentPane(chartPanel);
private CategoryDataset createDataset() {
// row keys...
final String series1 = "First";
final String series2 = "Second";
final String series3 = "Third";
// column keys...
final String type1 = "1";
final String type2 = "2";
final String type3 = "3";
final String type4 = "4";
final String type5 = "5";
final String type6 = "6";
final String type7 = "7";
final String type8 = "8";
final String type9 = "9";
// create the dataset...
final DefaultCategoryDataset dataset = new DefaultCategoryDataset();
Connection con = null;
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql://local/DB",
"root", "helloworld");
Statement stmt = con.createStatement();
ResultSet rslt = stmt.executeQuery("SELECT FROM_UNIXTIME(ENDTIME), SUM(BILLDURATION) FROM XCORE.STATISTICS S WHERE PREFIX=8801 AND BEGINTIME>=1242795600 AND ENDTIME<1242881999 AND GROUPID=396 GROUP BY ENDTIME ORDER BY ENDTIME");
Time time = new Time();
System.currentTimeMillis();
Date date= new Date();
date = time.getLocalDateTime((System.currentTimeMillis())*1000);
//date.setMinutes(5);
int count=0;
while(rslt.next()){
//y-axis //x-axis
//dataset.addValue(rslt.getInt("BILLDURATION"), series1, String.valueOf(count));
String strSearchFromHour=rslt.getString("FROM_UNIXTIME(ENDTIME)");
StringTokenizer strTokenFromTime = new StringTokenizer(strSearchFromHour," ");
String DateFrom="";
String TimeFrom="";
String HR="";
if (strTokenFromTime.hasMoreTokens()) {
DateFrom = strTokenFromTime.nextToken();
if (strTokenFromTime.hasMoreTokens()) {
TimeFrom = strTokenFromTime.nextToken();
StringTokenizer strTokenFromHour = new StringTokenizer(TimeFrom,":");
if(strTokenFromHour.hasMoreTokens()){
HR=strTokenFromHour.nextToken();
} //end of second if
}//end of first if
dataset.addValue(rslt.getInt(2), series1, HR);
System.out.println(DateFrom);
System.out.println(TimeFrom);
System.out.println(HR);
// to check the values ...
//System.out.println(rslt.getInt("PREFIX"));
count++;
rslt.close();
if(!con.isClosed())
System.out.println("Successfully connected to " + "MySQL server using TCP/IP...");
} catch(Exception e) {
System.err.println("Exception: " + e.getMessage());
} finally {
try {
if(con != null)
con.close();
} catch(SQLException e) {}
return dataset;
private JFreeChart createChart(final CategoryDataset dataset) {
// create the chart...
final JFreeChart chart = ChartFactory.createLineChart(
"Xipx Statistics Graph", // chart title
"Hours", // domain axis label
"BillDuration", // range axis label
dataset, // data
PlotOrientation.VERTICAL, // orientation
true, // include legend
true, // tooltips
false // urls
chart.setBackgroundPaint(Color.white);
final CategoryPlot plot = (CategoryPlot) chart.getPlot();
plot.setBackgroundPaint(Color.lightGray);
plot.setRangeGridlinePaint(Color.white);
// customise the range axis...
final NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();
rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
rangeAxis.setAutoRangeIncludesZero(true);
// customise the renderer...
final LineAndShapeRenderer renderer = (LineAndShapeRenderer) plot.getRenderer();
// renderer.setDrawShapes(true);
renderer.setSeriesStroke(0, new BasicStroke(2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,1.0f, new float[] {10.0f, 6.0f}, 0.0f));
renderer.setSeriesStroke(
1, new BasicStroke(
2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
1.0f, new float[] {6.0f, 6.0f}, 0.0f
renderer.setSeriesStroke(
2, new BasicStroke(
2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
1.0f, new float[] {2.0f, 6.0f}, 0.0f
// OPTIONAL CUSTOMISATION COMPLETED.
return chart;
public static void main(final String[] args) {
final STATSGRAPH demo = new STATSGRAPH();
demo.pack();
RefineryUtilities.centerFrameOnScreen(demo);
demo.setVisible(true);
}

return dataset;
     * Creates a sample chart.
     * @param dataset  a dataset.
     * @return The chart.
    private JFreeChart createChart(final CategoryDataset dataset) {
        // create the chart...
        final JFreeChart chart = ChartFactory.createLineChart(
            "Xipx Statistics Graph",       // chart title
            "Time ",                    // domain axis label
            "Calls ",                   // range axis label
            dataset,                   // data
            PlotOrientation.VERTICAL,  // orientation
            true,                      // include legend
            true,                      // tooltips
            false                      // urls
        // NOW DO SOME OPTIONAL CUSTOMISATION OF THE CHART...
//        final StandardLegend legend = (StandardLegend) chart.getLegend();
  //      legend.setDisplaySeriesShapes(true);
    //    legend.setShapeScaleX(1.5);
      //  legend.setShapeScaleY(1.5);
        //legend.setDisplaySeriesLines(true);
        chart.setBackgroundPaint(Color.white);
        final CategoryPlot plot = (CategoryPlot) chart.getPlot();
        plot.setBackgroundPaint(Color.lightGray);
        plot.setRangeGridlinePaint(Color.white);
        // customise the range axis...
        final NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();
        rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
        rangeAxis.setAutoRangeIncludesZero(true);
        // * JFREECHART DEVELOPER GUIDE                                               *
        // * The JFreeChart Developer Guide, written by David Gilbert, is available   *
        // * to purchase from Object Refinery Limited:                                *
        // * http://www.object-refinery.com/jfreechart/guide.html                     *
        // * Sales are used to provide funding for the JFreeChart project - please    *
        // * support us so that we can continue developing free software.             *
        // customise the renderer...
        final LineAndShapeRenderer renderer = (LineAndShapeRenderer) plot.getRenderer();
//        renderer.setDrawShapes(true);
        renderer.setSeriesStroke(0, new BasicStroke(2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,1.0f, new float[] {10.0f, 6.0f}, 0.0f));
        renderer.setSeriesStroke(
            1, new BasicStroke(
                2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
                1.0f, new float[] {6.0f, 6.0f}, 0.0f
        renderer.setSeriesStroke(
            2, new BasicStroke(
                2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
                1.0f, new float[] {2.0f, 6.0f}, 0.0f
        // OPTIONAL CUSTOMISATION COMPLETED.
        return chart;
     * Starting point for the demonstration application.
     * @param args  ignored.
//    public static void main(final String[] args) {
//        final LineChartDemo1 demo = new LineChartDemo1();
//        demo.pack();
//        RefineryUtilities.centerFrameOnScreen(demo);
//        demo.setVisible(true);
}return dataset;
* Creates a sample chart.
* @param dataset a dataset.
* @return The chart.
private JFreeChart createChart(final CategoryDataset dataset) {
// create the chart...
final JFreeChart chart = ChartFactory.createLineChart(
"Xipx Statistics Graph", // chart title
"Time ", // domain axis label
"Calls ", // range axis label
dataset, // data
PlotOrientation.VERTICAL, // orientation
true, // include legend
true, // tooltips
false // urls
// NOW DO SOME OPTIONAL CUSTOMISATION OF THE CHART...
// final StandardLegend legend = (StandardLegend) chart.getLegend();
// legend.setDisplaySeriesShapes(true);
// legend.setShapeScaleX(1.5);
// legend.setShapeScaleY(1.5);
//legend.setDisplaySeriesLines(true);
chart.setBackgroundPaint(Color.white);
final CategoryPlot plot = (CategoryPlot) chart.getPlot();
plot.setBackgroundPaint(Color.lightGray);
plot.setRangeGridlinePaint(Color.white);
// customise the range axis...
final NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();
rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
rangeAxis.setAutoRangeIncludesZero(true);
// * JFREECHART DEVELOPER GUIDE *
// * The JFreeChart Developer Guide, written by David Gilbert, is available *
// * to purchase from Object Refinery Limited: *
// * http://www.object-refinery.com/jfreechart/guide.html *
// * Sales are used to provide funding for the JFreeChart project - please *
// * support us so that we can continue developing free software. *
// customise the renderer...
final LineAndShapeRenderer renderer = (LineAndShapeRenderer) plot.getRenderer();
// renderer.setDrawShapes(true);
renderer.setSeriesStroke(0, new BasicStroke(2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,1.0f, new float[] {10.0f, 6.0f}, 0.0f));
renderer.setSeriesStroke(
1, new BasicStroke(
2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
1.0f, new float[] {6.0f, 6.0f}, 0.0f
renderer.setSeriesStroke(
2, new BasicStroke(
2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
1.0f, new float[] {2.0f, 6.0f}, 0.0f
// OPTIONAL CUSTOMISATION COMPLETED.
return chart;
* Starting point for the demonstration application.
* @param args ignored.
// public static void main(final String[] args) {
// final LineChartDemo1 demo = new LineChartDemo1();
// demo.pack();
// RefineryUtilities.centerFrameOnScreen(demo);
// demo.setVisible(true);

Similar Messages

  • Cannot view the HTML preview

    When I try to view the HTML preview after creating the presentation it is giving the following error:
    Cannot Preview BPM Object Presentation.The BPM Object has errors that need to be resolved.
    thanks,
    Regards,
    Archana

    Hi,
    I tried that way but it couldn't work.
    It is giving the following error
    Cannot Preview BPM Object Presentation.The BPM Object has errors that need to be resolved.
    Illegal character in path at index 12: file:/C:/New Folder/cd-1/New Folder/webapps/workspace/
    java.net.URISyntaxException: Illegal character in path at index 12: file:/C:/New Folder/cd-1/New Folder/webapps/workspace/
         at java.net.URI$Parser.fail(Unknown Source)
         at java.net.URI$Parser.checkChars(Unknown Source)
         at java.net.URI$Parser.parseHierarchical(Unknown Source)
         at java.net.URI$Parser.parse(Unknown Source)
         at java.net.URI.<init>(Unknown Source)
         at java.net.URL.toURI(Unknown Source)
         at fuego.designer.formdesigner.actions.HtmlPreviewAction.performShowHTMLPreview(HtmlPreviewAction.java:124)
         at fuego.designer.formdesigner.actions.HtmlPreviewAction.runAction(HtmlPreviewAction.java:83)
         at fuego.designer.formdesigner.actions.FormDesignerAction.actionPerformed(FormDesignerAction.java:43)
         at fuego.ui.peer.swt.SwtToolBarItem$AdapterListener.executeAction(SwtToolBarItem.java:251)
         at fuego.ui.peer.swt.SwtToolBarItem$AdapterListener.handleEvent(SwtToolBarItem.java:239)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
         at org.eclipse.core.launcher.Main.run(Main.java:977)
         at org.eclipse.core.launcher.Main.main(Main.java:952)
    Regards,
    Archana

  • Viewing an HTML file in a portlet &

    Dear reader:
    I need to view an HTML file in a portlet according to a specified parameter passed via URL address, can i use url.display_url or not, and how? and if not what should i use?
    and related to that how can i call a portlet (or a page published as portlet)to override an existing one (programatically)?
    thank you for your time.

    Check out the multi page portlet in the February PDK for an example of how to display a second portlet in place of the first portlet. As for your first question, please try posting your question to the Oracle Portal Development Kit (PDK) forum, where you'll find the expertise you require.

  • View the html source code of an apex page

    Hi everyone,
    I search to how I can view the html source code of an apex page and to be able to modify it. That's why viewing the html source code from the browser when the application is running doesn't arrange me.
    Has anyone an idea how it can this be possible?
    Best regards,

    Khadija Khalfallah wrote:
    Hi everyone,
    I search to how I can view the html source code of an apex page and to be able to modify it. That's why viewing the html source code from the browser when the application is running doesn't arrange me. What do you mean?
    Do you want to be able to pull up the HTML source generated by Apex, modify that copy, and then feed it back into Apex with the chagnes you made? If so you can't. Apex generates the HTML through its tools and you have to modify the generation routines to get different HTML.
    Do you merely want to look at the generated HTML? In Internet Explorer all you have to do is right click on the page and choose View Source to open a window with the HTML source in an editor. I sometimes find it useful to save a page and manually edit the copy to immediately see the effects of certain changes to the underlying HTML and/or Javascript without permanantly making the change in Apex.

  • View DW html web pages in Bridge?

    My apologies if this is deemed as a “double
    post”, but my question has been on the Bridge Forum for over
    a week with no response. Hopefully someone can assist.
    Am I able to view htm / html web pages from my Dreamweaver
    local site as thumbnail previews in Bridge CS3?
    Initially when I installed the CS3 suite and was just
    glancing through Bridge, I thought I was able to view the thumbnail
    previews of these pages, but now that I am utilizing Bridge more as
    tool, all I see is the IE7 icon for web pages on my local site
    (local hard drive). Image files all show up okay. I may be mistaken
    and was never able to view the web pages as thumbnail previews, but
    a definitive answer would certainly be helpful as I have been
    searching the FAQ section, the knowledge base and the forums
    without finding the proper topic.
    I have tried resetting the preferences and deleting the cache
    in Bridge.
    (CS3 Design Premium; Windows XP SP2; P4 3.0 GHZ; 2GB RAM)
    Thanks.

    Can I install Xcode for Windows?
    Is there any other method to test the application using safari browser of ipad in Windows?
    Pls help us on the same.

  • Unable to view local HTML content from "Help Content Only" SSL  iFrame

    Hi
    Can anyone confirm whether it is possible to view local HTML files within an iFrame when generating Help Content Only SSL content which is also locally deployed?
    I have had no problem viewing local html files from within an iFrame with a locally viewed Browser-Based Help project but despite trying a number of variations on the syntax, I simply cannot obtain the same result from a Help Content Only SSL that is then incorporated within a merged help system. I can however create hyperlinks to view local content using the following syntax (file:/C:\folderName\fileName.html - the only drawback for local preview is that you must right-click and select "open in new tab"). Essentially, I am trying to eliminate the requirement to have to right-click and open in new tab to view local html files.
    The project I am working on is deployed both locally and remotely and this whole process is necessary for emergency management and business continuity purposes.
    I hope my explanation isn't too convoluted and would be glad to clarify it further if required. I would appreciate any assistance!

    Hi John
    I appreciate you and Peter obtaining this  information from Adobe and I appreciate your continuing patience in  trying to understand what I am doing.
    I will start  from the beginning and hopefully clarify my process when deploying my  application locally (my remote process differs somewhat but is not  germane to this discussion). Obviously this will contain some repetition from previous posts but I hope it helps...
    The project itself integrates content created from Adobe RoboHelp with content created within Adobe Dreamweaver
    First, I should mention that I am using RoboHelp 8 as I don't believe I have addressed which version I am using. There's nothing particularly unusual about the project itself.
    Utilizing Dreamweaver I have created a self-contained HTML-only (no server-side functionality) website which is placed at the root level of the C: drive
    Within the RoboHelp project I create a hyperlink to access the local HTML files from the RoboHelp topic pages. The process I use to do so is from within the HTML view of the specific topic page and I use the following file path: "file:/C:\folderName\fileName.html". The only end-user requirement is that they must right-click and select "open in new tab", otherwise the link does not work. Please note, this is ONLY required for accessing the local HTML files.
    I output my RoboHelp project using the Adobe Air SSL, with the output type set to "Help Only Content" which creates the .rha files. I utilize multiple .rha files within my project as each .rha file constitutes a module specific to an individual municipality (in my particular instance)
    I use the Help Viewer Wizard from the RoboHelp "Toolbox" pod to create what I refer to as the "shell" .air file. Once the "shell" .air file created from the Help Viewer Wizard is  installed, it creates a shortcut on my desktop.
    I place an XML .helpcfg file within the directory on C:Program Files where my "shell" .air file has been installed to reference each .rha module which must be placed at the root level of the C: drive in order to be properly referenced by the .helpcfg file
    By double-clicking on the desktop shortcut created in Step 6 it opens the "shell" module which, in turn, loads in each individual .rha file which can be accessed individually from the drop-down menu in the top-right corner
    Why do I do it this way?? My organization severely restricts admin privileges on our workstations. We have one IT person / several hundred officers so I needed to create a system where the only time we need IT assistance is in the initial installation of the "shell" .air file created from the Help Viewer Wizard and placement of the .helpcfg file within the C: Programs folder. Once this is done, because the .rha files are on the C: drive, I can swap these out and update as necessary (we currently have an annual renewal cycle) and we require no further IT intervention. The local system I have just described has hyperlinks to the online browser-based help so that users can also access it and see any content updates made throughout the course of the school year
    Having said all that, based on the model I have just described, I have been trying to create iFrames from within my RoboHelp 8 topic pages (placed on my C: drive) to access the local HTML Dreamweaver site (also on my C: drive). The problem I have been having is that the resultant iFrames display only a blank white page and I have tried a number of variations on the syntax of the file path without success.
    The process I have been using to create the iFrame is as follows:
    In Design view, select Insert >> HTML >> iFrame
    In the iFrame dialog box, provide a name for the iFrame and then navigate to the local file on my C: drive level Dreamweaver HTML-only website that I want to link to.
    Click "Apply" and from the resulting dialog box states that "This action will create an external link to the help system... Do you want to continue?", I click "Yes"
    The resultant file path is "../../../../../folderName/fileName.html" which obviously won't work but I have created the iFrame and now I switch over to HTML view and insert the file path that I have been using for the hyperlinks ("file:/C:\folderName\fileName.html"). I also modify the width to 100% and the height to 1000 px
    The user is not being directed to a different domain. So, if as Adobe states, that iFrames are "supported in local AIR Help (.rha) as well" then I don't know why it will not work for me. Again, this is the file path that allows me to create a hyperlink which will access my local Dreamweaver HTML files: "file:/C:\folderName\fileName.html" so if that syntax works for a hyperlink, why will it not work for the iFrame?
    The videos I referenced are also contained within the local Dreamweaver HTML site
    My usage of the term "merged help" may have been unclear and hopefully steps 1-8 outline what I am doing
    Again, I am very grateful to all who have joined this discussion to try to help me! I think it should be manifestly evident by now that I am self-taught and basically that's the only excuse I can offer in my defense for my poor articulation. Not too many years ago I wanted nothing whatsoever to do with computers!

  • How to create thumbnail view for html files

    hi,
    I want to create thumbnail view for html files, not for image files.. can we treat html files as images..
    Anybody help me..

    You can right click on your Desktop and select New Folder.  In Finder File > New Folder should work too, not in front of my Mac.
    Welcome to back by the way.  You might find these websites helpful.
    Switch 101
    Mac 101

  • Can't install Updater and view my HTML page online!

    Hi all,
    I do have the most recent version of Macromedia Dreamweaver
    MX 2004 ver. 7.0.1. But I was trying to install the updater anyway.
    As I was trying to install the Updater I received a Severe Error
    message which says: "This folder does not contain Dreamweaver MX
    2004." This happens when I choose the destination as to where I
    should install the files. And I do have Dreamweaver installed on my
    machine. Although I probably don't need the updater, I wanted to
    install it because I am having problems viewing my html file (which
    embeds an swf) when I upload it to the server. I can view it
    locally but when I view the page online, it just hangs there
    forever.
    I sent my html file to someone else and she was able to
    upload it to her server and when I viewed her source code, I
    noticed that she had some JavaScript. When I asked her about it,
    she said that the JS file that's in the html was automatically
    added by Dreamweaver to overcome the Microsoft click to activate
    limitation. The script writes the Flash embed code to the page
    dynamically. That didn't happen for me, so I'm confused as why my
    html page which embeds Flash can't be viewed online correctly.
    Please help! Thanks!

    "This folder does not contain Dreamweaver MX 2004."
    That only means that it doesn't contain DW7.0 - which you
    already know.
    Since you have already updated to 7.0.1, this is the expected
    error message
    when you try to update again.
    > it just hangs there forever.
    Post a link to the page, please.
    > I sent my html file to someone else and she was able to
    upload it to her
    > server and when I viewed her source code, I noticed that
    she had some
    > JavaScript. When I asked her about it, she said that the
    JS file that's in
    > the
    > html was automatically added by Dreamweaver to overcome
    the Microsoft
    > click to
    > activate limitation.
    Not if you are using 7.0.1 it doesn't. A look at your page
    would reveal
    all, though.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "respondplease" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi all,
    >
    > I do have the most recent version of Macromedia
    Dreamweaver MX 2004 ver.
    > 7.0.1. But I was trying to install the updater anyway.
    As I was trying to
    > install the Updater I received a Severe Error message
    which says: "This
    > folder
    > does not contain Dreamweaver MX 2004." This happens when
    I choose the
    > destination as to where I should install the files. And
    I do have
    > Dreamweaver
    > installed on my machine. Although I probably don't need
    the updater, I
    > wanted
    > to install it because I am having problems viewing my
    html file (which
    > embeds
    > an swf) when I upload it to the server. I can view it
    locally but when I
    > view
    > the page online, it just hangs there forever.
    >
    > I sent my html file to someone else and she was able to
    upload it to her
    > server and when I viewed her source code, I noticed that
    she had some
    > JavaScript. When I asked her about it, she said that the
    JS file that's in
    > the
    > html was automatically added by Dreamweaver to overcome
    the Microsoft
    > click to
    > activate limitation. The script writes the Flash embed
    code to the page
    > dynamically. That didn't happen for me, so I'm confused
    as why my html
    > page
    > which embeds Flash can't be viewed online correctly.
    >
    > Please help! Thanks!
    >
    >
    >

  • Can J2ME view a html page?

    I wan`t to make a J2ME programm that allow me to connect to a server, and view an *.html page from it.
    I have done the http connection, but when I try to view the html page, it appears as html source code.
    My question is: Can`t J2ME view a html page?
    I have sun`s J2ME wireless toolkit to compile my code.

    Does anybody know the answer??
    Please, help me.

  • Viewing downloaded html-code in a webview -AppleEventhandler failed(-10000)

    I am trying to view downloaded html-code in a webview in AppleScript Studio. Showing the raw html text in the textwindow works ok, but I am getting an error message trying to output the code to the webview.
    I really googled for a solution to this before posting, but haven´t found anything.
    It´s the last line "call method "loadHTMLString:baseURL:"....." that is giving me the error.
    What´s wrong?
    on launched theObject
    -- this downloads the source from www.google.com into the variable myhtml
    -- and displays the source in a text view window:
    set myhtml to do shell script "curl www.google.com"
    set contents of text view "textwindow" of scroll view "textwindow" of window "textwindow" to myhtml
    -- this should give a variable that points to the webview in the webview window
    -- everything in this window is labeled "webwindow" in the applescript properties in IB:
    set webwindow to call method "mainFrame" of object (view "webwindow" of window "webwindow")
    call method "loadHTMLString:baseURL:" of webwindow with parameters {myhtml, null}
    end launched
    AppleScript Error
    AppleEvent handler failed. (-10000)
    [Session started at 2008-12-30 14:09:48 +0100.]
    2008-12-30 14:09:49.395 webkladd2[15485:10b] * -[NSCFNumber absoluteURL]: unrecognized selector sent to instance 0x2cea40
    2008-12-30 14:09:49.397 webkladd2[15485:10b] An exception was thrown during execution of an NSScriptCommand...
    2008-12-30 14:09:49.399 webkladd2[15485:10b] * -[NSCFNumber absoluteURL]: unrecognized selector sent to instance 0x2cea40

    Hello
    IF I'm not mistaken, you should provide "http://www.google.com/" for baseURL of your html source obtained from "http://www.google.com" unless this page defines its own base.
    So you might try something like -
    --SNIPPET
    set myhtml to do shell script ("curl " & "http://www.google.com")
    set nsstring to call method "stringWithString:" of class "NSString" with parameter "http://www.google.com/"
    set urlstring to call method "stringByAddingPercentEscapesUsingEncoding:" of nsstring with parameter 4 -- UTF-8
    set nsurl to call method "URLWithString:" of class "NSURL" with parameter urlstring
    set webwindow to call method "mainFrame" of object (view "webwindow" of window "webwindow")
    call method "loadHTMLString:baseURL:" of webwindow with parameters {myhtml, nsurl}
    --END OF SNIPPET
    cf.
    http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic /
    Snippet is NOT tested, though I did go by the book as best I could.
    Good luck,
    H

  • A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

    I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view
    <iframe>
    <table>
    <tr>
    <td>
    <treeview id="tv1"></treeview>
    </td>
    </tr>
    </table>
    </iframe>
    In UIA, i am able to traverse till the tree view but not able to see it.
    I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 
    I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 
    i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.
    But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 
    Please help me with suggestions or inputs to resolve this issue. 

    Thanks Bernard,
    It works fine with JInitiator but not working with
    the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
    i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
    Thx and Regards
    dkklau

  • Webelements : does not support when i add the data sourcce& view in HTML

    hi Masters,
    i am using sap crystal reports 2008 and when i add the data source and add tables to the report and i use web elements functions as my selection screen then it does not show i mean the script remains as it is and when i take out my data source
    then it works when i view it in HTML VIEWR.
    how can i make it to work despite me using the data soruce.
    thank you,
    pasala

    hi Pasala,
    this is due to the sap integration kit which does not support pass-through html. webelements require pass-through html in order to show up as html.
    here's what you can try though:
    1) install the latest sap integration kit on your boe system machine(s)
    2) if the above does not solve the issue follow the steps at the bottom of [this thread|WebElements: HTML not rendering when using Bex Query as Source]
    3) if 2 above doesn't work then see [this thread |Re: WebElements only show HTML tags (even after following WebElement guides)]as a last resort
    hopefully step 1 & step 2 will solve the issue.
    jamie

  • View in html?  trying to embed object

    hi i am trying to embed an object from a website
    it is a music store for my band
    how would i embed it? its just coming up as html code
    can i view my website as html to include it?
    thanks

    Jessica ~ With iWeb 1 you'll need to do some post-publishing editing of the HTML files of your published site in order to embed custom HTML. And you'll have to do that editing +each time you change your site+. This can be done manually ~ in iWeb, you would publish your site to a folder, then edit the files using, say, +Taco HTML Edit+:
    http://tacosw.com/index.php
    ...or there are some other tools to help, e.g.
    http://iwebmore.ctrl-j.eu/iWebMore.html
    http://web.mac.com/cbrantly/iWeb/Software/iWeb%20Enhancer.html
    You won't need to do post-publishing editing if you upgrade to iLife'08 ~ you can use iWeb 2's +HTML Snippet+ feature to easily add custom HTML:
    http://www.apple.com/ilife/iweb/#widgets
    ...This would be the best way.

  • Centre not working in Dreamweaver Design View (CSS+HTML)- Preview OK- help!

    Hi there
    I am having a slight problem with DW which I have had before, and fixed, but I cant for the life of me remember how I fixed it.  So any help is much appreciated.
    I am producing a proof site for a client and cannot load it to be live just yet so sorry for any inconvience but I have taken some screen shots and will paste code/html.
    The site is currently sitting like this  in the design view of DW
    [IMG]http://i1200.photobucket.com/albums/bb323/SKH_Design/Picture1-1.jpg[/IMG]
    Which it usually doesnt.... its usually centred within the design view!!
    this is how it sits in the preview
    [IMG]http://i1200.photobucket.com/albums/bb323/SKH_Design/Picture2.png[/IMG]
    My main page container is margin left auto and so is the margin right.
    (please excuse my experiment with the drop shadow behind the main container)
    please excuse me if anything is messy, im pretty new to this!!
    Thanks, Sarah
    Code -
    <style type="text/css">
        <!--
        @import url("styles/base.css");
    body {
        background-image: url(images/backgroundred.jpg);
        background-repeat: no-repeat;
        -->
    </style>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body leftmargin="float">
    <div class="shadow">
    <div class="pagecontainer">   
                <!-- navigationbarstart -->
                <div class="topbarcontainer"><img src="images/pb-topbanner.jpg" width="800" height="126"></div>
                        <div class="navigationbar"> <img src="images/pb-linkbar1.jpg" width="353" height="34"><img src="images/pb-linkbar2home.jpg" width="87" height="34"><img src="images/pb-linkbar3products.jpg" width="198" height="34"><img src="images/pb-linkbar4offers.jpg" width="161"                                                                                                                                                                                                 height="34"></div>
                                <!--navigationbarend-->
                                <!--flashanimation-->
                                <div class="flashcontainer">
                                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="257" id="FlashID" title="paulburtonflash">
                                    <param name="movie" value="flashfiles/paulburtonflash.swf" />
                                    <param name="quality" value="high" />
                                    <param name="wmode" value="opaque" />
                                    <param name="swfversion" value="6.0.65.0" />
                                   <param name="expressinstall" value="Scripts/expressInstall.swf" />
                                    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                                    <!--[if !IE]>-->
                                    <object type="application/x-shockwave-flash" data="flashfiles/paulburtonflash.swf" width="800" height="257">
                                  <!--<![endif]-->
                                  <param name="quality" value="high" />
                                  <param name="wmode" value="opaque" />
                                  <param name="swfversion" value="6.0.65.0" />
                                  <param name="expressinstall" value="Scripts/expressInstall.swf" />
                                  <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                                  <div>
                                    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                                    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                                </div>
                                  <!--[if !IE]>-->
                                </object>
                                    <!--<![endif]-->
                                  </object>
                                </div>
                                <!--flashanimationend-->
                       <!--mainbackground-->
                       <div class="mainbackground">
                       <!--maintext-->
                        <div class="homepagetext">
                        Established in 1980, we are a drinks wholesale business, based in the Scottish Borders which prides itself on being able to provide alcoholic and soft drinks in whatever quantity you require at outstanding prices and on time.<br><br>
    We deliver 7 days a week and offer a free, prompt delivery service, by our own staff in the Borders, East Lothian and Midlothian.<br><br>
    <div class="textspacer1"></div>
    <div class="textsixe16">We have regular promotions - click here to view our latest special offers</div>
                        </div>
                        <!--endofmaintext-->
                        <div class="homepageimage">
                        <img src="images/pb-home-mainimage.jpg" width="328" height="219"></div>
                        </div><!--endofmainbackground-->
          <div class="bottombar">
                  <div class="bottombartext">
                    Paul Burton Drinks Wholesale, Pinnaclehill Industrial Estate, Kelso, Scottish Borders, TD5 8DW
                </div>
          </div>
    </div>       
    </div>
    </body>
    </html>
    CSS -
    @charset "UTF-8";
    /* CSS Document */
    .shadow{
    width:840px;
    margin-left:auto;
    margin-right:auto;
    background-image:url(../images/editableshadow.png);
    background-repeat:repeat-y;
    .pagecontainer{
        width:800px;
        height:auto;
        margin-right:auto;
        margin-left:auto;
    .topbarcontainer{
        width:800px;
        height:126px;
    .navigationbar{
        width:800px;
        height:34px;
        float:left;
    .flashcontainer{
        width:800px;
        height:257px;
        float:left;
    .mainbackground{
        width:800px;
        height:349px;
        float:left;
        background-image:url(../../CL%20-%20New%20Ideas/Images/pb-home-background.jpg);
        background-repeat:no-repeat;
    .homepagetext{
        width:372px;
        height:275px;
        float:left;
        margin:50px 0px 0px 50px;
        font-family:Arial, Helvetica, sans-serif;
        font-size:14px;
        color:#FFF;
    .textsixe16{
        font-size:16px;
        font-weight:bold;
    .textspacer1{
        height:15px;
        width:5px;
        color:#d6f3fc;
    .homepageimage{
        width:328px;
        height:219px;
        float:left;
        padding:50px 0px 0px 20px;
    .bottombar{
        width:800px;
        height:59px;
        float:left;
        background-image:url(../../CL%20-%20New%20Ideas/Images/pb-home-bottombar.jpg);
        background-repeat:no-repeat;
    .bottombartext{
        width:600px;
        height:17px;
        float:left;
        font-size:12px;
        font-family:Arial, Helvetica, sans-serif;
        color:#000;
        padding:25px 0px 0px 50px;

    "<body leftmargin="float">"
    Can you say what that's doing? "float" is not a legal value for the leftmargin style, which requires an integer value.  But its use is deprecated in favor of CSS anyhow.
    Your pasted code is lacking a doctype or anything that would normally be above that stylesheet link.  Is that just an oversight or is it really not there?

  • Logo Overlaps with Data when viewed in HTML mode

    Hi,
    My report looks weird when I view the report in HTML mode i.e., my report logo overlaps with the report Row headers but when i view the same report in Java Applet mode report looks good and also when I export the report it looks good.
    I tried deleting the logo & adding a new logo & I even changed the settings of the logo & also I cleared cache of my browser, etc. I tired many options but nothing seems to work. Only couple of reports have this kind of issue & rest other reports looks good.
    Did anyone faced this kind of issue before? Is it a tool bug?
    FYI, I am using BO 4.0 SP5.
    FYI, I have created Logo by creating a blank cell in the Header of the report., then right click on blank cell and select “Format Cell”. In the formal Format Cell window click on Appearance and click on Radio Button “Image from URL” then type boimg://reportimage.jpg
    Thanks & Regards.
    Naveen.

    See if one of these program will kick it out of recovery mode:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    Next, restore the the iPod and see if you can get any data off the restored iPod
    via How to perform iPad recovery for photos, videos
      Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official

Maybe you are looking for

  • Avoiding sync on multiple computers

    i sync my iphone to home, but plug it in at work to charge it. when i disable auto-sync at work, it disables it at home and vice versa. is there a way to cancel the auto-sync at work and maintain the auto-sync at home? ie, override the phone's prefer

  • How do I get the GidBagLayout location from my buttons?

    How could I get the location of my JButtons (or JLabels) in my GridBoxLayout? I've tried all that I could think of.. here some code sample JButton button;     GridBagLayout layout = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints()

  • Bug? SQL server 7 - Oracle 8i stored procedures

    I'm having a problem converting some SQL 7 stored procedures to Oracle using MW. The cursor definition appears to be garbage in some cases. See example as follows: *********** SQL 7 stored procedure ********* CREATE PROCEDURE CLCClaim /* Procedure: C

  • BPS-dynamic columns-single value in the planning level.

    Hello, we would like to use a compound characteristic in dynamic colums. Based on test and documentation we already know that we can use compound characteristics in dynamic columns only if the higher-level characteristic is restricted to a single val

  • Oracle Openworld 2007 moved from San Francisco?

    I was googling for Oracle Openworld 2007, and noted that OOW 2007 is not being held in San Fransicso this year: Oracle OpenWorld 2007 September27th-29th, Lalandia Why has it been moved from San Francisco? http://miracleas.dk/images/upload/MOOW07/MOOW