WebBrowser in JPanel or other components

Hi,
I need a totally free web browser like jdic. i want to integrate this browser into my swing cp0mponent like jpanel or other components.
jdic have some problems. so if there is another web browser like jdic please give me the links.
Thanks.
Edited by: Ariful on Nov 11, 2007 9:20 PM

Google it or create your own using JEditorPane but it only support HTML 3.2.

Similar Messages

  • How to access the jpanel and other components on click of a button

    hi ,
    need help,how to access the components of a frame onclick of a button ,if the actionPerformed() is written in a seperate class.
    in my code
    button.addActionListener(new Xyz());
    Xyz is implementing the ActionListener.
    in actionPerformed() i want to access the components in the frame.
    thanks.

    public class Xyz implements ActionListener{
      JFrame frame;
      Component[] comps;
      public Xyz(JFrame f){
        frame = f;
        comps = frame.getContentPane().getComponents();
      public void actionPerformed(ActionEvent e){
        // access elements in comps array
    button.addActionListener(new Xyz(this)); // if 'this' is a JFrame in question

  • PApplet/component is always above all other components except...

    Hi,
    I am working with java and a program off shoot of Java called Processing. Processing aids in the creation of java and it integrates itself into a swing component by extending into a PApplet(Processing�s version of an applet) which a JFrame sees as a component.
    Example:
    newJFrame.add(PApplet); <--- works perfectly except�
    The integration of java/swing and processing in an application works very well except for one problem. The Processing class (PApplet) draws to the screen and when I put it into a JFrame, JPanel, JInternalFrame, etc � the graphics are always above all other component except the JMenuBar. I found a fix for the JMenuBar to be this line of code �JPopupMenu.setDefaultLightWeightPopupEnabled(false);� I guess it tells the popup manager of the JMenuBar to not setDefaultLightWeightPopupEnabled which in turn, allows the JMenuItems to popup above the PApplet.
    Is there a way to force the PApplet/component to follow the rules of all other components? (setComponentZOrder, setLayer, etc�) It works for the JMenuBar so I feel it should be able to work for all other components � is there a way?
    Thanks,
    4dplane

    Thanks for the info; I believe you hit the nail on the head. Processing is open source so I looked in the PApplet class and it extends Applet, so this means processing is awt based.
    Thanks,
    4dplane

  • Creating GUI component that includes other components

    Hello, I need to create an UNIVERSAL FORM (panel) consisting of several textboxes and labels. These textboxes and labels will be defined in XML. I want it as a GUI JavaBean. It should be made from a panel with some layout and it should consist other components. Here are my questions:
    1) What class to derive from? JPanel?
    2) Well, when I override a GUI Swing component I must implement a paint method but this is a bit strange. I just want to set up the textboxes -- I do not need any special painting. A question appears -- is JavaBean technology good for this situation? Is there any better solution?

    I mean why this doesn`t work:
    public class Uniform extends JComponent implements
    Serializable {
         private String xmlContent;
         private int type;
         private JPanel panel;
         public Uniform() {
              panel = new JPanel(new GridLayout(1,2));
              panel.add(new JTextField("A"));
              panel.add(new JTextField("B"));
         public void paint(Graphics g) {
              panel.paint(g);
    }Is it a good solution? How would you solve the
    problem?
    Thanks for your ideas.If you mean by 'dont' work' that your text boxes and panel doesn't appear, then it's because you're missing this line in your constructor:
    public Uniform() {
      this.add (panel, BorderLayout.CENTER);
    }Regards,
    Devyn

  • How to print out a JPanel with its components

    Hello,
    I want to print out a JPanel where several components are placed in. The problem is just that neither the printAll() method nor the print() method works to do so. There's always just a print of the empty JPanel. Is there in general a possibility to print out a JPanel with its components or are I'm on the wrong way ?
    Thanx,
    Findus

    I just posted this link and it works here:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=361445&tstart=0&trange=15

  • Adding Component to JFileChooser excludes other components

    I want to add a JComboBox component to a JFileChooser but when I do, the default components that are supposed to be in that space don't show up.
    For example, in the JFileChooser, there are several components (like the accept and cancel buttons) in the SOUTH area of the BorderLayout. When I add a custom combobox like so:
    JFileChooser fc = new JFileChooser();
    cb = new JComboBox();
    fc.add(cb, BorderLayout.SOUTH);
    dialogResult = fc.showSaveDialog();the combobox I added is the ONLY component which shows up in the SOUTH area.
    I have tried adding the combobox as an accessory, but it always shows up to the right of the file browser window. If I can control where the accessory shows up, that would be fine, but I don't see any way to do that.
    I don't understand why the other components wouldn't show up?
    Thanks in advance for any help.

    fc.add(cb, BorderLayout.SOUTH);
    This line replaces the components that were
    previously in that space - read the tutorial on
    BorderLayout. In addition, this code is very brittle
    and you can have no guarantee that it will work under
    different look-and-feels and in future versions of
    JDK, since you're making some far-fetching
    assumptions on the internal implementation of the
    file chooser dialog.Thanks very much for the help!
    Fundamentally, i did not realize that in BorderLayout you may only set ONE component to each area (NORTH, SOUTH, CENTER, etc.).
    Once I understood that, I grabbed the component at the bottom of the filechooser and placed it in a JPanel with the components I wanted to Add to the bottom.
    This worked perfectly!
    I am uncertain, however, about why you say the code is "brittle" and what you mean by making assumptions regarding the internal implementation.
    In any case, thanks again for your help!
    For anyone else who is interested, here is what the code looks like
    JFileChooser fc = new JFileChooser();
    JComboBox cb = new JComboBox();
    JPanel panel = new JPanel();
    BoxLayout box = new BoxLayout(panel,BoxLayout.Y_AXIS);
    BorderLayout layout = (BorderLayout) fc.getLayout();
    panel.setLayout(box);
    Component comp = layout.getLayoutComponent(BorderLayout.SOUTH);
    panel.add(comp);
    panel.add(cb);
    fc.add(panel,BorderLayout.SOUTH);

  • Quickest way to clone a JPanel and its components?

    Is there a quick method to clone a JPanel and its components?

    This has been tried before and not work.
    JVM reports errors :
    clone() has protected access in java.lang.Object.

  • I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch.  All other components work normally.  In Activity monitor it says Adobe switchboard failed to respond.  Can anyone help solve this issue?

    I've installed CS6 and web Premium on a Mac running 10.9.5, and Dreamweaver,Flash and Illustrator wont launch.  All other components work normally.  In Activity monitor it says Adobe switchboard failed to respond.  Can anyone help solve this issue?

    Release: 4/25/2012
    http://support.amd.com/us/gpudownload/windows/Pages/radeonmob_win7-64.aspx

  • Can We show the ppt slides in jpanel or other componant ?

    Hello sir,
    There is a problem with me, I want to display ppt slides into jpanel .Is it possible ? if it is possible than please give me ideas and send codes .

    the cheapest way i can think of rite now is to convert the ppt to image and then display it .... use the buttons to get to the new ppt the same way.
    if you really want to automate the process try reading this ...
    http://www.oooforum.org/forum/viewtopic.phtml?t=8715&highlight=java+converting+ppt+image
    it tells you the procedure to convert a ppt to jpeg ... if have a jpeg you can then display it as an image on JPanel.

  • Menus appearing underneath other components

    I am having a problem making my menus appear on top when they 'pop up'. I know this is a problem with mixing heavyweight and lightweight components, and I have been trying to force the menus to be heavyweight but to no avail.
    I have been trying to set the menus to be heavyweight by calling this method after the menu has been instantiated:
    [menuname].getPopupComponent().lightWeightPopupEnabled(false);
    Here is an image showing my problem:
    http://www.inf.brad.ac.uk/~jpcatter/menus.jpg
    Edited by: JonCat on Jul 26, 2008 8:47 AM

    It is not a mix of swing and awt. The browser component is the mozswing MozillaPanel component, and it is this that is being drawn on top of my menus, as can be seen from the screenshot that I posted. Another thought I had was that the browser component is the last to be drawn, as it is added to the tab control once all other components are drawn. Could it be the Z ordering of components causing the overlap, or is it strictly a heavy / light weight issue?
    Here is a link to the mozswing homepage for anyone who is interested:
    http://confluence.concord.org/display/MZSW/Home

  • [svn:fx-trunk] 12878: When sub-components don' t have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage .

    Revision: 12878
    Revision: 12878
    Author:   [email protected]
    Date:     2009-12-11 19:07:40 -0800 (Fri, 11 Dec 2009)
    Log Message:
    When sub-components don't have a tabIndex and when VideoPlayer instance does, assigned tabIndex to each inner-component to ensure that they appear in the correct tab order with other components on the stage.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as

    Michael,
    "Michael Caughey" <[email protected]> wrote in message news:413f0af6$1@mail...
    If I'm doing something wrong what is it? Obviously there is something
    different about how I configured my environment a year ago.What happens if you bring down ms02?
    Regards,
    Slava Imeshev

  • Button group and 'Other Components'

    Hullo,
    I am trying to insert in the gui a couple of exclusive buttons, in the sense that when one is on the other becomes off.
    I thought the component useful for that was 'Button Group'. Though when I insert it, it end up in the Other Components session and does not show in the main panel. Normal independent buttons work regularly by simply laying them in the panel.
    Thanks,
    Fabrizio

    In fact I found an example at:
    http://java.sun.com/docs/books/tutorial/uiswing/examples/components/RadioButtonDemoProject/src/components/RadioButtonDemo.java
    I managed to create a package and a class inside and to have it compiled - a feat to me as I started touching Java yesterday :-)
    Still I have no cue about how to invoke it from the main package. The example fares to dispatchers and the like, what I do not need presently as I only need to get the clicked button at a later time rather that invoking an event at the click.
    Basically how do I simply instantiate the class in the other package? Should I import the other file and how?
    This is what I tried that gives error lamenting it does not find the symbol and location class.
    This is the failed attempt:
    public static void main(String[] args) {
    myRadioButton RadioButtonDemo = new RadioButtonDemo;
    Thanks again.
    Fabrizio

  • Component always displays "under" other components......

    Hi there,
    I have a component derived from a "panel" - I'm adding it to the applet but it always displays itself "under" the other components in the applet, never above (which is where I want it).
    I've tried adding it last and adding it first - doesn't make any difference. When I add the component I set it to "setVisible(false)" and "setVisible(true)" when the user clicks a button. I'm a bit confused as to why its underneath everything else!
    Any ideas?
    Thanks.

    I am using my own paint methods indeed - I mean I'm calling "super" and then rendering the component - or calling "super" in a container component and rendering other stuff on the container afterwards.
    But this is all working on the version you see on the website - the one I'm working on is broken.
    btw. I'm using a "Panel" (derives from Container, its a lightweight thingy, nout to do with Schwing etc.).

  • Ideas to display which component drives the other components in the canvas

    I have 4 components in my canvas and I would like to learn some ideas from gurus on what are the best ways to display which component drives (drills down)  the other components in the dashboard.  Any info would be appreciated.

    Hi,
    There is no such rule on which component should drive other in Xcelsius. It all depends upon the data that you are using. Always a component with summarized data should drive a component with granular data. For eg: If you are showing Total sales in a country using Column chart and want to drilldown to the percentage of sales in each region of a particular country , you can use pie chart to show it. Here Column chart drives Pie chart and u can show this in other way also.
    Hope it helps!
    Thanks,
    Arun US

  • Simple Connect access other Components

    Hi !!
    I'm using FMS components, in that I'm not able to connect the
    simple connect component with other components which were in other
    frame.
    Can any one please help in solving this issue.
    Thanks in advance
    Anil Golla :

    Hi anil!
    well it was not the problem with the instance name! well i
    even i am not quiet sure what is the problem or now can say what
    was the problem!
    one fine day it started working automatically, with out me
    doing any changes!!!
    Unusual right?

Maybe you are looking for

  • Print-time XML data update?

    We're researching our options to print artwork with dynamic (i.e. data driven) elements inline with our production process.  We have a packaging machine that has an integrated inline printer and we want to send print jobs that contain dynamic data su

  • Photosmart D110a Wireless Troubleshooting with D-Link DIR-655 and Mac OSX 10.8

    Good evening all, Apologizes if this has already been posted. I've googled this issue a couple of times, but I still haven't found a solution for this problem. I have the Photosmart D110a and I'm running Mac OSX Mountain Lion, and my router is a D-Li

  • Fail to toggle between Chinese & English as per logged in language in WAD

    Hi WAD Gurus, WAD does not allow us to modify descriptions accordingly to the logged in 'language'. Login in EN. Create & Save WAD template. Log in ZH (simplified Chinese) Modify descriptions to Chinese. Problem #1 When template is executed in EN - T

  • How to start ALD in a userprogram

    Can anyone tell me, how to start the ALD with a user defined query in VB.Net code. Thanks for answers. Message was edited by: Klaus Goebel

  • Using XSD while constructing schema

    Hi, I have the following scenario. I hae 2 methods getsendinputschema and getsendoutputschema as shown in the Interactionimpl.java of the email adapter. I call a EIS event in the execute method.The EIS returns me a xml document.Now i have to construc