Basic help on java

hi...i am new in java. all i want to know is how to minimize a window in system tray when i click on the close button

pierrot_2 wrote:
fahien_akim wrote:
hi...i am new in java. all i want to know is how to minimize a window in system tray when i click on the close buttonSince I am not afraid of looking the fool (hence my code name pierrot), let me try this again.
I don't think that clicking a close button will minimize your window - it will close.Not necessarily. Had you read the documentation for JDialog or JFrame, or had your read the Swing tutorials you would have seen that you can setDefaultCloseOperation and addWindowListener to achieve what the OP wants to do.
You need to specifically have a minimize button to minimize.Wrong again.
I've noticed occasionally that some windows (dialogs) don't even offer that.Depends on the type of window.
Please correct my statements if they are wrong or irrelevantThey were and I did.
as this is not an attempt to mislead or misguide anyone.If you're not sure of what you're talking about, you shouldn't post a response.

Similar Messages

  • Translating Visual Basic Events into Java Events

    I'm in the process of porting a Visual Basic application to Java. Now, most of it is pretty straight forward, since good OO practice is evident in the original VB source. With a good dose of refactoring along the way the Java version is looking pretty good too.
    However, I'm having a problem with events. Here's a snuppet of one of a VB class that generates events and one that uses it:
    (Invoices.cls)
    -=-=-=-=-=-=-=-=-
    Event AddItem(ItemID as String)
    Event RemoveItem(ItemID as String)
    Private m_Items as Collection
    Public Sub Add(ItemID as String)
       m_Items.Add ItemID
       RaiseEvent AddItem(ItemID)
    End Sub
    Public Sub Remove(ItemID as String)
       m_Items.Remove ItemID
       RaiseEvent RemoveItem(ItemID)
    End Sub
    -=-=-=-=-=-=-=-=-and
    (OrderBook.cls)
    -=-=-=-=-=-=-=-=-
    Private WithEvents m_Invoices as Invoices
    Private Sub m_Invoices_AddItem(ItemID as String)
       CalculateTotals
    End Sub
    Private Sub m_Invoices_RemoveItem(ItemID as String)
       CalculateTotals
    End Sub
    -=-=-=-=-=-=-=-=-Can anyone give me a few pointers on what the Java equivalent to this VB code is?
    Thanks,
    Vince.

    Hi,
    There are few main things involved in a Java event delivery
    1. The event source
    2. The event listener
    3. The even data
    4. Registration
    5. The event delivery process
    I don't know the VB syntax, but any way it gives a good idea of what you wish to achieve.
    Here the Invoice class is basically the event source. And the OrderBook class is the event listener. To proceed further you will have to specify (define) the event listener first. Secondly you will have to create an event object which contains the data to be delvered via the event.
    1. Specifying the event listener interface
    public Interface ItemOperationListener
    public void itemAdded (ItemOperationEvent ioe);
    public void itemRemoved (ItemOperationEvent ioe);
    2. The event class
    public class ItemOperationEvent extends java.util.EventObject
    String item = null;
    public ItemOperationevent(Object source, String Item)
    super(source);
    this.item = item;
    public String getItem()
    return item;
    3. Creating and firing the event from the event source.
    public class Invoice
    private collection items; // any collection
    // to hold all the event listeners , this way u can define > 1
    // listeners
    javax.swing.event.EventListenerList listenerList = new javax.swing.event.EventListenerList();
    public void addItem(String item)
    items.add(item);
    // update the listeners
    fireItemAdded(item);
    public void removeItem(String item)
    items.add(item);
    // update the listeners
    fireItemRemoved(item);
    public void addItemOperationListener(itemOperationListener ioe)
    listenerList.add(ioe);
    public void removeItemOperationListener(itemOperationListener ioe)
    listenerList.remove(ioe);
    public void fireItemAdded(String item)
    ItemOperationEvent e = null;
    Object[] listeners = listenerList.getListenerList();
    // Process the listeners last to first, notifying
    // those that are interested in this event
    for (int i = listeners.length-2; i>=0; i-=2) {
    if (listeners== ItemOperationListener.class) {
    if (e == null)
    e = new ItemOperationEvent(this,item);
    ((ItemOperationlistener)listeners[i+1]).itemAdded(e);
    public void fireItemRemoved(String item)
    ItemOperationEvent e = null;
    Object[] listeners = listenerList.getListenerList();
    // Process the listeners last to first, notifying
    // those that are interested in this event
    for (int i = listeners.length-2; i>=0; i-=2) {
    if (listeners[i] == ItemOperationListener.class) {
    if (e == null)
    e = new ItemOperationEvent(this,item);
    ((ItemOperationlistener)listeners[i+1]).itemRemoved(e);
    4. The listener and the registration .
    public class OrderBook implements ItemOperationListener
    private Invoice invoice; // invoice instance.
    public OrderBook()
    // register for event updates .
    invoice.additemOperationListener(this);
    public void itemAdded(ItemOperationEvent ioe)
    String tobeAdded = ioe.getItem();
    calculate();
    public void itemRemoved(ItemOperationEvent ioe)
    String tobeRemoved = ioe.getItem();
    calculate();
    public void calculate()
    I hope this gives a picture of the standard method of event delivery in java . However you can even follow the Observer, Observable pattern (see the documentation for java.util.Observer, Observable).
    Hope this helps,
    Manish.

  • XI Mail Adapter: sending emails with attachment with help of java mapping

    Hi ,
    On trying out the scenerio mentioned in the blog, using the java mapping provided
    "XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
    The scenerio works just fine.
    But the payload as the content of the attachment is not getting generated in proper XML format.
    I suppose it's because of the replace special characters code part..
    Can anyone help me state the modification required in the code.
    Thanks!
    Regards,
    Faria Mithani

    It might be a codepage issue. Is your original payload UTF-8?

  • Help with java mapping

    PI File adapter has a processing option u2018Empty-Message Handlingu2019 to ignore or Write Empty Files. In case there is no data created after mapping on target side then this option determines whether to write an empty file or not. But there is a catch to this option when it comes to using it with File Content Conversion which is described in SAP Note u2018821267u2019. It states following:
    I configure the receiver channel with File content conversion mode and I set the 'Empty Message Handling' option to ignore. Input payload to the receiver channel is generated out of mapping and it does not have any record sets. However, this payload has a root element. Why does file receiver create empty output file with zero byte size in the target directory?  Example of such a payload generated from mapping is as follows:                                                           
    <?xml version="1.0" encoding="UTF-8"?>                          
    <ns1:test xmlns:ns1="http://abcd.com/ab"></ns1:test>
    solution :
    If the message payload is empty (i.e., zero bytes in size), then File adapter's empty message handling feature does NOT write files into the target directory. On the other hand, if the payload is a valid XML document (as shown in example) that is generated from mapping with just a root element in it, the File Adapter does not treat it as an empty message and accordingly it writes to the target directory. To achieve your objective of not writing files (that have just a single root element) into the target directory, following could be done:
    Using a Java or ABAP Mapping in order to restrict the creation of node itself during mapping. (This cannot be achieved via Message Mapping)
    Using standard adapter modules to do content conversion first and then write file. 
    can someone help with java mapping that can be used in this case?

    Hi,
        You have not mentioned the version of PI you are working in. In case you are working with PI 7.1 or above then here is the java mapping code you need to add after message mapping in the same interface mapping
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    public class RemoveRootNode extends AbstractTransformation{
         public void execute(InputStream in, OutputStream out)
         throws StreamTransformationException {
    // TODO Auto-generated method stub
    try
         DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
         DocumentBuilder builderel=factory.newDocumentBuilder();
         /*input document in form of XML*/
         Document docIn=builderel.parse(in);
         /*document after parsing*/
         Document docOut=builderel.newDocument();
         TransformerFactory tf=TransformerFactory.newInstance();
         Transformer transform=tf.newTransformer();
         if(docIn.getDocumentElement().hasChildNodes())
              docOut.appendChild(docOut.importNode(docIn.getDocumentElement(),true));
              transform.transform(new DOMSource(docOut), new StreamResult(out));
         else
              out.write(null);
    catch(Exception e)
    public void setParameter(Map arg0) {
    // TODO Auto-generated method stub
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    try{
         RemoveRootNode genFormat=new RemoveRootNode();
         FileInputStream in=new FileInputStream("C:\\apps\\sdn\\rootNode.xml");
         FileOutputStream out=new FileOutputStream("C:\\apps\\sdn\\rootNode1.xml");
         genFormat.execute(in,out);
         catch(Exception e)
         e.printStackTrace();
    public void transform(TransformationInput arg0, TransformationOutput arg1)
              throws StreamTransformationException {
         // TODO Auto-generated method stub
         this.execute(arg0.getInputPayload().getInputStream(), arg1.getOutputPayload().getOutputStream());
    In case you are working in PI 7.0 you can use this code
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    public class RemoveRootNode implements StreamTransformation{
         public void execute(InputStream in, OutputStream out)
         throws StreamTransformationException {
    // TODO Auto-generated method stub
    try
         DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
         DocumentBuilder builderel=factory.newDocumentBuilder();
         /*input document in form of XML*/
         Document docIn=builderel.parse(in);
         /*document after parsing*/
         Document docOut=builderel.newDocument();
         TransformerFactory tf=TransformerFactory.newInstance();
         Transformer transform=tf.newTransformer();
         if(docIn.getDocumentElement().hasChildNodes())
              docOut.appendChild(docOut.importNode(docIn.getDocumentElement(),true));
              transform.transform(new DOMSource(docOut), new StreamResult(out));
         else
              out.write(null);
    catch(Exception e)
    public void setParameter(Map arg0) {
    // TODO Auto-generated method stub
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    try{
         RemoveRootNode genFormat=new RemoveRootNode();
         FileInputStream in=new FileInputStream("C:\\apps\\sdn\\rootNode.xml");
         FileOutputStream out=new FileOutputStream("C:\\apps\\sdn\\rootNode1.xml");
         genFormat.execute(in,out);
         catch(Exception e)
         e.printStackTrace();
    The code for PI 7.0 should also work for PI 7.1 provided you use the right jar files for compilation, but vice-versa is not true.
    Could you please let us know if this code was useful to you or not?
    Regards
    Anupam
    Edited by: anupamsap on Dec 15, 2011 9:43 AM

  • Darwin Streaming Server (really basic help)

    Hey, I need some basic DSS help. REALLY basic help. So, Darwin is installed and everything, and I can upload movies to the /usr/local/movies directory. When I upload them there, I can see them in the 'make new playlist' screen. However, Darwin seems to be requesting a .sdp file as the 'mount point'?? What's with that?
    Thanks for any assistance.

    The mount point is supposed to be the location on the hard disk where the movie file resides; the sdp extension indicates that the file is a stream. To create a SDP file, try using the information linked to from this page.
    (14906)

  • Call Oracle Help for Java in Oracle forms running in the web

    Hi, everyone,
    We are developing a web-enabled Oracle database application
    system. Oracle suggested us to use Oracle Help for Java(OHJ) to
    create an online help system for the web environment. We
    successfully created a OHJ program which can be independently.
    But we still have no idea how to call this OHJ program from the
    forms running in the web environment.
    Could anyone help us out?
    Thanks.
    null

    I would like to know if anyone has been able to do this too. Could someone respond if they have successfully gotten this to work?
    Thanks!!

  • Jasper basic help

    hello all,
    I need some basic help and info on jasper. if some one has used it and used it specially with swing, please let me know.
    I need some basic concepts of jasper.
    1: can I send the reports to the printer directly? i mean, is there a class in jasper to access printer.
    2: can I send queries directly to a report?
    3: if there is facility to send the report to printer, then can I preview the report page wise before sending it to the printer?
    Please provide some prompt info as I am in a big trouble with a project and I don't have a lot of time to go through all the docs, just to find that there is no direct printing support. if there is printing support in jasper then I will spend the time on the docs.
    thanks in advance
    Krishnakant.

    1: can I send the reports to the printer directly? i mean, is there a class in jasper to access printer.
    yes
    2: can I send queries directly to a report?
    you query the database, create the report using the query and then print it.
    3: if there is facility to send the report to printer, then can I preview the report page wise before sending it to the printer?
    yes you can display the report on the screen
    Basically you can display a report on the screen or print it directly.
    If the report is displayed on the screen you then can print or export it.
    These may help
    http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-opensourceprofile.html
    http://jasperreports.sourceforge.net/quick.how.to.html
    http://jasperreports.sourceforge.net/samples/index.html
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=64&t=000465
    http://sourceforge.net/forum/forum.php?forum_id=113530
    Here is an example pulled from my code that displays a report on the screen.
    It is not going to be much help.
    Note the references to JDesktopPane and modalFrame will be confusing.
    The report is loaded from a jar.
    I go to a lot of trouble to trap the report on a modal screen.
    processStandardReport("sreports/employees.jasper", null);
    public static boolean processStandardReport(String reportFile, HashMap controlHash) {
       JasperPrint report = null;
       URL fileURL = null;
       String rFile = reportFile;
       HashMap rptHash = controlHash;
       // get report reference
       try{fileURL = startup.class.getResource(reportFile);}
       catch (Exception jEX) {
          // Unexpected error
          return false;
       Connection reportConnection = ???? // H E R E   establish your connection
       try{
          // set file stream
          fs = (InputStream)(startup.class.getResourceAsStream(rFile));}
          // load the report
          JasperReport template = JasperManager.loadReport(fs);
          // fill the report
          report = JasperManager.fillReport(template, rptHash, reportConnection);
       catch (Exception jEX) {
          // Unable to process report
          // RELEASE OR CLOSE YOUR CONNECTION
          return false;
       // RELEASE OR CLOSE YOUR CONNECTION
       try {
          // set uo to display the report
          int iPtr = rFile.lastIndexOf(".");
          String title = "View Report "+rFile.substring(0,iPtr);
          JDesktopPane desktopRef = getDesktopReference();
          JRootPane rootRef = desktopRef.getRootPane();
          JInternalFrame modalFrame = new ModalInternalFrame(title, rootRef , desktopRef){
             public void dispose() {
             ModalInternalFrame.killModalFrame();
             ReportUp = false;
       ReportUp = true;
       // display the report in modal panel
       // note this is a subclass of JPanel
       JRViewer jrv = new JRViewer(report);
       jrv.setPreferredSize(new Dimension(600, 410));
       JScrollPane reportScroll = new JScrollPane(jrv);
       JPanel viewer = new JPanel();
       viewer.add(reportScroll);
       modalFrame.setFrameIcon(frameIcon);
       modalFrame.setClosable(true);
       modalFrame.setSize(new Dimension(625, 450));
       modalFrame.setPreferredSize(new Dimension(625, 450));
       modalFrame.setMinimumSize(new Dimension(625, 450));
       modalFrame.setLocation(50, 50);
       modalFrame.getContentPane().add(viewer);
       modalFrame.pack();
       modalFrame.setVisible(true);
       catch(Exception vEX){
          // unable to view report
          return false;
       return true;
    }rykk

  • Need help in Java Script

    i Need some help in Java Script,
    am using the following code :
    <script type="text/javascript">
    var newwindow;
    function poptastic(url)
    newwindow=window.open(url,'name','height=300,width=400,left=100, top=100,resizable=yes,scrollbars=yes,toolbar=yes,status=yes');
    if (window.focus) {newwindow.focus()}
    else {newwindow.close()}
    //     if (window.focus) {newwindow.focus()}
    </script>
    In HTML,
    thWorld Environment
    Day, June 5<sup>th</sup>,2005
    Am using onmouseover event, so that when my mouse in on the link, popup is opened....and when my mouse is out of the link, the new window should b closed....
    but according to the above code, the new window is opened but have to close it manually....
    Is there any other way to close the popup when my mouse is out of the link

    Prawn,
    This is not really a good way to make friends. With the cross posting and the posting in a wrong forum anyway thing you have going.
    Please kindly take your question to an appropriate JavaScript forum.
    Have a happy day.
    Cross post from http://forum.java.sun.com/thread.jspa?messageID=3797201

  • Rename exported file in ODI with help of Java

    Hi.
    We have to implement new scenarios into execution repository. I marked scenarios and I exported them with help of procedure:
    OdiExportScen "-SCEN_NAME=#scen_name" "-SCEN_VERSION=-1" "-FILE_NAME=#DEP_EXPORT_DIRECTORY\SCEN_#SCEN_NAME 001.xml" "-FORCE_OVERWRITE=YES" "-RECURSIVE_EXPORT=YES" "-XML_VERSION=1.0" "-XML_CHARSET=windows-1251" "-JAVA_CHARSET=cp1251"
    But I have to put space between variable #SCEN_NAME and another part of file name. After export I want to rename file with help of Java script, but I get an error when I try to read list of files.
    import java.io.*;
    public class RenameFiles
         public static void main(String[] args)
              String dirPath = new String ("D:\\ODI");
              File dir = new File(dirPath);
              String dirList[] = dir.list(); /* I get error there*/
              for(int i=0; i<dirList.length; i++)
                   File oldFileName = new File(dirPath+"\\"+dirList);
                   File newFileName = new File(dirPath+"\\"+dirList[i].replaceAll(" ","_"));
                   oldFileName.renameTo(newFileName);
    Error in ODI Operator looks like:
    org.apache.bsf.BSFException: BeanShell script error: Parse error at line 9, column 31. Encountered: [ BSF info: Rem at line: 0 column: columnNo
         at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
         at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.k(e.java)
         at com.sunopsis.dwg.cmd.g.A(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:662)

    I fixed it.
    All I need - put slashes at end of directory name. Also I removed implementation of class.
    import java.io.*;
    String dirPath = new String ("D:\\ODI");
    File dir = new File(dirPath+"\\");                // I put \\ at the end of directory name
    String[] dirList = dir.list();
    for(int i=0; i<dirList.length; i++)
         File oldFileName = new File(dirPath+"\\"+dirList);
         File newFileName = new File(dirPath+"\\"+dirList[i].replaceAll(" ","_"));
         oldFileName.renameTo(newFileName);
    Edited by: user12281180 on Apr 14, 2011 7:44 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Oracle Help for Java 4.2.0 and 4.1.17

    Attention to all: Oracle Help for Java 4.2.0 and 4.1.17 are now available for download at
    http://otn.oracle.com/software/tech/java/help/content.html
    OHJ 4.2.0 features a new Ice Browser and enhancements related to the known modal dialog problem. It requires JDK 1.3 and is a recommended upgrade for all clients using JDK 1.3 or higher.

    4.1.17 appears to work correctly with RoboHelp.
    4.2 gives an error when attempting to generate fts.idx via RoboHelp.

  • Basic help with photo slideshow?

    Hi
    I am new to adobe after effects and I have recently purchased a file from videohive (http://videohive.net/item/photo-album-v2/44575) which is great.  I am trying to tweak it a little and as I am new to after effects, I would love to ask anyone for some basic help?  I will be leaving the country in 2 weeks to get married and my UK wedding reception will be a week after I return so I am in pretty much a hurry to get a slideshow rendered and put onto dvd to play in the reception.  I have mastered how to render in PAL format and get onto DVD but I am having a little trouble with basic elements such as adding keyframes.
    The file has 13 placeholders which I have replaced with my own photos. Two of which are replaced with avi videos instead of jpg. This works fine but I would like to stop the camera movement on say photo 7 and zoom in a little on the video, play the video (approx 40 seconds) then return the photo back in place and resume your camera movement.  This will be repeated for one other photo (photo 9) where the video is approx 60 seconds.  Could you possibly help me how I can do this?  I am also adding music to play throughout from start to finish and I would also like to pause (or fade volume) whilst the avi video placeholder is playing, then resume after playback.  I know this may sound a lot to ask but I know that with the knowledge - it will only take me about 30 mins work once I know what to do.  Any help you can offer will be fantastic. I am proficient with Adobe Flash so I understand the jargon of timelines etc.
    Thank you for any help anyone could provide in my panic to get complete.
    Best regards
    Sean.

    *woohoo* Here's to the ones daring marriage... For your  problems there is a number of ways to tackle them, but the specific solution may depend on how the template works. As David already said, for audio you'd be better off using Premiere, but assuming you have just a single track that realyl only requires fades, AE should serve your needs. You can reveal the audio volume by tapping the L key when the respective layer in your composition is selected, then enable the stopwatch icon to add keyframes. Layers can be trimmed by simply dragging their ends, duplicated with Ctrl+D and split by using Ctrl+Shift+D, so it should be perfectly possible to extend your audio as needed, assuming you increase the comp duration first via the composition options. For the images to come into view, you could simply scale them up. Of course the project is based on 3D layers, so it would look a lot better if you animated the camera to dolly in, but if you have no experience in AE, that may make more of a mess than it's worth. Therefore I simply recommend you create a photo flash/ film burn transition - add a  white solid with a slight color tint, set it's blending mode to add, animate it's opacity and while it's fading out, fade in your full screen video. If done in 32bpc, this can look quite real and since it's a separate effect, it won't interfere with the rest of the animation.
    Mylenium

  • Migrating from JavaHelp to Oracle Help for Java

    Currently we have a product in which we have implemented Sun Microsystem's JavaHelp as the Help delivery system. However, after evaluating Oracle Help for Java we would like to migrate from Javahelp to OHJ.
    My question is, how difficult would this migration be from the Development side? I have been reviewing the Oracle Help for Java Developer's Guide and comparing it against the JavaHelp documentation but I haven't been able to get a clear idea of how different the implementation is.
    Thanks,
    Theresa

    Hello Theresa,
    Thanks for considering Oracle Help.
    There isn't much you have to do with your source content and control files. With the exception of the full text search index, the Oracle Help control file formats (helpset, index, map, etc.) extend the JavaHelp formats. So you can use the JavaHelp control files as is, or you can extend them with the Oracle Help extensions. For a quick overview of differences, see the following page in the Oracle Help Guide:
    1. Go to http://otn.oracle.com/ohguide/help/.
    2. Click "Oracle Help File Formats."
    3. Click "Comparision to Javahelp File Formats."
    To create an Oracle Help full text search index, run through the Helpset Authoring Wizard and remove the existing JavaHelp search view and have the wizard generate an Oracle Help Search index
    on the following wizard page. For the Helpset Authoring Wizard doc:
    1. Go to http://otn.oracle.com/ohguide/help/.
    2. Click "Authoring Oracle Help Systems."
    3. Click "Using the HelpSet Authoring Wizard."
    Alternatively, change the helpset file by hand. For the doc:
    1. Go to http://otn.oracle.com/ohguide/help/.
    2. Click "Oracle Help File Formats."
    3. Click "Helpset File."
    Then run the indexer. For doc:
    1. Go to http://otn.oracle.com/ohguide/help/.
    2. Click "Authoring Oracle Help Systems."
    3. Click "Using the Full-text Search Indexer."
    On the development side, the APIs are different, but they are also very
    simple. You create a Help object, add HelpSets, and associate topic-ids
    with java UI components using the CSHManager as described in the
    Oracle Help Guide:
    1. Go to http://otn.oracle.com/ohguide/help/.
    2. Click "Oracle Help for Java Developer's Guide."

  • Help on java math parser

    hi there,
    can anyone pls tell me where i can get some help on 'java programing for math parser'? if the answer is yes then pls tell me where.

    I don't know of a parser that's part of the standard java library, but surely there must be tons of stuff findable with Google. Have you tried to google this?

  • Help on java.sql.Types class

    Hai Friends ,
    I want some help on java.sql.Types class .
    What is the use of the above class ?
    Some details about this class.

    Good Morning Yekesa
    First of all i would like to thank U for looking into my problem.
    I am using java.sql.Types.OTHER for
    {"?=CALL(storedprocedurename.functionname(?))"}
    registerOutParameter(1,javal.sql.Types.OTHER)
    setString(2,"user")
    here the
    second parameter passes an argument to function name ( viz. username say "user")
    and the function will return the ref cursor as follows:
    // declaration in pl/sql procedure
    begin
    rc ref cursor
    open rc for select * from ss_user where login_name="user";
    return rc;
    end
    now the stored procedure has a return value (i.e. stored function) which it needs to register as
    registerOutParameter(1,javal.sql.Types.OTHER)
    and it finally results in the following errors :
    Loading driver
    Before conn stmt
    After conn stmt
    Calling Stored procedure
    Stored procedure called
    java.sql.SQLException: Invalid column type
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:243)
    at oracle.jdbc.driver.OracleStatement.get_internal_type(OracleStatement.java:2487)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:64)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:54)
    at sptest.<init>(sptest.java:28)
    at sptest.main(sptest.java:49)
    T couldn't understand why it is saying Invalid Column Type because its working fine with both
    java.sql.Types.INTEGER
    and
    java.sql.Types.VARCHAR
    Pl help me at the earliest as i have wasted a lot of time on it.
    pl mail me in detail at [email protected]
    bye then
    bansi
    null

  • Need basic Help - SG300 with vlan and routing

    Hi,
    i need some basic help with configuring vlan/routing.
    Situation:
    DSL Router - Cisco 300 - XenServer
    192.168.1.253 - 192.168.1.19 - 192.168.1.10 (mgmt ip)
    goal is, to reach from inside xenserver vms the internet.
    vms = 192.168.2.x
    gateway ip = 192.168.2.1
    what i did:
    - configured vlan 102, tagged, with the xenserver port
    - configured on xenserver a network with vlan id 102, attached to the vm
    - this network is conntected to an external bond
    - configured ipva4 interface: vlan102 - Static - IP 192.168.2.1 (this is the gateway ip of the vms)
    - automatic configured IPv4 Route: 192.168.2.0/24 next hop 0.0.0.0, Directly connected
    So at the moment i cant ping from inside a vm to the DSL Router (192.168.2.2 to 192.168.1.253)
    any ideas what i misconfigured or whats wrong?
    cheers,
    -Marco

    Hi Tom,
    ok, that make sense. I can ping the router now inside vms from 192.168.2.x network.
    But i cant ping external adresses, error: Destination net unreachable.
    My other problem i have, i cant reach any server from outside over router portforwarding.
    How do i have to configure the upload port to the dsl router? Is it a access port or a trunk
    port with all vlans (tagged or untagged?) At the moment ive a tagged Trunkport with all vlans.
    IPv4 Interface Table
    Interface
    IP Address Type
    IP Address
    Mask
    Status
    VLAN 1
    Static
    192.168.1.19
    255.255.255.0
    Valid
    Should the VLAN1 ip adress not the router ip adress ? Do i need an additional vlan for
    the router ? At the end i like to change the switch ip from dhcp to static (change automaticly
    when switching to layer 3 mode), but ive to look for the ios commands first.
    What else do i missing ?
    Thanks a lot,
    Marcus

Maybe you are looking for

  • Track changes in opening / closing FI period

    Does SAP have a standard report to track the changes made by opening / closing FI periods in a given date range for a particular company code using T Code OB52 and also track who has made the changes. If there is no standard report what is the soluti

  • Managed server wls_oim1 not starting no error

    Hello Gurus, my managed server wls_oim1 is not starting, there is only one error for evenHander.xml which is safe to ignore and that came in past also and works fine before. Now when I check the diagnostic log. there are the few of the entries from d

  • Problem in creating new user

    Hai all, I am new to Portals, when I am trying to create a new user it was displayed as "<b>User could not be created</b>". What is the actual process of creating a new user and how to work with that user. I have gone through some of the discussions

  • Db Upgrade from 8.1.7.4 to 10.2

    i'm having troubles using the oracle 10.2 upgrade assistance , after a few seconds of information retrieve, it comes a popup window telling me that a XML file created by this procedure is not in an XML Format, i have looked at note 360399.1 (Error "n

  • Does Yosemite OS hangs a lot ?

    does Yosemite OS hangs a lot ?