Link in swing

hi guys!
i want to provide a link in gui,Jinternal frame, which opens up a browser with target provided by the link, so which component is used for this.
Also is it possible that applet have multiple frames in it and menus also.
Thanks.

Look at JEditorPane and adding a HyperTextListener
Cheers
DB

Similar Messages

  • How to activivate a URL link in swing programme?

    I'm new to Swing. Just wondering, is there anyway to print a url link in swing, like "http://www.hotmail.com", then be able to get the html page of that link? thanks!

    Hi,
    have a look at javax.swing.JEditorPane
    greetings Marsian

  • Links to Swing articles and tutorials online

    Please share your best links to articles and tutorials
    online about GUI building in Java and Swing.
    yj

    Tutorial from Sun:
    http://java.sun.com/docs/books/tutorial/
    Articles on Swing:
    http://java.sun.com/products/jfc/tsc/articles/index.html

  • Some {@link} tags do not seem to generate hyperlinks

    Hi,
    I am having some trouble getting some {@link} tags to generate hyperlinks. Specifically, {@link} tags to methods in classes in other packages. I've tried specifying the method arguments, including the fully qualified argument types, but I cannot get the output to generate hyperlinks.
    In the example at the end of this post, I have a {@link} to a class as well as three {@link} tags to one of its methods. (Note the wrapping of the link tags in the example is due to the line length limits of the text area in which I entered this posting--they are NOT wrapped in the original code.) The hyperlink for the class gets generated. The method names all get expanded in the output to include their argument lists, so I know it's finding the methods, and the method names are in a fixed font, but they're not hyperlinks!
    I didn't get any errors or warnings, and I'm using j2sdk1.4.1. I used the following command, with Sun's API package-list in the current directory (.) and generating the output to the html subdirectory:
    javadoc -d html -linkoffline
    http://java.sun.com/j2se/1.4/docs/api . DocTest.java
    Any ideas what's wrong?
    Thanks,
    Robbie
    P.S. I also included the HTML output at the end even though you can't see the hyperlink for the LayoutFocusTraversalPolicy class.
    **** Example Program
    import java.awt.*;
    import javax.swing.*;
    * This is a class to test out javadoc links.
    * <p>It uses class {@link javax.swing.LayoutFocusTraversalPolicy}
    * <p>It uses the method:
    * {@link javax.swing.LayoutFocusTraversalPolicy#getComponentAfter}
    * <p>It uses the method:
    * {@link javax.swing.LayoutFocusTraversalPolicy#getComponentAfter(Container,Component)}
    * <p>It uses the method:
    * {@link javax.swing.LayoutFocusTraversalPolicy#getComponentAfter(java.awt.Container,java.awt.Component)}
    public class DocTest
    public DocTest ()
    *** Here is a cut-and-past of the HTML Output
    *** Note that LayoutFocusTraversalPolicy class is a hyperlink in the
    *** original HTML, but the three methods are not, but even the first
    *** method has been expanded to include its arguments, so I know it's
    *** finding the method name:
    public class DocTest
    extends Object
    This is a class to test out javadoc links.
    It uses class LayoutFocusTraversalPolicy
    It uses the method: LayoutFocusTraversalPolicy.getComponentAfter(java.awt.Container, java.awt.Component)
    It uses the method: LayoutFocusTraversalPolicy.getComponentAfter(Container,Component)
    It uses the method: LayoutFocusTraversalPolicy.getComponentAfter(java.awt.Container,java.awt.Component)

    Sadly, the -link option is broken in two severe ways in 1.4.1:
    4652655 @link does not link to external -link'd classes
    See bug report: http://developer.java.sun.com/developer/bugParade/bugs/4652655.html
    4720957 link and -linkoffline creates wrong link to ../../../http&#058;//
    See bug report: http://developer.java.sun.com/developer/bugParade/bugs/4720957.html
    There are no known workarounds.
    We believe we have fixed these for 1.4.2. The state of -link wasn't much better in 1.4.0.
    Here are the major bugs in javadoc 1.4.1:
    http://java.sun.com/j2se/1.4.1/relnotes.html#javadoc
    and the major bugs in javadoc 1.4.0:
    http://java.sun.com/j2se/1.4/relnotes.html#javadoc
    The main -link bug in 1.4.0 appears to be this:
    Links to external methods using -link or -linkoffline are not generated. No known workaround. Bug 4615751
    -Doug Kramer
    Javadoc team

  • Advice please: how to link java client with oracle AS

    Dear Sirs...
    how can i link java swing application with oracle application server? do i have to develop web service and then deploy it on the AS? or i should use another methodology? what exactly should i provide or should i use?
    thanks for any help
    best regards

    There are a number of approaches you can take. A webservice would work well. You may also consider using EJBs and calling them via RMI or a webservice.
    Either is a viable option depending on your requirements.

  • 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' ?

  • Swing Connection

    How to give link in Swing
    One Frame Window Action is taken.I want to open another Frame Window where code is located in another File.

    http://forum.java.sun.com/thread.jspa?threadID=670873
    http://forum.java.sun.com/thread.jspa?threadID=670874
    http://forum.java.sun.com/thread.jspa?threadID=670875
    http://forum.java.sun.com/thread.jspa?threadID=670876
    http://forum.java.sun.com/thread.jspa?threadID=670877
    http://forum.java.sun.com/thread.jspa?threadID=670878
    http://forum.java.sun.com/thread.jspa?threadID=670879
    http://forum.java.sun.com/thread.jspa?threadID=670880
    http://forum.java.sun.com/thread.jspa?threadID=670882
    http://forum.java.sun.com/thread.jspa?threadID=670884
    http://forum.java.sun.com/thread.jspa?threadID=670885
    http://forum.java.sun.com/thread.jspa?threadID=670886
    http://forum.java.sun.com/thread.jspa?threadID=670889
    http://forum.java.sun.com/thread.jspa?threadID=670890
    http://forum.java.sun.com/thread.jspa?threadID=670891
    http://forum.java.sun.com/thread.jspa?threadID=670892

  • What is the right way to change the active JInternalFrame for and MDI app?

    I am working on my own implementation of the window menu. The action that is triggered when a customer chooses a window to activate from the list in the menu is not behaving as I expected. The code I wrote (below) switches frames correctly but the caption bar never gets updated and if you restore a frame from an icon the frame is not correctly activated, there is even a restore button which if you push fixes things up and the frame then behaves normally     if (frameToActivate.isIcon ())  {
              //  Restore from icon
              desktopPane().getDesktopManager().deiconifyFrame (frameToActivate);
         desktopPane().getDesktopManager().activateFrame (frameToActivate);
         desktopPane().setSelectedFrame (frameToActivate);I did a search of the web and found a tip on JavaWorld (http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-mdi.html) which led me to try doing this from a different angle - the JInternalFrame's point of view. This code works     try {
              if (frameToActivate.isIcon ())  {
                   //  Restore from icon
                   frameToActivate.setIcon (false);
              frameToActivate.moveToFront();
              frameToActivate.setSelected (true);
         } catch (PropertyVetoException error) {
              error.printStackTrace();
         }My question is why does the desktop based approach not work? If methods exist that appear to let you restore and switch between frames why are the ineffective? Am I missing something obvious that I should be doing?
    If using the JInternalFrame methods is the right way to go then I will It just seems like if the DesktopManager has methods that advertise that is supports managing the active frame then they should work. Before I ignore them I want to check with you to see if there is a right way to use them.
    Ian

    So, this is another batch of duke dollars I cannot assign - since I solved my own problem:-)
    I had an epiphany and tried setting break points to see what code was executed when you click on an inactive frame. From that I determined that DefaultDesktopManager.activateFrame, as implemented, does not activate the frame but acknowledges the activation of a frame and does a small amount of bookeeping work for the DesktopManager. So, the solution is the code I wrote to switch focus using the JInternalFrame's methods. Since I did not want to have to write those nine lines of code in the couple of places I want to programmatically switch the active frame I added a get/setActiveFrame method to my JDesktopPane derivative. In case others face this problem here is the code (warning I have not yet setup building the JavaDocs for this project so I cannot vouch for the validity of the JavaDoc, but the code does work):/**
    * Bring frameToActivate to the front (restoring from icon if neccessary) and make it the
    * selected frame.  This method does all the things required to switch the active frame for
    * an MDI application unlike: @link JDesktopPane.setSelectedFrame, which does not change the
    * focus; @link javax.swing.DefaultDesktopManager.activateFrame which does not correctly
    * handle iconified frames or switch the focus properly; and
    * @link javax.swing.JInternalFramesetSelected which also does not handle iconified frames.
    * @param frameToActivate the frame to bring to the front and become the active window
    * @throws IllegalArgumentException
    public void setActiveFrame (JInternalFrame frameToActivate) throws IllegalArgumentException  {
        if (frameToActivate == null)
            throw new IllegalArgumentException ("setActiveFrame a frame must be passed a non null valie.");
        try {
            if (frameToActivate.isIcon ())  {
                //  Restore from icon
                frameToActivate.setIcon (false);
            frameToActivate.moveToFront();
            frameToActivate.setSelected (true);
        } catch (PropertyVetoException error) {
    * This method returns the currently active frame.  This method returns the same frame
    * as <code>getSelectedFrame</code> and is provided for symetry for <code>setActiveFrame</code>. 
    * @return the currently active frame
    * @see LDesktopPane.setActiveFrame
    * @see javax.swing.JDesktopPane.getSelectedFrame
    public JInternalFrame getActiveFrame ()  {
        return getSelectedFrame ();
    }IL

  • Configure a project with several toolkits ?

    Hello everybody,
    Here are my problem and my question.
    In my case, I use a RCP application so I configured my project with a RCP toolkit. But during my automated tests with Jubula, there are some elements whose aren't recognized by Jubula.
    In fact, these elements aren't RCP components but I recognized HTML components (hypertext links), AWT/SWING components (tree), kind of array and maybe others... And that, I didn't know and it was a surprise because for me, a RCP application only uses RCP components.
    I understood the control on the application depends on the choosen toolkit. So with my setup, I can only interact with the RCP elements.
    So one day, could we configure a project with several toolkits ?
    Thanks for your time.

    Hi Alex,
    I tested my program and there isn't modification.
    But I got another question.
    When we use replaceText function (and maybe other functions), I saw there is a "default event handler" step included in the Test Result. In the application, there are text fields whose use a tabulation, it's automatic when the user enters the good number of characters. And I can't change that because it's required by the company (time saving for the testers).
    I have this error detail in the properties of Replace Text function :
    Type : Action Error
    Error Description : Timeout received before confirming the posted event
    Is there a way to desactivate this step ?
    Best Regards,
    Romain.

  • How can I avoid throwing EmptyStackException?

    The following method will throw an EmptyStackException:
         * Insert HTML into {@link javax.swing.JEditorPane} using {@link javax.swing.text.html.HTMLEditorKit}
         * @throws java.io.IOException Thrown if an I/O error occurs
         * @throws javax.swing.text.BadLocationException Thrown if the location is not a valid location
         * @throws java.lang.Exception Thrown if all other exceptions occur
        private void insertHTML() throws IOException, BadLocationException, Exception {
            // ASSUMES EDITOR IS ALREADY SET TO "text/html" TYPE
            HTMLEditorKit kit = new HTMLEditorKit();
            HttpURLConnection conn = (HttpURLConnection)getURL().openConnection();
            BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String data = "";
            StringBuffer sb = new StringBuffer();
            while ((data = in.readLine()) != null) sb.append(data);
            StringReader sr = new StringReader(sb.toString());
            try {
                kit.read(sr, browser.getDocument(), 0);
            } catch (ChangedCharSetException e) {
                // DO NOTHING
            } catch (RuntimeException e2) {
                // DO NOTHING - NOT INSERTING NEW CONTENT INTO BODY ELEMENT
            } catch (Exception e3) {
                e3.printStackTrace();
        }Case in point: If I use "http://www.cnn.com" it will load into JEditorPane (not well, but it loads). If I go to "http://java.net", it will also load that into JEditorPane. However, if I return to "http://www.cnn.com", I get the EmptyStackException on that URL alone; the URL itself only partially loads into JEditoPane as a result.
    Is there a workaround for this periodic problem?
    Thanx
    Phil

    I will make a couple of points though.
    * It's generally bad practice to delare a method to throw Exception, rather than more specific ones.
    * If you do declare your method to throw Exception, declaring IOException adn BadLocationException is redundant, as they're subclasses of Exception
    * It's also generally bad to just catch Exception, rather than more specific ones. There are cases where it's legitimate, and without more context I can't tell if this is one of them, but my gut would say no at this point.
    * Just printing the stack trace or doing nothing is not generally good exception handling. Again, there are cases where it's legitimate, but in general, it means that the caller of this method thinks everything went fine, and will proceed as if it did, even though it didn't.
    * It's genrally considered good practice to use { } around your if/while/etc. bodies even when it's just a single statement and not strictly necessary. It's more consistent, more readable, and prevents logic errors if you go to add more statements to the body later.

  • Problem displaying Word 2002 RTF files in JEditorPane

    Hi all,
    I am having a problem displaying RTF files created in Word 2002/Office XP in a JEditorPane.
    Our code, which does the usual stuff:
    JEditorPane uiViewNarrativeEda = new JEditorPane();
    uiViewNarrativeEda.setContentType(new RTFEditorKit().getContentType());
    FileInputStream inDocument = new FileInputStream("c:/temp/testing.rtf"); uiViewNarrativeEda.read(inDocument, "");
    inDocument.close();
    works just FINE with RTF files created in Word 97, WordPad etc, but it seems that Word 2002 adds some tags to the RTF file that the RTFReader cannot handle.
    For example, I believe the following exception is due to the new \stylesheet section that Word 2002 adds to the RTF file:
    java.lang.NullPointerException:
         at javax.swing.text.rtf.RTFReader$StylesheetDestination$StyleDefiningDestination.close(RTFReader.java:924)
         at javax.swing.text.rtf.RTFReader.setRTFDestination(RTFReader.java:254)
         at javax.swing.text.rtf.RTFReader.handleKeyword(RTFReader.java:484)
         at javax.swing.text.rtf.RTFParser.write(RTFParser.java, Compiled Code)
         at javax.swing.text.rtf.AbstractFilter.readFromReader(AbstractFilter.java:111)
         at javax.swing.text.rtf.RTFEditorKit.read(RTFEditorKit.java:129)
         at javax.swing.text.JTextComponent.read(JTextComponent.java:1326)
         at javax.swing.JEditorPane.read(JEditorPane.java:387)
    Does anyone have similar problems or knows how I could get around this?
    I thought about writing a parser that replaces the \stylesheet section with one that works but that seems a lot of work and it does not always work (I tried that by copying and pasting...).
    Maybe I could replace the RTF converter that Word 2002 is using with another one - but how?

    Hello again,
    I found out that the 2002 version of MS Word writes a lot more of data into the file than e.g. Wordpad does.
    There is one section that causes the problem, its called "\stylesheet".
    My workaround (working in my case) is to wrap the input stream of the RTF document and remove this section (only in memory).
    See example implementation:
    <<<<<<<<<<<<<<<<<<<<<<< SOURCE CODE<<<<<<<<<<<<<
    * Copyright 2004 DaimlerChrysler TSS.
    * All Rights Reserved.
    * Last Change $Author: wiedenmann $
    * At $Date: 2004/03/31 11:08:54CEST $.
    package com.dcx.tss.swing;
    import java.io.*;
    * This class provides a workaround for parse errors in the
    * {@link javax.swing.text.rtf.RTFEditorKit}. These errors are caused
    * by new format specification for RichTextFormat (RTF V1.7).<br>
    * <br>
    * The workaround is to filter out a section of the RFT document
    * which causes an exception during parsing it. This section has no
    * impact on the display of the document, it just contains some
    * meta information used by MS Word 2002.<br>
    * The whole document will be loaded into memory and then the section
    * will be deleted in memory, there is no affect to the document
    * directly (on file system).<br>
    * <br>
    * <i>This workaround is provided without any warranty of completely solving
    * the problem.</i>
    * @version $Revision: 1.1 $
    * @author Wiedenmann
    public class RtfInputStream extends FilterReader {
    /** Search string for start of the section. */
    private static final String SEC_START = "{\\stylesheet";
    /** Search string for end of the section. */
    private static final String SEC_END = "}}";
    /** Locale store for the document data. */
    private final StringBuffer strBuf = new StringBuffer();
    * Wrapper for the input stream used by the RTF parser.<br>
    * Here the complete document will be loaded into a string buffer
    * and the section causes the problems will be deleted.<br>
    * <br>
    * @param in Stream reader for the document (e.g. {@link FileReader}).
    * @throws IOException in case of I/O errors during document loading.
    public RtfInputStream( final Reader in ) throws IOException {
    super( in );
    int numchars;
    final char[] tmpbuf = new char[2048];
    // read the whole document into StringBuffer
    do {
    numchars = in.read( tmpbuf, 0, tmpbuf.length );
    if ( numchars != -1 ) {
    strBuf.append( tmpbuf, 0, numchars );
    } while ( numchars != -1 );
    // finally delete the problem making section
    deleteStylesheet();
    * Deletion of the prblematic section.
    private void deleteStylesheet() {
    // find start of the section
    final int start = strBuf.indexOf( SEC_START );
    if ( start == -1 ) {
    // section not contained, so just return ...
    return;
    // find end of section
    final int end = strBuf.indexOf( SEC_END, start );
    // delete section
    strBuf.delete( start, end + 2 );
    * Read characters into a portion of an array.<br>
    * The data given back will be provided from local StringBuffer
    * which contains the whole document.
    * @param buf Destination buffer.
    * @param off Offset at which to start storing characters -
    * <srong>NOT RECOGNIZED HERE.</strong>.
    * @param len Maximum number of characters to read.
    * @return The number of characters read, or -1 if the end of the
    * stream has been reached
    * @exception IOException If an I/O error occurs
    public int read( final char[] buf, final int off, final int len ) throws IOException {
    if ( strBuf.length() == 0 ) {
    // if buffer is empty end of document is reached
    return -1;
    // fill destination array
    int byteCount = 0;
    for (; byteCount < len; byteCount++) {
    if ( byteCount == strBuf.length() ) {
    // end reached, stop filling
    break;
    // copy data to destination array
    buf[byteCount] = strBuf.charAt( byteCount );
    // delete to copied data from local store
    strBuf.delete( 0, byteCount + 1 );
    return byteCount;
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Integration of the warpper looks like:
    RtfInputStream inDocument = new RtfInputStream( new FileReader("test.rtf"));
    Document doc = rtf.createDefaultDocument();
    rtf.read(inDocument, doc, 0 );
    Hope this helps - for me it did :-)
    Timo Wiedenmann
    DaimlerChrysler TSS, Germany

  • PopupMenuListener event on JComboBox fires multiple times per selection

              // webAddressBox IS OF TYPE javax.swing.JComboBox
               webAddressBox.addPopupMenuListener(new PopupMenuAdapter() {
                    /** @uses {@link com.ppowell.tools.ObjectTools.SimpleBrowser.Surf} */
                    final Surf surf = new Surf(webAddressBox.getSelectedItem().toString());
                     * Perform {@link #surf} processing
                     * @param evt {@link javax.swing.event.PopupMenuEvent}
                    public void popupMenuWillBecomeInvisible(PopupMenuEvent evt) {
                        System.out.println("you selected:");
                        surf.doURLProcessing();
    * PopupMenuAdapter.java
    * Created on February 16, 2007, 11:53 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package com.ppowell.tools.ObjectTools.SwingTools;
    import javax.swing.event.PopupMenuEvent;
    import javax.swing.event.PopupMenuListener;
    * Will allow for greater flexibility by implementing {@link javax.swing.event.PopupMenuListener}
    * @author Phil Powell
    * @version JDK 1.6.0
    public abstract class PopupMenuAdapter implements PopupMenuListener {
        /** Creates a new instance of PopupMenuAdapter */
        public PopupMenuAdapter() {}
         * Overrides {@link javax.swing.event.PopupMenuListener} method popupMenuCanceled
         * @param evt {@link javax.swing.event.PopupMenuEvent}
        public void popupMenuCanceled(PopupMenuEvent evt) {}
         * Overrides {@link javax.swing.event.PopupMenuListener} method popupMenuWillBecomeInvisible
         * @param evt {@link javax.swing.event.PopupMenuEvent}
        public void popupMenuWillBecomeInvisible(PopupMenuEvent evt) {}
         * Overrides {@link javax.swing.event.PopupMenuListener} method popupMenuWillBecomeVisible
         * @param evt {@link javax.swing.event.PopupMenuEvent}
        public void popupMenuWillBecomeVisible(PopupMenuEvent evt) {}
    }This code is supposed to handle a single selection from a JComboBox webAddressBox. The front-end functionality of this code blocks works just fine to the user, however, upon viewing the "behind the scenes action", I noticed that the overriden popupMenuWillBecomeInvisible() method within the anonymous inner class instance of PopupAdapter is being called 2 times upon the first time you select something from webAddressBox, 4 times the next time you select something, 8 times the next time, and so on..
    Obviously this is a tremendous waste of resources to have it call that many times exponentially - it should only call once each time you select something from webAddressBox, but I can't figure out how to get that to happen.
    What suggestions might you have to accomplish this? I already have an ActionListener that runs separately from PopupMenuAdapter that handles the user either clicking a JButton or hitting ENTER - this works just fine.
    Thanx
    Phil

    is being called 2 times upon the first time youselect something from
    webAddressBox, 4 times the next time you selectsomething, 8 times the next time, and so on..
    Then you are adding the listener to the component
    multiple times.WTO sigh.. thanx! :)

  • Changing color of components

    Hi
    I am new to java swing. I have created a gui for one my applications using swing. The layout of the gui is proper but i want to change the color of the buttons to blue from gray. I have used radio buttons,sliders and buttons which are to be changed. I was able to change the color of the content of buttons using html but how should change the color of the buttons.
    Please help.
    Thankx in advance.
    Sushant

    Here's a modified version of what you posted. I should check the tutorial links of Swing that I posted earlier.
    Also try reading about arrays.
    import java.awt.Color;
    import java.awt.Container;
    import javax.swing.BoxLayout;
    import javax.swing.ButtonGroup;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JRadioButton;
    import javax.swing.JSlider;
    import javax.swing.border.TitledBorder;
    public class WordigoGUI {
         JPanel pane = new JPanel();
         JPanel paneslider = new JPanel();
         JLabel labels;
         public WordigoGUI() {
              JFrame f = new JFrame("WordigoGUI");
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);     
              createGUI(f);
              f.pack();
              f.setVisible(true);
         void createGUI(JFrame f)
              JSlider slider = new JSlider(JSlider.HORIZONTAL,5,10,7);
              final int boardChoice = 6;
              JRadioButton[] radioButtons = new JRadioButton[boardChoice];
              TitledBorder titled = new TitledBorder("Choose your board");
              final ButtonGroup group = new ButtonGroup();
              for(int i=0;i<6;i++)
                   //radioButtons= new JRadioButton("Board " + (i+1)); // this is not a valid JRadioButton constructor
                   // I guess this is what your trying to do
                   JRadioButton r = new JRadioButton("Board ");
                   r.setActionCommand("yesnno"+i);
                   r.setBackground(Color.blue);
                   r.setForeground(Color.white);
                   r.setBorder(titled);
                   radioButtons[i] = r;
              radioButtons[0].setSelected(true);
              labels = new JLabel("YADA YADA");     
              pane.add(labels); // Just a remark...labels will be null...never initialized add something like the row above
              for(int i=0;i<boardChoice;i++)
              {     //pane.add(radioButtons); // Since 'radioButtons isn't qualified as a component this will not work
                   // This will - since the elements of the arrays are the radiobuttons from above for-loop
                   pane.add(radioButtons);
              String colortext = "Choose your Board ";
              JLabel coloredLabel = new JLabel(colortext);
              titled.setTitleColor(Color.white);
         JButton random = new JButton("Random");
              pane.add(random);
              pane.setBorder(titled);
         //     ///////////////////////////////////////////////////////second radio buton///////////////
              JPanel timerpane = new JPanel();
              timerpane.setBackground(Color.blue);
              JRadioButton[] timerButtons = new JRadioButton[2];
              final ButtonGroup grouptimer = new ButtonGroup();
              timerButtons[0]= new JRadioButton("On");
              timerButtons[0].setActionCommand("yes");
              timerButtons[1]= new JRadioButton("Off");
              timerButtons[1].setActionCommand("no");
              timerButtons[0].setSelected(true);
              for(int i=0;i<2;i++)
                   // To distinguish each button from an array like this you need (as you have done above the loop)
                   // to add the brackets containing the proper element
                   timerButtons[i].setBackground(Color.blue);
                   timerButtons[i].setForeground(Color.white);
              for(int i=0;i<2;i++)
                   timerpane.add(timerButtons[i]); // Like above
              TitledBorder stitled = new TitledBorder("Timer");
              timerpane.setBorder(stitled);
              stitled.setTitleColor(Color.white);
              slider.setMajorTickSpacing(1);
              slider.setPaintTicks(true);
              slider.setPaintLabels(true);
              slider.setBackground(Color.blue);
              slider.setForeground(Color.white);
              slider.setLabelTable(slider.createStandardLabels(1));
              paneslider.setBackground(Color.blue);
              paneslider.add(slider);//,new BoxLayout.LINE_AXIS);
              TitledBorder titled1 = new TitledBorder("Select Time");
              titled1.setTitleColor(Color.white);
              paneslider.setBorder(titled1);
              JPanel musicpane = new JPanel();
              JRadioButton[] musicButtons = new JRadioButton[2];
              musicpane.setBackground(Color.blue);
              final ButtonGroup groupmusic = new ButtonGroup();
              musicButtons[0]= new JRadioButton("On");
              musicButtons[0].setActionCommand("yesmusic");
              musicButtons[1]= new JRadioButton("Off");
              musicButtons[1].setActionCommand("nomusic");
              musicButtons[1].setSelected(true);
              for(int i=0;i<2;i++)
    //               Like above
                   musicButtons[i].setBackground(Color.blue);
                   musicButtons[i].setForeground(Color.white);
         //     slider.setMinorTickSpacing(1);
              for(int i=0;i<2;i++)
                   musicpane.add(musicButtons[i]); // Like above
              TitledBorder mtitled = new TitledBorder("Music");
              mtitled.setTitleColor(Color.white);
              musicpane.setBorder(mtitled);
              JPanel levelpane = new JPanel();
              levelpane.setBackground(Color.blue);
              JRadioButton[] levelButtons = new JRadioButton[2];
              final ButtonGroup grouplevel = new ButtonGroup();
              levelButtons[0]= new JRadioButton("Professional");
              levelButtons[0].setActionCommand("yeslevel");
              levelButtons[1]= new JRadioButton("Family");
              levelButtons[1].setActionCommand("nolevel");
              for(int i=0;i<2;i++)
                   levelButtons[i].setBackground(Color.blue); // Like above
                   levelButtons[i].setForeground(Color.white);
              levelButtons[0].setSelected(true);
              for(int i=0;i<2;i++)
                   levelpane.add(levelButtons[i]); // Like above
              TitledBorder ltitled = new TitledBorder("Choose Competency");
              ltitled.setTitleColor(Color.white);
              levelpane.setBorder(ltitled);
         //     ///////////////////////////////////////////Butttons
              JPanel buttonpane = new JPanel();
              buttonpane.setBackground(Color.blue);
              JButton startButton = new JButton("Play");
              JButton defaultButton = new JButton("Default");
              JButton exitButton = new JButton("Exit");
              startButton.setBackground(Color.blue);
              startButton.setForeground(Color.white);
              buttonpane.add(startButton);
              defaultButton.setBackground(Color.blue);
              defaultButton.setForeground(Color.white);
              buttonpane.add(defaultButton);
              exitButton.setBackground(Color.blue);
              exitButton.setForeground(Color.white);
              buttonpane.add(exitButton);
              Container contentPane = f.getContentPane();
              contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS));
              contentPane.add(pane);
              contentPane.add(timerpane);
              contentPane.add(musicpane);
              contentPane.add(paneslider);
              contentPane.add(levelpane);
              contentPane.add(buttonpane);
         public static void main(String[] args) {
              new WordigoGUI();
    /k

  • Inconsistent ArrayIndexOutOfBoundsException using SwingWorker worker thread

    On occasions I will get the following exception thrown whenever I happen to be using SimpleBrowser.this.processor.processTask() method to run a SwingWorker<Void, Void>-based class Task worker thread (within doInBackground()) :
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
            at javax.swing.text.BoxView.getOffset(BoxView.java:1076)
            at javax.swing.text.BoxView.childAllocation(BoxView.java:670)
            at javax.swing.text.CompositeView.getChildAllocation(CompositeView.java:215)
            at javax.swing.text.BoxView.getChildAllocation(BoxView.java:428)
            at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(BasicTextUI.java:1978)
            at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(BasicTextUI.java:1954)
            at java.awt.Container.layout(Container.java:1432)
            at java.awt.Container.doLayout(Container.java:1421)
            at java.awt.Container.validateTree(Container.java:1519)
            at java.awt.Container.validateTree(Container.java:1526)
            at java.awt.Container.validateTree(Container.java:1526)
            at java.awt.Container.validate(Container.java:1491)
            at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:639)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:127)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I haven't found much reliable online information to illustrate this issue any further so I'm a bit in the dark. Following is my code that runs within the aforementioned worker thread which I believe throws the exception:
             * Use {@link #setWebBrowserURL} using a local {@link com.ppowell.tools.ObjectTools.SwingTools.Task}
            protected void processTask() {
                Task task = new Task() {
                    public Void doInBackground() {
                        int progress = 0;
                        while (!SimpleBrowser.this.builder.hasLoadedWebpage && progress < 100) {
                            SimpleBrowser.this.statusBar.setMessage("Attempting to load " + SimpleBrowser.this.getURL().toString());
                            this.setProgress(progress);
                            progress++;
                        SimpleBrowser.this.setWebBrowserURL();
                        try {
                            Thread.sleep(2500);
                        } catch (InterruptedException ignore) {} // DO NOTHING
                        if (SimpleBrowser.this.builder.hasLoadedWebpage) {
                            SimpleBrowser.this.statusBar.setMessage("Done");
                        return null;
                task.addPropertyChangeListener(SimpleBrowser.this);
                task.execute();
            }Is there a way I might at least be able to suppress this error (the GUI application browser functions just fine in spite of it), or, even better, solve this inconsistent problem?
    Thanks
    Phil

    I suspect that you need to "clean" your html priorto
    calling super.setText(). My guess is that you're
    yanking nodes from beaneath Swing while it'strying
    to render.
    In addition to that, you may want to use JTidy to
    clean up your html, and convert it to xhtml --again
    prior to calling super.setText().Problem is that however I clean up the HTML, the
    moment I try to reinsert back into the JEditorPane
    using setText(), I get EmptyStackException or I'll
    get NullPointerException or it just might work - same
    problem, different exception(s).Ok this time I am simply using setText() instead of setPage(), but the results are, while consistent, they are consistently completely wrong. The browser appears blank every time, no HTML can be retrieved (you get a NullPointerException if you try), all the while I can verify that that original HTML from the remote site is correct, it never, ever, inserts into JEditorPane.
    Here is my code:
    * SimpleHTMLRenderableEditorPane.java
    * Created on March 13, 2007, 3:39 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package com.ppowell.tools.ObjectTools.SwingTools;
    import java.io.*;
    import java.net.*;
    import javax.swing.JEditorPane;
    import javax.swing.text.html.HTMLEditorKit;
    * A safer version of {@link javax.swing.JEditorPane}
    * @author Phil Powell
    * @version JDK 1.6.0
    public class SimpleHTMLRenderableEditorPane extends JEditorPane {
        //--------------------------- --* CONSTRUCTORS *--
        // <editor-fold defaultstate="collapsed" desc=" Constructors ">
        /** Creates a new instance of SimpleHTMLRenderableEditorPane */
        public SimpleHTMLRenderableEditorPane() {
            super();
         * Creates a new instance of SimpleHTMLRenderableEditorPane
         * @param url {@link java.lang.String}
         * @throws java.io.IOException Thrown if an I/O exception occurs
        public SimpleHTMLRenderableEditorPane(String url) throws
    IOException {
            super(url);
         * Creates a new instance of SimpleHTMLRenderableEditorPane
         * @param type {@link java.lang.String}
         * @param text {@link java.lang.String}
        public SimpleHTMLRenderableEditorPane(String type, String text) {
            super(type, text);
         * Creates a new instance of SimpleHTMLRenderableEditorPane
         * @param url {@link java.net.URL}
         * @throws java.io.IOException Thrown if an I/O exception occurs
        public SimpleHTMLRenderableEditorPane(URL url) throws IOException
            super(url);
        // </editor-fold>
        //----------------------- --* GETTER/SETTER METHODS *--
        // <editor-fold defaultstate="collapsed" desc=" Getter/Setter
    Methods ">
         * Retrieve HTML content
         * @return html {@link java.lang.String}
        public String getText() {
            try {
                 * I decided to use {@link java.net.HttpURLConnection} to
    retrieve the
                 * HTML code from the remote site instead of using
    super.getText() because
                 * of the HTML code return constantly being stripped to
    primitive HTML
                 * template formatting irregardless of the original HTML
    source code
                HttpURLConnection conn =
    (HttpURLConnection)getPage().openConnection();
                conn.setUseCaches(false);
                conn.setDefaultUseCaches(false);
                conn.setDoOutput(false); // READ-ONLY
                BufferedReader in = new BufferedReader(
                        new InputStreamReader(
                        conn.getInputStream()));
                int data;
                StringBuffer sb = new StringBuffer();
                char[] ch = new char[512];
                while ((data = in.read(ch)) != -1) {
                    sb.append(ch, 0, data);
                in.close();
                conn.disconnect();
                return sb.toString();
            } catch (IOException e) {
                return super.getText(); // DEFAULT TO USING
    super.getText() IF NO I/O CONNECTION
         * Overloaded to fix HTML rendering bug Bug ID: 4695909.
         * @param text {@link java.lang.String}
        public void setText(String text) {
            // Workaround for bug Bug ID: 4695909 in java 1.4
            // JEditorPane does not handle the META tag in the html HEAD
            if (isJava14() && "text/
    html".equalsIgnoreCase(getContentType())) {
                text = stripMetaTag(text);
            super.setText(text);
        // </editor-fold>
        //--------------------------- --* OTHER METHODS *--
        // <editor-fold defaultstate="collapsed" desc=" Methods ">
         * Clean HTML to remove things like <link>, <script>,
         * <style>, <object>, <embed>, and <!-- -->
         * Based upon <a href="http://bugs.sun.com/bugdatabase/view_bug.do?
    bug_id=4695909">bug report</a>
        public void cleanHTML() {
            try {
                setText(cleanHTML(getText()));
            } catch (Exception e) {} // DO NOTHING
         * Clean HTML
         * @param html {@link java.lang.String}
         * @return html {@link java.lang.String}
        public String cleanHTML(String html) {
            String[] tagArray = {"<LINK", "<SCRIPT", "<STYLE", "<OBJECT",
    "<EMBED", "<!--"};
            String upperHTML = html.toUpperCase();
            String endTag;
            int index = -1, endIndex = -1;
            for (int i = 0; i < tagArray.length; i++) {
                index = upperHTML.indexOf(tagArray);
    endTag = "</" + tagArray[i].substring(1,
    tagArray[i].length());
    endIndex = upperHTML.indexOf(endTag, index);
    while (index >= 0) {
    if (endIndex >= 0) {
    html = html.substring(0, index) +
    html.substring(html.indexOf(">", endIndex)
    + 1,
    html.length());
    upperHTML = upperHTML.substring(0, index) +
    upperHTML.substring(upperHTML.indexOf(">",
    endIndex) + 1,
    upperHTML.length());
    } else {
    html = html.substring(0, index) +
    html.substring(html.indexOf(">", index) +
    1,
    html.length());
    upperHTML = upperHTML.substring(0, index) +
    upperHTML.substring(upperHTML.indexOf(">",
    index) + 1,
    upperHTML.length());
    index = upperHTML.indexOf(tagArray[i]);
    endIndex = upperHTML.indexOf(endTag, index);
    // REF: http://forum.java.sun.com/thread.jspa?threadID=213582&messageID=735120
    html = html.substring(0, upperHTML.indexOf(">",
    upperHTML.indexOf("</HTML")) + 1);
    // REF: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5042872
    return html.trim();
    * This actually only obtains the URL; this serves as a retriever
    for cleanHTML(String html)
    * @param url {@link java.net.URL}
    * @return html {@link java.lang.String}
    public String cleanHTML(URL url) {
    try {
    HttpURLConnection conn =
    (HttpURLConnection)url.openConnection();
    conn.setUseCaches(false);
    conn.setDefaultUseCaches(false);
    conn.setDoOutput(false); // READ-ONLY
    BufferedReader in = new BufferedReader(
    new InputStreamReader(
    conn.getInputStream()));
    int data;
    StringBuffer sb = new StringBuffer();
    char[] ch = new char[512];
    while ((data = in.read(ch)) != -1) {
    sb.append(ch, 0, data);
    in.close();
    conn.disconnect();
    return cleanHTML(sb.toString());
    } catch (IOException e) {
    e.printStackTrace();
    return null;
    * Determine if java version is 1.4.
    * @return true if java version is 1.4.x....
    private boolean isJava14() {
    if (System.getProperty("java.version") == null) return false;
    return System.getProperty("java.version").startsWith("1.4");
    * Workaround for Bug ID: 4695909 in java 1.4, fixed in 1.5
    * JEditorPane fails to display HTML BODY when META tag included
    in HEAD section.
    * Code modified by Phil Powell
    * <html>
    * <head>
    * <META http-equiv="Content-Type" content="text/html;
    charset=UTF-8">
    * </head>
    * <body>
    * @param text html to strip.
    * @return same HTML text w/o the META tag.
    private String stripMetaTag(String text) {
    // String used for searching, comparison and indexing
    String textUpperCase = text.toUpperCase();
    int indexHead = textUpperCase.indexOf("<HEAD ");
    int indexMeta = textUpperCase.indexOf("<META ");
    int indexBody = textUpperCase.indexOf("<BODY ");
    // Not found or meta not inside the head nothing to strip...
    if (indexMeta == -1 || indexMeta < indexHead || indexMeta >
    indexBody) {
    return text;
    // Find end of meta tag text.
    int indexHeadEnd = textUpperCase.indexOf(">", indexMeta);
    // Strip meta tag text
    return text.substring(0, indexMeta - 1) +
    text.substring(indexHeadEnd + 1);
    // </editor-fold>
    Instead if you try
    browser.getText()
    You will get a NullPointerException
    If you try
        public void setText(String text) {
            // Workaround for bug Bug ID: 4695909 in java 1.4
            // JEditorPane does not handle the META tag in the html HEAD
            if (isJava14() && "text/
    html".equalsIgnoreCase(getContentType())) {
                text = stripMetaTag(text);
            System.out.println(text); // YOU WILL SEE CNN'S HTML
            super.setText(text);
            System.out.println(super.getText()); // SEE BELOW
        }You see only this:
    <html>
      <head>
      </head>
      <body>
        <p style="margin-top: 0">
        </p>
      </body>
    </html>

  • JEditorPane.setPage(URL url), then I want to clean up HTML, how?

    According to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4695909
    the problem with the inconsistent ArrayIndexOutOfBoundsException that
    I have been getting whenever I would go to a particular URL to put
    into JEditorPane using setPage() - this may also be due to JEditorPane
    containing HTML which contains a <META> tag and/or <!-- comment tag --
    . I created a class SimpleHTMLRenderableEditorPane which extendsJEditorPane, based upon code I found in the aformentioned bug link
    which should auto-strip out "bad tags":
    * SimpleHTMLRenderableEditorPane.java
    * Created on March 13, 2007, 3:39 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package com.ppowell.tools.ObjectTools.SwingTools;
    import javax.swing.JEditorPane;
    * A safer version of {@link javax.swing.JEditorPane}
    * @author Phil Powell
    * @version JDK 1.6.0
    public class SimpleHTMLRenderableEditorPane extends JEditorPane {
        //--------------------------- --* CONSTRUCTORS *--
        // <editor-fold defaultstate="collapsed" desc=" Constructors
    ">
        /** Creates a new instance of SimpleHTMLRenderableEditorPane */
        public SimpleHTMLRenderableEditorPane() {
            super();
        // </editor-fold>
        //----------------------- --* GETTER/SETTER METHODS *--
        // <editor-fold defaultstate="collapsed" desc=" Getter/Setter
    Methods ">
         * Overloaded to fix HTML rendering bug Bug ID: 4695909.
         * @param text
        public void setText(String text) {
            // Workaround for bug Bug ID: 4695909 in java 1.4
            // JEditorPane does not handle the META tag in the html HEAD
            if (isJava14() && "text/
    html".equalsIgnoreCase(getContentType())) {
                text = stripMetaTag(text);
            super.setText(text);
        // </editor-fold>
        //--------------------------- --* OTHER METHODS *--
        // <editor-fold defaultstate="collapsed" desc=" Methods ">
         * Clean HTML to remove things like <script>, <style>, <object>,
    <embed>, and <!-- -->
         * Based upon <a href="http://bugs.sun.com/bugdatabase/view_bug.do?
    bug_id=4695909">bug report</a>
        public void cleanHTML() {
            try {
                String html = getText();
                if (html != null && !html.equals("")) {
                    String[] patternArray = {
                        "<script[^>]*>[^<]*(</script>)?",
                        "<style[^>]*>[^<]*(</style>)?>",
                        "<object[^>]*>[^<]*(</object>)?>",
                        "<embed[^>]*>[^<]*(</embed>)?>",
                        "<!\\-\\-.*\\-\\->"
                    for (int i = 0; i < patternArray.length; i++) {
                        html = html.replaceAll(patternArray, "");
    setText(html);
    } catch (Exception e) {} // DO NOTHING
    * Determine if java version is 1.4.
    * @return true if java version is 1.4.x....
    private boolean isJava14() {
    String version = System.getProperty("java.version");
    return version.startsWith("1.4");
    * Workaround for Bug ID: 4695909 in java 1.4, fixed in 1.5
    * JEditorPane fails to display HTML BODY when META
    * tag included in HEAD section.
    * <html>
    * <head>
    * <META http-equiv="Content-Type" content="text/html;
    charset=UTF-8">
    * </head>
    * <body>
    * @param text html to strip.
    * @return same HTML text w/o the META tag.
    private String stripMetaTag(String text) {
    // String used for searching, comparison and indexing
    String textUpperCase = text.toUpperCase();
    int indexHead = textUpperCase.indexOf("<META ");
    int indexMeta = textUpperCase.indexOf("<META ");
    int indexBody = textUpperCase.indexOf("<BODY ");
    // Not found or meta not inside the head nothing to strip...
    if (indexMeta == -1 || indexMeta > indexHead && indexMeta <
    indexBody) {
    return text;
    // Find end of meta tag text.
    int indexHeadEnd = textUpperCase.indexOf(">", indexMeta);
    // Strip meta tag text
    return text.substring(0, indexMeta-1) +
    text.substring(indexHeadEnd+1);
    // </editor-fold>
    However, upon running the following line:
    SimpleBrowser.this.browser.cleanHTML();I spawn the following exception:
    Exception in thread "Thread-2" java.lang.RuntimeException: Must insert
    new content into body element-
            at javax.swing.text.html.HTMLDocument
    $HTMLReader.generateEndsSpecsForMidInsert(HTMLDocument.java:1961)
            at javax.swing.text.html.HTMLDocument
    $HTMLReader.<init>(HTMLDocument.java:1908)
            at javax.swing.text.html.HTMLDocument
    $HTMLReader.<init>(HTMLDocument.java:1782)
            at javax.swing.text.html.HTMLDocument
    $HTMLReader.<init>(HTMLDocument.java:1777)
            at
    javax.swing.text.html.HTMLDocument.getReader(HTMLDocument.java:137)
            at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:
    228)
            at javax.swing.JEditorPane.read(JEditorPane.java:556)
            at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:
    647)What should I do at this point?
    Thanks
    Phil

    Transfer all purchases from the iPad to iTunes on your computer, backup the iPad and then sync one last time.
    Then go to Settings>General>Reset>Erase all content and Settings to completely erase the iPad.
    Connect the new iPad to your computer and launch iTunes, restore from the backup of the old iPad and then sync with iTunes. You should be prompted to restore from the backup when you connect the new iPad to your computer's iTunes, but you can select it on your own as well.
    Transfer purchases.
    http://support.apple.com/kb/HT1848
    How to backup
    http://support.apple.com/kb/HT1766

Maybe you are looking for

  • JTree look,why it si different in the same application

    Hi, I have app that consists of two panels ,in each panel i have placed jtree component(each jtree has its own model-source) First panel is OK: http://img135.imageshack.us/img135/5049/goodmx7.jpg Unfortunately, in the second panel when i cretae new j

  • AS2/AIR 1.5 open pdf problem

    I have a flash SWF that I run as a AIR 1.5 desktop  app. I want the user to be able to open a pdf file to print it. As  it is now, I have flash call their browser to open the local PDF with a  open url http://myfile.pdf.  This works fine if their bro

  • Badi for IE4N transaction

    Hi, I have an requirement like I have rollers like, Equipment Des.---- Equip. No - Material No - Ser No 1. toproll - 10000-- 200-- 1 2. Bottom roll - 10001-- 200-- 2 3 Spare-- 10003 200-- 3 The spare can fit any of the postion either in Top or Bottom

  • Restore Mailbox Dumpster Data from Exchange 2010

    Hi- We did a restore from a backup to a recovery storage group.  We exported the mailbox of a particular user to PST file format. Our question:  does the user's dumpster/recoverable items folder automatically get exported in this scenario?  Is there

  • 8900: Email set-up option disappeared

    Just started moving in to my new 8900 - installed software from my CD onto desktop PC but didn't do very much to the phone other than just browse around.  I then updated the software on my PC to 5.0.1.18 and it changed a load of stuff on my 8900.  I