HTML in Swing Tutorial/Help

I'm looking for a tutorial or just help here on how to display an HTML file in a swing component.

http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html
These components won't be able to display anything but the most basic HTML page. I've seen better components out there (you will have to search).
When I needed to do this, I used the browser itself. I had an applet in one frame which sent html to the other frame via javascript.

Similar Messages

  • I have trouble with swing tutorial demos

    I 'm trying swing tutorial. I already have downloaded the IconDemo in zip format. Compilation and execution are Ok but the application hasn't show anyimage.
    I have done with other appplication about Icon image, and it occur the same. Can anybody help me?

    in IconDemoApp change this
    private String imagedir = "images/";
    to
    private String imagedir = "../images/";recompile/rerun

  • A question for the copyright for the swing tutorial

    Hello,
    I'm using (verbatim) the http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/ColorEditor.java from the swing tutorial that is from the same named book.
    What should i do in order to not violate the attached copyright?

    Mladen,
    With all due respect, Oracle is providing their software free for evaluation (otherwise playing around at home and letting companies play with it for 30 days to show how it womps on MS SQL et al.) purposes only. Their product is a commercial product and asking you to join OTN to download it, helps them enforce that individuals are using it for only these purposes. Allowing anonymous access means that they have no idea of where there software is going and what it is being used for. I dont know if you have priced out Oracle but if you have, I think you would come to the conclusion that it is a tad expensive to purchase, just for learning and throwing it on a resume. They are asking that you be accountable and responsible for upholding your end of the agreement and not using it in manners other than specified. I think that is a reasonable request for access to software of this caliber. You do not see MS giving away Dev Studio or MS SQL for the price of a little user information now do you.
    null

  • Swing Tutorial - ProgressMonitors

    I was looking at the java examples on the Swing Tutorial examples in regard to using ProgressMonitors, and I was wondering whether the variables that are being modified (i.e. task in this case), whether they should be set as volatile, since wouldn't they be altered in different threads?
    thread 1:
    keeps altering the value of where the progress bar should be.
    thread 2:
    using the cached version of this value (since not volatile), not realising that it is updating, and so the status bar stays in the same location?
    Can anyone clear this up please? Am I just very confused?
    Many thanks,
    Edward

    Looking at the examples (ProgressBarDemo.java) at http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html, it looks like neither ProgressBarDemo.java or LongTask.java are using volatile. They're not even declaring their methods synchronized. I don't think it matters, as long as only one thread will ever be writing the variable value. If the progress bar thread reads it at the wrong time, it will just get the old value of the variable, right before it is updated by the task thread.
    I don't think you need to worry about volatility unless both threads are working on the same variable in the same scope. For instance, if you progress bar thread is calling a getProgressValue() type method on a task object (as in the tutorial code), the value will be returned fresh from the method, and will not be cached. However, if your task thread is writing a progress value directly into the scope of the progress bar thread, your progress bar thread might not get the new value unless the value is declared volatile.
    That's just my take after Googling "java volatile" and reading a bit on it. I've never had to use the volatile keyword before. I think generally it is better to avoid situations where you would have to use it. For instance, make the progress bar thread retrieve the value through a method call from the task object, as in the example.
    Nick

  • Code from swing tutorial

    hi this is code from sun's swing tutorial (http://java.sun.com/docs/books/tutorial/uiswing/learn/example1.html )
    import javax.swing.*;       
    public class HelloWorldSwing
    private static void createAndShowGUI()    // why it is private ??
            JFrame.setDefaultLookAndFeelDecorated(true);
            JFrame frame = new JFrame("HelloWorldSwing");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JLabel label = new JLabel("Hello World");
            frame.getContentPane().add(label);
            frame.pack();
            frame.setVisible(true);
       public static void main(String[] args) {
                 javax.swing.SwingUtilities.invokeLater(new Runnable()  // what does this snippet doing ?
                public void run()
                    createAndShowGUI();
    }i have question on this code. i have put my question in the comment . in the tutorial they are advising to " Be thread safe ...what it means ?
    can anybody explain my questions ( commentation + bold letter) ?
    thanks

    i have seen swing codes which dont use threads
    like above . does it mean they are not safe ?
    what do you mean by safe ? ...does it mean program
    can crash at any time if i dont include that
    snippet ? will you be explicit in a simpler way.It is extremely unlikely that doing the following is unsafe:
    //in main thread:
    frame.pack();
    frame.setVisible(true); //unsafe?But there's no guarantee! And by unsafe, the authors mean that undefined behavior can result --
    your GUI could do anything it wanted! That being said, it's extremely unlikely that anything bad
    would result in this example -- it's too simple. I do remember someone posting once that they
    finally tracked an intermittent bug in their app to just this!
    What I do, if I'm being safe/paranoid is call a utility method I've written, instead of calling setVisible
    in the above code:
    public static void postVisible(final JFrame f, final boolean state) {
        Runnable r = new Runnable() {
            public void run() {
                f.setVisible(state);
        SwingUtilities.invokeLater(r);
    }Problem solved!
    >
    second question was why the method was private
    static......why not public static ?(if you really
    want to make it static !!)1. Since they never instantiate HelloWorldSwing, the method had better be static.
    2. Methods should have the most restrictive scope possible. Since this is the "main" class
    that launches its own GUI, no other class needs to see createAndShowGUI, so it is private.

  • How to print the Swing Tutorial

    what's the best practise to print e.g. Creating a GUI With JFC/Swing tutorial ?
    Are the Sun Java Tutorials available in PDF format also ?

    opera02 wrote:
    what's the best practise to print e.g. Creating a GUI With JFC/Swing tutorial ?I think the best practise is to download the entire Java tutorial to your local disks so it can be consulted any time you want, complete with links and the browser ability to 'find' text in the pages.
    Or better still, create a build file that will stamp out the Java Tutorial as a Java Help document set. It is not only viewable, but easily searchable for keywords etc.
    The only thing I can see that makes the tutorial in any way printable, is that it apparently has a print stylesheet attached that hides the links on the left of the the page.
    Why kill more trees, over something that is better viewed using a browser or (the JavaHelp) HelpSet viewer?
    Edit 1:
    BTW - Welcome to the Sun forums.
    Edited by: AndrewThompson64 on Mar 6, 2010 2:30 AM

  • Java tutorial - helps, problem  is i don't understand the API

    I don't understand the JAVA Tutorials or the API

    Take two steps back.
    Buy a book on basic Java Programming. You need to understand the concepts behind programming before you should start reading the API.
    But kudos for at least trying to read the API.
    Now look at the column on the left, and follow the link called [url http://developer.java.sun.com/developer/onlineTraining/] Tutorials 
    and then the link titled [url http://java.sun.com/docs/books/tutorial/index.html]The Java Tutorial (Java Series).
    And finally read through the sections starting with [url http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html]Your First Cup of Java.
    Then once you have been through all of that, come back and ask for clarification
    on any specific points that you have trouble understanding.
    Finally (Because the Finally always gets executed) Try taking a class in java programming.
    regards

  • Best Swing tutorial?

    I've always wanted to get into Swing, but I have two left feet.
    Okay, so in all seriousness I was wondering what you think the best Swing tutorial is? I'd prefer online to paper, but I'm open to any suggestions. As to what I want to do with Swing, I really can't say other than that I want to learn the basics. I've developed a lot of apps with user interfaces on the web and I want to try developing an app that doesn't require a web server or other overhead for a change.
    So, who would you Swing with?

    Hi everyone,
    If you ask me i would say
    If you ask me i would say sun's official swing
    tutorial. But if you find a better one let me know as
    well
    Richard WestNow if only you were smart enough to see that he posted the question in the swing forum (and properly provided a link to it by the way), you would have perhaps been apt to answer him over there instead of here, you idiotic troll you.

  • What happened to the Swing Tutorial?

    How should one be able to launch the Java Web Start demos, if they require 6 (which is beta...). Should one be forced to install a beta version of software to browse a website? Dude, bring it back to 1.5.x or make the 6 the official (and easily installable) JRE, that is, people should be able to install it @ http://www.java.com (still installing 1.5.07 or something).

    Here is a copy of an email I sent:
    URGENT: A link to the Java Swing Tutorial 1.5 please!!! (and a link to the swing tutorial1.4 too!)
    The only version of the Java Swing Tutorial currently available is 1.6. Do you realise how HUGE a problem this is? I, and most others I assume, refuse to install a beta version of the JRE just to learn swing. This renders the swing tutorial next to USELESS for 99% of the people. Worse than useless, this situation is potentially very damaging to the future of Java as a whole.
    The problem is not simply that the Java Webstart demos will not run, it is that it is far too early to expect developers to be implementing new java 1.6 features, yet newbies will think that these features are the status quo, and in result will produce software that will not run on 99% of machines, at least until java 1.6 becomes an official release (which is when??). Swing is an immensely important part of Java application development and I'd guess that up to half of all Java programmers consult the Swing Tutorial frequently.
    Mac OS still uses JRE 1.4 by default. Macs might be only used by less than 5% of all users, but for certain applications (such as multimedia, music and graphics), Macs have a significant market share.
    I can't imagine this is difficult problem to fix. Simply supply a link to swing tutorials 1.5 and 1.6 at the swing tutorial homepage. I'd also recommend encouraging newbies to use the swing 1.5 tutorial at this stage.
    I have invested a large amount of time and energy using and learning Java in the hope that one day it might become the standard programming language for desktop applications. Oversights like this, make me worry about Java's future and make me consider jumping ship.
    as a side note: do you think you have a better chance of your email being read if the subject is titled 'technical error', 'general message', or 'compliment' ?

  • Free Swing Tutorial available?

    I am looking for a free Swing tutorial or ebook. It should be for offline reading.

    The java tutorial is good. You can also get http://www.spindoczine.com/sbe/ book for free.

  • Need help with  HTML and Swing Components

    Dear All,
    I am using HTML text for Jbutton and Jlabel and MenuItem.
    But when i am trying to disable any of these, its foreground color is not being grayed out.
    For that, I have overrided the setEnable() method as mentioned below:
    import java.awt.*;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.*;
    import javax.swing.plaf.FontUIResource;
    * HtmlLabelEx.java
    public class HtmlLabelEx extends javax.swing.JDialog implements MouseListener{
         * Creates new form HtmlLabelEx
        public HtmlLabelEx(java.awt.Frame parent, boolean modal) {
            super(parent, modal);
            UIManager.put("swing.boldMetal", Boolean.FALSE);
            initComponents();
            setLayout(null);
            this.addWindowListener(new WindowAdapter()
                public void windowClosing(WindowEvent event)
                    System.exit(0);
            JLabel jLabel1 = new JLabel()
                public void setEnabled(boolean b)
                  super.setEnabled(b);
                  setForeground(b ? (Color) UIManager.get("Label.foreground") : (Color) UIManager.get("Label.disabledForeground"));
            JButton jButton1 = new JButton()
                public void setEnabled(boolean b)
                  super.setEnabled(b);
                  setForeground(b ? (Color) UIManager.get("Label.foreground") : (Color) UIManager.get("Label.disabledForeground"));
            add(jButton1);
            String str = "<html><body><b>Label</b></body></html>";
            System.out.println("str = "+str);
        jLabel1.setText(str);
        add(jLabel1);
        jLabel1.setBounds(10,10,100,20);
        jLabel1.setEnabled(false);
        jButton1.setText("<html><body><b>Button</b></body></html>");
        jButton1.setEnabled(true);
        jButton1.setBounds(10,50,100,20);
        System.out.println("getText = "+jLabel1.getText());
        setSize(400,400);
        addMouseListener(this);
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            getContentPane().setLayout(null);
            setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
            pack();
        }// </editor-fold>                       
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new HtmlLabelEx(new javax.swing.JFrame(), true).setVisible(true);
        // Variables declaration - do not modify                    
        // End of variables declaration                  
        public void mouseClicked(MouseEvent e)
            if(e.getButton() == e.BUTTON3)
                JMenuItem mit = new JMenuItem("<html><body><b>Menu Item</b></body></html>");
                JPopupMenu pop = new JPopupMenu();
                pop.add(mit);
                mit.setEnabled(false);
                pop.show(this,e.getX(),e.getY());
        public void mousePressed(MouseEvent e) {
        public void mouseReleased(MouseEvent e) {
        public void mouseEntered(MouseEvent e) {
        public void mouseExited(MouseEvent e) {
    But, I think it is difficult to write like this for each component.
    I am looking for an optimized solution so that the change will be only in one place.
    so that, It wont leads to change so many pages or so many places.
    And i have the following assumptions to do this. please let me know the possibility.
    1.Implementing custom UI class, extending the JButton/JMenuItem (As the BasicButton/MenuItemUI class does not have setEnabled() method to override) and putting this in UIManager.put("ButtonUI/MenuItemUI","CustomClass).
    2.If there is any possibility to achieve this, by just overriting any key in the UIManager
    3.By setting any client property globally.
    My requirement is to do this only at one place for entire the application.So, that we need not change all the buttoins, sya some 30 buttions are there in a dialog, then we need to override each button class.
    Please suggest me the possibilties..
    Thank you

    Hi camickr ,
    I know that to set the font we have to use component.setfont().
    But, as per my requirement,i am not setting any font to any component in my application.
    i am just passing HTML text along with FONT tags to all the components in my Application.SO, in this case we will get bold letters and that problem fixed when we set swing.boldMetal = false in UI Manager.
    But actual problem irrespective of font settings is when ever we use HTML rendered text, when the button or menuitem is disabled,then that one will not be changed to gray color. i.e., it still looks like normal controls, even it is disabled.(It is also reported as bug)
    But, as per my knowledge we can fix by overrding setEnabled or paint() methods for each and every component.
    But, if we do like that, for an application that has 200 buttons or MenuItems, it is difficult to follow that approach.
    So, We should find a way to achieve that only in one place like using UIManager or other one as i mentioned in previous posts if possible.
    I hope you understood what my problem is exactly.
    Thank You
    Edited by: sindhumourya on Mar 4, 2010 7:26 AM

  • I need to control the position and size of each java swing component, help!

    I setup a GUI which include 2 panels, each includes some components, I want to setup the size and position of these components, I use setBonus or setSize, but doesn't work at all. please help me to fix it. thanks
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.FlowLayout;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.event.*;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JTextField;
    import javax.swing.JPanel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.DefaultListModel;
    public class weather extends JFrame {
    private String[] entries={"1","22","333","4444"} ;
    private JTextField country;
    private JList jl;
    private JTextField latitude;
    private JTextField currentTime;
    private JTextField wind;
    private JTextField visibilityField;
    private JTextField skycondition;
    private JTextField dewpoint;
    private JTextField relativehumidity;
    private JTextField presure;
    private JButton search;
    private DefaultListModel listModel;
    private JPanel p1,p2;
    public weather() {
         setUpUIComponent();
    setTitle("Weather Report ");
    setSize(600, 400);
    setResizable(false);
    setVisible(true);
    private void setUpUIComponent(){
         p1 = new JPanel();
    p2 = new JPanel();
         country=new JTextField(10);
         latitude=new JTextField(12);
    currentTime=new JTextField(12);
    wind=new JTextField(12);
    visibilityField=new JTextField(12);
    skycondition=new JTextField(12);
    dewpoint=new JTextField(12);
    relativehumidity=new JTextField(12);
    presure=new JTextField(12);
    search=new JButton("SEARCH");
    listModel = new DefaultListModel();
    jl = new JList(listModel);
    // jl=new JList(entries);
    JScrollPane jsp=new JScrollPane(jl);
    jl.setVisibleRowCount(8);
    jsp.setBounds(120,120,80,80);
    p1.add(country);
    p1.add(search);
    p1.add(jsp);
    p2.add(new JLabel("latitude"));
    p2.add(latitude);
    p2.add(new JLabel("time"));
    p2.add(currentTime);
    p2.add(new JLabel("wind"));
    p2.add(wind);
    p2.add(new JLabel("visibility"));
    p2.add(visibilityField);
    p2.add(new JLabel("skycondition"));
    p2.add(skycondition);
    p2.add(new JLabel("dewpoint"));
    p2.add(dewpoint);
    p2.add(new JLabel("relativehumidity"));
    p2.add(relativehumidity);
    p2.add(new JLabel("presure"));
    p2.add(presure);
    this.getContentPane().setLayout(new FlowLayout());
    this.setLayout(new GridLayout(1,2));
    p2.setLayout(new GridLayout(8, 2));
    this.add(p1);
    this.add(p2);
    public static void main(String[] args) {
    JFrame frame = new weather();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
    [http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html]
    db

  • New to swing :( need help with simple text areas

    i'm trying to make a username and pasword GUI thingy (techinical word) but what i have now is this:-
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.io.IOException;
    public class swing1 extends JFrame implements ActionListener
         private String newline = "\n";
         protected static final String textFieldString = "JTextField";
         protected static final String passwordFieldString = "JPasswordField";
         protected JLabel actionLabel;
         private JTextField textField;
         private JPasswordField passwordField;
         private Container p; // make a panel to witch the components can be added
         public swing1()
              super("swing1");
              //Create a regular text field.
              textField = new JTextField(10);
              textField.setActionCommand(textFieldString);
              textField.addActionListener(this);
              //Create a password field.
              passwordField = new JPasswordField(10);
              passwordField.setActionCommand(passwordFieldString);
              passwordField.addActionListener(this);
              //Create some labels for the fields.
              JLabel textFieldLabel = new JLabel(textFieldString + ": ");
              textFieldLabel.setLabelFor(textField);
              JLabel passwordFieldLabel = new JLabel(passwordFieldString + ": ");
              passwordFieldLabel.setLabelFor(passwordField);
              //Create a label to put messages during an action event.
              actionLabel = new JLabel("Type text and then Return in a field.");
              actionLabel.setBorder(BorderFactory.createEmptyBorder(10,0,0,0));
              //Lay out the text controls and the labels.
              p=getContentPane(); //get te contant pane of this Swing1 to add the componets to
              p.add("West",textField); //add your fist component, add it west on the dafault borderLayout
              p.add("East",textFieldLabel);// add another component, add it east on the dafault borderLayout
              p.add("South",passwordField);// add it south on the dafault borderLayout
              p.add("North",actionLabel); // add it north on the dafault borderLayout
              setSize(400,100); //make it a bit bigger
              setVisible(true);
              public void actionPerformed(ActionEvent e)
                   Object o = e.getSource();// the component that fired this event
                   if (o == textField)
                        //action from the textField
                   else if (o == passwordField)
                        //action from passwordfield
              public static void main(String[] args)
                                  JFrame frame = new TextSamplerDemo();
                                  frame.addWindowListener(new WindowAdapter()
                                       public void windowClosing(WindowEvent e)
                                                 System.exit(0);
                                                                new swing1(); //make a new instance of your class
    [\code]
    why won't the label on my password field dislay?
    and can you take a look at the end of my code i got it off another program, i want to get rid of the HTML page its trying to access and i want it just to close when i click X
    any help would be briliant
    Ant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Since you are new to Swing the first thing I would recommend is to read the tutorial "Creating a Gui with JFC/Swing". I think the Text Component section has a demo on creating a username/password GUI. It can be downloaded at:
    http://java.sun.com/docs/books/tutorial/
    Why doesn't the password field label display? You are not adding it to the container. You add textField, textFieldLabel, passwordField, actionLabel but no passwordFieldLabel.
    Instead of adding a WindowListener and implementing the windowClosing() method, there is an easier way to close the JFrame in JDK1.3. Simply use:
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    The class "TextSamplerDemo" doesn't belong in this class (it must be a demo class you downloaded from somewhere). All the code you need in the main method is:
    JFrame frame = new swing1();
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    Also, by convention classes should be named with the first character of each word capitalized. So you class should be renamed to "Swing1" from "swing1". Also remember to rename the file as the filename and class name must be the same and case does matter.

  • Define HTML Tag for Parser - Help?

    Hi all,
    I'm trying to write a program which downloads a HTML script, parses it, extracts the links and checks to see which of these links are broken. While the parser is picking up tags that are well-formed, such as:
    Mark Humphrys -
    Research -
    The HTML script has a few malformed HTML tags such as the following:
    <li><b> References </b>
    <li><b> References </b>
    The snippet of code I'm using to try and get these malformed tags is as follows:
         ParserCallback parserCallback = new ParserCallback()
         public void handleText(final char[] data, final int pos) { }
              Tag a = HTML.Tag("a");
              public void handleStartTag(Tag tag, MutableAttributeSet attribute, int pos)
                   if (tag == a)
                   String address = (String) attribute.getAttribute("href");
                        list.add(address);
                   System.out.println(address);
         public void handleEndTag(Tag t, final int pos) {  }
         public void handleSimpleTag(Tag t, MutableAttributeSet a, final int pos) { }
         public void handleComment(final char[] data, final int pos) { }
         public void handleError(final java.lang.String errMsg, final int pos) { }
         };but I keep getting the error that they can't find the Tag() method. At the start of my code I have:
    import javax.swing.text.html.HTML;
    import javax.swing.text.html.HTML.Tag;so I don't understand why the compiler can't find the method. Is there something wrong with the way I'm using it?
    I have very little experience with this area so any help or pointers would be great!

    Sorry, the exact error message is:
    cannot find symbol,
    symbol: constructor Tag(java.lang.String)
    location: class javax.swing.text.html.HTML.Tag
    HTML.Tag a = new HTML.Tag("a");
    ^
    it should of course be a constructor not a method but the compiler still can't seem to find it. The proper code (in as much as I can tell although it still isn't working)
         ParserCallback parserCallback = new ParserCallback()
         public void handleText(final char[] data, final int pos) { }
              HTML.Tag a = new HTML.Tag("a");
              public void handleStartTag(Tag tag, MutableAttributeSet attribute, int pos)
                   if (tag == a)
                   String address = (String) attribute.getAttribute("href");
                        list.add(address);
                   System.out.println(address);
         public void handleEndTag(Tag t, final int pos) {  }
         public void handleSimpleTag(Tag t, MutableAttributeSet a, final int pos) { }
         public void handleComment(final char[] data, final int pos) { }
         public void handleError(final java.lang.String errMsg, final int pos) { }
         };

  • New to Flash -- tutorial help pls!

    Hi:
    Working with the Flash Developer Center tutorial http://www.adobe.com/devnet/flash/articles/atv_flcs4_demos.html
    I have Flash CS3 professional, and downloaded a couple of the zip sample files, fla.  However, an error message says "Unexpected File Format" when I try to open.
    Is it a CS3 vs CS4 issue?  If so, is there a way to convert these to CS3?  I assumed fla is fla...
    Or is it something else?  Helluva way to get started!  Thanks for your help!
    Rgds, Ned

    Not a problem at all. You should be able to install the trial of CS4 and work with those tutorials. As skyblue said, once you open those tutorials, you can then use saveAs... to save them as CS3 files. Keep in mind that you won't be able to use the features of CS4 from one of those saved files.

Maybe you are looking for

  • Tip connection using a usb hub

    Hi, I am trying to set up a tip connection using a usb hub. I have the following in my /etc/remote file: hardwire:\ :dv=/dev/term/0:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D: I am getting the message "link down" when I issue the tip command. any help would b

  • AUTHORITY CHECK BADI

    Hi All, We have a requirement where we want to save information related to the documents , case, and BP. For example if a particular user has visited (Just in display mode) any activity either from CRM GUI or CRM Web-UI we want to capture (that a use

  • Lock tables

    I would like to write something which allows me to flag if someone has locked a table. I have found this link which pretty much is asking the same thing I need to do, but I am not 100% how I can apply it. To me it seems that the procedure in this lin

  • I cant download premiere pro trial.

    i cant download premiere pro trial.

  • Threaded alsa sound noise issues

    Hello, everyone! I'm trying to make alsa work in threaded mode, i.e. allow more than one application to produce sounds. All I've done so far is made /etc/asound.conf As you can see from this config I use dmix to mix different sound threads #/etc/asou