Paintet Objec and a JEditorPane

Hi guys,
I have a big problem :P
I have to make a prog, where a Monitor is painted and the content of that monitor should be a JEditorPane. In that Editor should be shown a HTML Page.
Now my prob:
I dont know how to make set the JEditor in the middle of my paintet monitor. It would be very greatfull if someone could post or sent me a code where a Rect is paintet and in the middle of the rec should be a JEditorPane !!
Plz help me, plz plz plz :P
cYa and greetz ScorPleX

If I understand you correctly you want to keep the same top/left position of the text in the scroll pane. Here is an untested thought:
a) keep track of the offset of the character at the top/left position of the scrollpane
b) delete text
c) reposition the scrollpane to display the old position
This might be done by something like this:
Point p = scrollPane.getViewport().getViewPosition();
int offset = editorPane.viewToModel(p);
Position topLeft = editorPane.getDocument().createPosition(offset);
// do you delete here
// the following line may need to be executed in a SwingUtilities.invokeLater to make sure it is added to the end of the event queue.
scrollPane.getViewport().setViewPosition( editorPane.modelToView( topLeft.getOffset() ) );

Similar Messages

  • GET OBJEC and GET PERNR

    I am new to ABAP-HR.......
    what is the difference between GET OBJEC and GET PERNR.
    Iam asked to write a program using logical databases .. which one should I use ...
    thanks,
    shekhar....

    Hi Nevali.
    I would like to suggest,
    OBJEC - Work Area for Database PCH
    PERNR - HR Master Data Reporting - PNP
    Differences,
    GET OBJEC - Reporting on Personnel Planning data
    GET PERNR - Reporting on HR master data.
    I would like to suggest a Reference,
    [SAP HELP - Standard Reference for HR Logical Databases|http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/content.htm]
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • Cut, Copy and Paste + JEditorPane

    I am currently working on a text editor and i have now come to the cut, copy and paste "functions". When i try to compile my code i get:
    1. ERROR in MyMenu.java (at line 42)
    GUI.textarea.cut();
    ^^^
    The method cut() is undefined for the type JEditorPane
    2. ERROR in MyMenu.java (at line 47)
    GUI.textarea.copy();
    ^^^^
    The method copy() is undefined for the type JEditorPane
    3. ERROR in MyMenu.java (at line 51)
    GUI.textarea.paste();
    ^^^^^
    The method paste() is undefined for the type JEditorPane
    The code:
                             else if(event.getActionCommand().equals("Klipp ut")){
                             GUI.textarea.requestFocus();
                               GUI.textarea.cut();
                             else if(event.getActionCommand().equals("Kopiera")){
                             GUI.textarea.requestFocus();
                               GUI.textarea.copy();
                             else if(event.getActionCommand().equals("Klistra in")){
                             GUI.textarea.requestFocus();
                               GUI.textarea.paste();
                             }

    That didn't help me at all. I am trying to run the copy, paste and cut actions from my JMenubar. You can see my Jmenubar class code here.
    // Importerar det n�dv�ndiga
    import java.awt.*; import java.awt.event.*; import javax.swing.*;
    public class MyMenu extends JMenuBar
       // Arkivmenyn
       String fileItems[] = new String [] {"Nytt","�ppna","Spara","Spara som...","Avsluta"};
       char fileShortcuts[] = {'N','O','S','A','P','C','x'};
       char fileAccelerators[] = {};
       // Redigeramenyn
       String editItems[] = new String [] {"�ngra","G�r om","Klipp ut","Kopiera","Klistra in",
          "Rensa","Markera allt"};
       char editShortcuts[] = {'U','R','t','C','P','l','S'};
       char editAccelerators[] = {'Z','Y','X','C','V','\u0000','A'};
       // Konstruktorn
       MyMenu()
            // Namn till Menynraden
                   JMenu fileMenu = new JMenu("Arkiv");
                   JMenu editMenu = new JMenu("Redigera");
                   JMenu helpMenu = new JMenu("Hj�lp");
         // Kollar efter vilken meny som anv�ndaren g�r in p�
              ActionListener printListener = new ActionListener()
                           public void actionPerformed(ActionEvent event)
                             // Detta skall h�nda n�r anv�ndaren g�r in p� Avsluta
                             if(event.getActionCommand().equals("Avsluta")){System.exit(0);}
                             // Nytt
                             else if(event.getActionCommand().equals("Nytt") || event.getActionCommand().equals("Rensa")){
                                  GUI.textarea.setText("");
                             else if(event.getActionCommand().equals("Klipp ut")){
                               GUI.textarea.cut();
                             else if(event.getActionCommand().equals("Kopiera")){
                               GUI.textarea.copy();
                             else if(event.getActionCommand().equals("Klistra in")){
                               GUI.textarea.paste();
                             else if(event.getActionCommand().equals("�ppna")){
                               MyBrowser myBrowser = new MyBrowser();
                                 myBrowser.setVisible(false);
                             // Annars skall denna kodsnutt k�ras
                             else {System.out.println("Menu item["+event.getActionCommand()+"[pressed!");}
         // For-sats f�r att skapa Arkivmenyn
         for (int i=0;i<fileItems.length;i++)
            JMenuItem item = new JMenuItem(fileItems, fileShortcuts[i]);
         item.addActionListener(printListener);
         fileMenu.add(item);
         // Redigera-menyn
    for (int i=0;i<editItems.length;i++)
         JMenuItem item = new JMenuItem(editItems[i], editShortcuts[i]);
    if (editAccelerators[i] > ' ') // M�ste l�ggas till
    {item.setAccelerator(KeyStroke.getKeyStroke(editAccelerators[i],
    Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(),false));}
         item.addActionListener(printListener);
         editMenu.add(item);
         // L�gger in tv� linjer i Redigeramenyn p� plats 2 och 9
    editMenu.insertSeparator(2);
    // L�gger till de skapade undermenyerna i menylisten
    add(fileMenu); add(editMenu); add(helpMenu);

  • Get OBJEC  hide screen and transfer data

    Hi experts!
    How can i hide this kind of selection screen when i call
    "get objec"
    and how can i transfer my data manually to the selection range of   get objec.
    eg. i want to use the "get objec" function to collect the data for three objectid.
    i could loop and call  get objec  3 times and set the PCHOBJID-LOW  value before,  but there must be a way to do this with a range.
    can someone help me
    greets, thomas

    Dear Abhishek,  can you explain the step..in this step screen is comming but custom fields value is not coming and also likp table is not updated
    Correct AnswerRe: Update and transfer data via BADI LE_SHP_TAB_CUST_HEAD
    Abhisek Biswas Jan 21, 2009 7:28 AM (in response to Stephen Keam)
    Hi Stephen,
    You can do it by using PBO and PAI modules of the screen that you created. But you have to transfer the data from subscreen to the BADI method TRANSFER_DATA_FROM_SUBSCREEN and aslo from method TRANSFER_DATA_TO_SUBSCREEN to the subscreen. This will update the screen field data to LIKP.
    You can aceive this by two ways.
    1) You can use EXPORT in method TRANSFER_DATA_TO_SUBSCREEN and then IMPORT the value in the screen PBO. And You can EXPORT data from screen PAI and IMPORT data in method TRANSFER_DATA_FROM_SUBSCREEN.
    2) Anither way to do it is by using Function modules and Function Group instead of EXPORT/IMPORT.
    Create a Function group. In the global data define a structure/Work Area of type LIKP.
    DATA w_likp TYPE likp.
    Then create two Function modules, one to export data and another to import data.
    Let us assume that the export FM takes in IS_LIKP as input and the import FM outputs the value of LIKP into ES_LIKP.
    Then pass the value is_likp to the export FM in the BADI method TRANSFER_DATA_TO_SUBSCREEN and in the screen PAI pass the LIKP data to the export FM.
    In the export Function module write the following code:
    MOVE is_likp TO w_likp
    Then in the Import FM write the following code:
    MOVE w_likp TO es_likp.
    The import FM is called from method TRANSFER_DATA_FROM_SUBSCREEN and from screen PBO.
    This will solve your problem.
    Regards,
    Abhisek.
    Alert Moderator
    Like (0)
    Reply

  • How can an applet retrieve the values of a HTML form shown in a JEditorPane

    Hi,
    I'm doing an applet that contains a JTree and a JEditorPane
    among other components. Each node of the JTree represents some
    information that is stored in a database, and whenever a JTree
    node is selected, this information is recovered and shown in
    the JEditorPane with a html form. To make the html form,
    the applet calls a servlet, which retrieves the information of
    the node selected from the database. This information is stored
    like a XML string, and using XSLT, the servlet sends the html
    form to the applet, which shows it in the JEditorPane.
    My problem is that I don't know how I can recover new values
    that a user of the application can introduce in the input fields
    of the html form. I need to recover this new values and send them
    to another servlet which store the information in the database.
    If someone could help me I'd be very pleased.
    Eduardo

    At least I found a fantastic example. Here it is:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.net.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    public class FormSubmission extends JApplet {
    private final static String FORM_TEXT = "<html><head></head><body><h1>Formulario</h1>"
    + "<form action=\"\" method=\"get\"><table><tr><td>Nombre:</td>"
    + "<td><input name=\"Nombre\" type=\"text\" value=\"James T.\"></td>"
    + "</tr><tr><td>Apellido:</td>"
    + "<td><input name=\"Apellido\" type=\"text\" value=\"Kirk\"></td>"
    + "</tr><tr><td>Cargo:</td>"
    + "<td><select name=\"Cargo\"><option>Captain<option>Comandante<option>General</select></td>"
    + "</tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"Enviar\"></td>"
    + "</tr></table></form></body></html>";
    protected HashMap radioGroups = new HashMap();
    private Vector v = new Vector();
    public FormSubmission() {
    getContentPane().setLayout(new BorderLayout());
    JEditorPane editorPane = new JEditorPane();
    editorPane.setEditable(false);
    editorPane.setEditorKit(new HTMLEditorKit()
    public ViewFactory getViewFactory() {
    return new HTMLEditorKit.HTMLFactory() {
    public View create(Element elem) {
    Object o = elem.getAttributes().getAttribute(javax.swing.text.StyleConstants.NameAttribute);
    if (o instanceof HTML.Tag)
    HTML.Tag kind = (HTML.Tag) o;
    if (kind == HTML.Tag.INPUT || kind == HTML.Tag.SELECT || kind == HTML.Tag.TEXTAREA)
    return new FormView(elem)
    protected void submitData(String data)
    showData(data);
    protected void imageSubmit(String data)
    showData(data);
    // Workaround f�r Bug #4529702
    protected Component createComponent()
    if (getElement().getName().equals("input") &&
    getElement().getAttributes().getAttribute(HTML.Attribute.TYPE).equals("radio"))
    String name = (String) getElement().getAttributes().getAttribute(HTML.Attribute.NAME);
    if (radioGroups.get(name) == null)
    radioGroups.put(name, new ButtonGroup());
    ((JToggleButton.ToggleButtonModel) getElement().getAttributes().getAttribute(StyleConstants.ModelAttribute)).setGroup((ButtonGroup) radioGroups.get(name));
    JComponent comp = (JComponent) super.createComponent();
    // Peque�a mejora visual
    comp.setOpaque(false);
    return comp;
    return super.create(elem);
    //editorPane.setText(FORM_TEXT);
    editorPane.setText(texto);
    getContentPane().add(new JScrollPane(editorPane), BorderLayout.CENTER);
    private void showData(String data) {
         // ergebnis significa resultado
    StringBuffer ergebnis = new StringBuffer("");
    StringTokenizer st = new StringTokenizer(data, "&");
    while (st.hasMoreTokens()) {
    String token = st.nextToken();
    String key = URLDecoder.decode(token.substring(0, token.indexOf("=")));
    String value = URLDecoder.decode(token.substring(token.indexOf("=")+1,token.length()));
    v.add(value);
    ergebnis.append(" "); ergebnis.append(key); ergebnis.append(": "); ergebnis.append(value); ergebnis.append(" ");
    ergebnis.append(" ");
    JOptionPane.showMessageDialog(this, ergebnis.toString());
    public static void main(String[] args) throws Exception {
    JFrame frame = new JFrame ();
    FormSubmission editor = new FormSubmission ();
    frame.getContentPane().add(editor);
    frame.pack();
    frame.show();
    }

  • Which methods to put in my Document object and which to put in my gui?

    Please offer corrections or suggestions for the plan I discuss. :-)
    I have created an MLDocument object that holds an xml document, some text(, a TreeModel(actually the tree model comes from the xml), and a text document, and an array of data that correlates the text with the stuff in the xml document.
    This object is used in a document browser that I have written for it that has two panes: a tree and a JEditorPane(IIRC). One key element of the GUI is that I can click on the tree and the associated text is highlighted in the JEditorPane and vice versa. This is what drives me to ask this question.
    Background: When I first wrote this program I did it before making the MLDocument class, but I began to realize I needed to do this in a better way. Now I am struggling to get some things to work trying it the new way.
    My question is, how much (if any) of the gui stuff should I put in the MLDocument. At first I didn't have any, then it seemed like a good idea to have the tree's root be created by a get method in the object but now I'm remembering that I shouldn't serialize swing objects or else I won't be able to upgrade. (or would I be ok since the tree root is created dynamically on when the object is created). More importantly, I'm not sure where (or how) to keep/place my eventlisteners. (the ones in the document that make events occur in the gui).
    It seems they should be in the GUI, but up until now, they had been associated with the document. Now the document is in the MLDocument object at that seems a bad place to keep them, since now I can't get them to do anything in the parent application.
    Thanks for reading my confusing post,
    LNMEgo

    Is there some reason you're asking us, other users, instead of doing what you were told to do and contacting iTunes store support?

  • JEditorPane doesn't redraw if URL same

    I'm generating HTML by styling an XML file using XSLT to a temp HTML file and using jEditorPane.setPage( tempURL ) to display it. No problem there. However if I regenerate new content to the same file name and ask JEditorPane to draw this then it says to itself "this is the same URL I put up before so I'm not going to redraw it" - even though the actual contents of the file have changed.
    I don't want to have to use a different temp file for each run, or even to flop back and forth between 2 temp files (which I believe would work).
    How do I get JEditorPane to redraw if the file name is the same as the previous call?

    Here's my solution - I replace the HTMLEditorKit if it's not the first pass through. I found that the EditorKit is an instance of HTMLEditorKit for every pass except the first (which doesn't have a problem).
    EditorKit ek = displayJEditorPane.getEditorKit();
    if( ek instanceof HTMLEditorKit ) {
         // Needs to be replaced
         HTMLEditorKit htmlEditorKit = new HTMLEditorKit();
         displayJEditorPane.setEditorKit( htmlEditorKit );
    // Display the HTML document
    displayJEditorPane.setPage( resultURL );I'll spread my Duke Dollars around to everyone who offered a suggestion later today if I don't hear of a better solution.
    Thanks.

  • JEditorPane isn't generating HyperlinkEvents

    Well, at least that is the way it appears. I am working with NetBeans 3.6 with Tomcat 5, andJ2EE1.4.2_01.
    My Project involves a couple servlets and an applet. The first servlet loads a web page containing the applet. This applet contains a text field and a JEditorPane, with the latter on a JScrollPane. I am using a border layout.
    Everything displays fine. I have no problems with that. When I created this applet on my desktop, all worked well except that the applet would not display documents obtained using the https protocol (it allowed browsing of all my html files when I restricted myself to using the http protocol). I have yet to figure out why. The first time I recreated it on my notebook computer, everything worked fine. I could get and display documents using the https protocol and the JEditorPane would follow the hyperlinks I placed in the html files. I have no idea what is different between those two versions (desktop and notebook #1).
    Now, I have recreated the project a second time, cleaning it up some (mostly removing code that had been commented out and giving some of the data members of some of the classes more useful names), and now everything works except that my HyperlinkListener is not being called. I can't imagine what the "significant" difference is between the two notebook versions may be (I have both versions on my disk so it is easy to check, at least if I knew what to look for). I have made certain that the JEditorPane is NOT editable, and I have invoked addHyperlinkListener(new HyperActive()) on my JEditorPane. This call is, BTW, in function init() which is created by Netbeans to call initComponents() which it creates to create and initialize all the components on a form. init() is used to allow any initialization to be added by the programmer.
    Does anyone have any ideas regarding what mistake I have made?
    Thanks,
    Ted

    Hi. Thanks for this. I am not sure we have understood each other. I say this because I am not sure I understand what you mean by "standalone". If you mean what I think you mean, then that gets to the next question I was going to ask once this one is sorted out. That is, I assume I can modify my applet so that it will work as a standalone application that I could distribute to anyone I have writing html files for me, so they can ensure that their pages display well, and that simply by adding function main.
    It seems unlikely that the JVM is the culprit since on my notebook, there are two versions of the project, one which works (but needs a little cleanup and fixing of names) and one which is being troublesome.
    In each of my three cases, I have two servlets being served up by Tomcat 5. And I have one applet that is always only display in my web browser in response to a request being made to one of my servlets. In one version, it all works as intended, except the code needs to be cleaned up and some of the classes, the context and variables need to be renamed. That is the first version on the notebook.Invariably, NetBeans starts Tomcat if it isn't already running, and then it passes a request to the first servlet, by starting MS IE with the URL for the web page containing the applet and returns it. I can see all this happening watching the programs and various monitors I have running (such as the http monitor). This is all working as expected. On my desktop, with exactly this setup, everything works as long as I restrict myself to http. If I try https, everything gives the appearance of working, and in the http monitor I can see the https requests being made and the appropriate files being returned. But for some reason, the file is not displayed where exactly the same file is displayed if it is requested using the http protocol. On my notebook, in the second reconstruction, again it all seems to be OK except that JEditorPane is not generating the hyperlink requests. The first page is retrieved using https from within the initialization function, and properly displayed. And the cursor even changes to the hand with a pointing finger when it is over the hyperlink, but the hyperlink event is not generated and we don't get into my even handler.
    Is this clearer, or does it generate any more ideas as to what to look at and where?
    Thanks,
    Ted

  • Problem in getting focus on JEditorPane

    Hi,
    Inside JFrame I have a JPanel. JPanel contains 2 JButtons, 1 JTextField and 1 JEditorPane.
    On pressing TAB key, focus goes over the 2 JButtons and 1 JTextField but it does not go over to the JEditorPane. Can somebody help me ?
    TIA
    Ajit

    hi,
    Thanks for replying. Now the editorpane is getting the focus. But once it gets the focus, on next TAB key-press instead of moving the focus to the next component ( one of buttons or texfield) it stays in the editorpane itself and creates tab space there. I want the focus to move over all the components inside JPanel using TAB key.
    Ajit

  • Best of way of storing texts for JEditorPane.

    I'm developing a small GUI. It has a combobox and a JEditorPane. I want the editorPane poupulated with text (html if possible) according to the selection of the combobox.
    My question is now: Whats the best way of storing those texts???
    It should be static text, (explanation of the selection) so it can be hardcoded. Should I just create another class that only contains the texts?
    So this is not a 'how can I...'-question, but more a 'what's the way to..'-question!
    Let's hear some opinions! ;-)

    Thanks Mike, I am still exploring on this issue. I shall try that cache funda.
    Ashok Gupta
    "Mike Reiche" <mreiche@newsgroup_only.com> wrote:
    >
    >
    >
    If you would like to put a DB in between LD an MS-Excel, simply configure
    Caching
    for the DataView that retrieves the spreadsheet. LD will automatically
    catch
    the DataView in your cache database (SQL Server or Oracle). The only
    drawback
    is that your data will only be as recent as the last cache refresh.
    Before I made the MS-Excel demo, I did look at other Java-COM bridge
    products.
    JCOM was by far the easiest to use. The way the custom function is written,
    it
    retrieves the whole worksheet. If you want to write another custom function
    that
    takes row and column parameters, I'm sure it would be much quicker.
    "Ashok Gupta" <[email protected]> wrote:
    Hello,
    I am working on a solution to use Excel Files (yes, multiple) as Data
    Source in
    Liquid Data for a portal running on Web Logic Server (ver 7). The web
    application
    (will be mostly in JSP) will be executing the XQueries (some combination
    of one
    or mutiple worksheets from one or multiple Excel Files) and will need
    out out
    in XML. As I understand the input (XQry) and output (XML) is what fits
    properly
    in Liquid Data, the problem is with the efficiently using/accessingmultiple
    Excel
    files as Data Source with Liquid Data.
    I have been thinking following versions:
    1. Let it be some intermediate DB (say SQL Server, or...) communicate
    with Liquid
    Data and let SQL Server communicate with MS Excel. So aviding direct
    communication
    between Liquid Data and Excel (but how it to be?).
    2. Let Liquid Data communicate with Excel directly but use some efficient
    way
    of it (but what?)
    Can anyone please help me with this issue? As this decisions is going
    to efftect
    my big application (yes it will be a big web application).
    Thanks in advance,
    Ashok Gupta

  • JInternalFrame - JEditorPane

    Hi,
    I want to generate some InternalFrames of the same class. This class (extends JInternalFrame) defines some SWING-stuff among others a JTextPane and an JEditorPane.
    If I generate one Internal Frame, everything is fine, but when I generate a second one, the Text- and EditorPane disappear from the first and are shown only on the second one. Why?
    And how can I achieve, that all frames have the same content?
    I'm pleased for every solution.
    Anthony

    Hi,
    you shouldn't share components between different containers - that won't work. Instead you should share a data model between components (i.e. two JTextPanes use the same Document). This way, every component has its own visual representation and its own listeners but they draw their data from the same data model. You don't even need to care for data model changes - each component will react automatically if the underlying data model changes.
    Regards,
    Michael

  • Fade a JEditorPane

    Hi,
    I've been struggling with this problem for days now. I'm displaying HTML pages in an JEditorPane so that I can control the content from my webapp. The JEditorPane is placed in a JPanel (called mainpanel) togheter with another JPanel (with some buttons which I call toppanel). I place the TopPanel at the top of the MainPanel and the JEditorPane in the bottom (so the TopPanel becomes like a menu). I then use setPage on the JEditorPane to switch the different views (HTML pages).
    What I would like to do when I change the HTML page is to fade the JEditorPane. For example
    public void changePage(String url)
    JEditorPane.fadeOut(); <----DONT KNOW HOW TO DO THIS
    JEditorPane.setPage(url);
    JEditorPane.fadeIn(); <----DONT KNOW HOW TO DO THIS
    The fade should be done without affecting the TopPanel.
    Ive tried different solutions to do this:
    1. Using GlassPane - but I could get it to work.
    2. Using a javabrowser and then run javascript to fade. This didn't work because of license issues and because how it was designed (I have thread changing the content and that was not allowed)
    Could someone help in simply fading in and out the EditorPane itself.
    BR, Jake

    JAKE142 wrote:
    ..Could you please give me a code sample?
    Can u gimme da codez? (1)
    How about you give us a 'code sample' of your best effort of implementing the suggestion? Note also:
    - For better help sooner, post an SSCCE.
    - When posting code, code snippets, HTML/XML or input/output, please use the code tags. The code tags protect the indentation and formatting of the sample.
    - Be very specific about what you saw in the current code, and what you expected or hoped to see.
    ..I think I tried it but without success.1) You did succeed in sounding pathetic. As an aside, that will get you less help, not more.

  • Dynamic Text in a JTextPane

    Dear All,
    I would like to ask you if it is somehow feasible to create dynamic text into a JTextArea/JTextPane and/or JEditorPane. To be more specific, by the term dynamic text,
    I mean to have the opportunity to specify that some of the words contained in the JTextArea have an action (like a hyperlink let's say).
    I searched the forum but I did not find any similar topics neither answers concerning this issue. The only thing I found similar to this was that by using a JEditorPane one
    can employ the HTML language to creat some hyperlinks, but even in this case how will I be able to find out which word contained in the JEditorPane triggered which
    HyperLinkEvent? Is there a solution or a much easier way to accomplish this task? I would really appreciate it if some exemplary code could also be provided.
    I totally respect you gurus and count on you!
    Thank you in advance for your attention!
    Best Regards,
    JIM

    but even in this case how will I be able to find out which word contained in the JEditorPane triggered which HyperLinkEvent?
    Read the JEditorPane API. It has an example of writing a HyperlinkListener.

  • File to File USing integrated configuration AAE

    Hi experts,
    We have configured simple file to file scenario (File Tunneling) using ICO feature for Advance Adapter Engine.
    While testing the interface we are getting following error in sender communication channel.
    Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Receiver Determination failed for message 10e9a7f7-36f6-49df-3690-d88314d156ac(OUTBOUND)
    It is not able to determine the Receiver system.
    Please advise...
    Regards,
    Deepak

    The issue has been resolved now.
    Solution:
    There is a slight configuration which is required for the ICO to work with file tunneling with Dummy ESR objects.
    In case, the incoming message is not resembling the Data/Message type please check the radio button as u201CNon Operation Specificu201D in Receiver tab of the ICO objec and ICO will work.
    Thanks for inputs.

  • JTree - Fetch URL from a tree node.

    Now I have created one JTree and one JEditorPane.
    Basically I am creating a help file. (a chm file in windows).
    So I need to handle mouse click event on each node on JTree.
    I have used such format to add a hyperlink.
    sample code:---------------------------------------------------------------------------------------------------------------------------
    javax.swing.tree.DefaultMutableTreeNode treeNode1 = new javax.swing.tree.DefaultMutableTreeNode("JTree");
    javax.swing.tree.DefaultMutableTreeNode treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("colors");
    javax.swing.tree.DefaultMutableTreeNode treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("blue");
    treeNode2.add(treeNode3);
    treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("violet");
    treeNode2.add(treeNode3);
    treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("red");
    treeNode2.add(treeNode3);
    treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("yellow");
    treeNode2.add(treeNode3);
    treeNode1.add(treeNode2);
    treeNode2 = new javax.swing.tree.DefaultMutableTreeNode("s");
    treeNode3 = new javax.swing.tree.DefaultMutableTreeNode("<html><a href='C:\\Program Files\\Java\\jdk1.6\\README.html'>Read Me</a></html>");
    treeNode2.add(treeNode3);
    jTree1.setModel(new javax.swing.tree.DefaultTreeModel(treeNode1));
    jTree1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mousePressed(java.awt.event.MouseEvent evt) {
    TreeListener(evt);
    private void TreeListener(java.awt.event.MouseEvent evt) {                                    
    int selRow= jTree1.getRowForLocation(evt.getX(), evt.getY());
    TreePath tp = jTree1.getPathForLocation(evt.getX(), evt.getY());
    if(selRow!=-1) {
    if(evt.getClickCount()==1) {              
    jTree1.setSelectionPath(tp);
    Now there is a hyperlink created for that node "Read Me".
    My Question is ..........
    How do I fetch this stored URL in each node for setting it to my JEditorPane....???

    ok, it seems to be working now. I just return the JInternalFrame in the getTreeCellRendererComponent() method.

Maybe you are looking for

  • Airport Extreme + Time Capsule Roaming Network

    Ok, I'm completely lost here and haven't found any solutions specific to my situation. I currently have two ethernet jacks in my condo, both have fiber optic internet connection which provide access when connected to a computer and no router. I'm ass

  • Using a function to create a report

    Hi, I have a report created with a select statement, I would like to create a function which will return the result of the select statement and use this function to create the report ? Does anybody know how I can do it ? I mean how to create a functi

  • Video Networking -  just a few minor questions!

    Hi there, I have a monster dual core mega PC that i just bought, it's awesome and I love it dearly, but my 2 girl room-mates both have Macs! one - an ibook G4, and the other - a powerbook G4. I have created a folder on my computer called Video and in

  • Questions about uninstalli​ng some preload stuff...

    Hi all, trying to slim down my system, a few questions if you can help... 1) Can I uninstall "Thinkpad Power Manager"? If yes, I gather I would have to leave "Thinkpad Power Management Driver" installed? I don't need all those power options, and I'm

  • Uninstall FCP 5.0 and reinstall 5.1 universal binary version on non intel

    I have a non intel G5 and just got another intel based Mac, i heard they have fixed the issus with compressor 2.0 in the new version of Final Cut Pro 5.1 which i have also bought and was wondering how to go about uninstalling and reinstalling FCP so