How to set the JFrame to be Full screen

yup.. how to set the JFrame to be Full screen mode??

Hi,
You can get the current size of desktop and resize your application to match it.
//Get desktop screen size
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize()
//Set bounds for main window
setBounds(0, 0, screenSize.width, screenSize.height);     Br,
J

Similar Messages

  • 2 Question How to set the page size and  full screen

    I am looking to find out how to set the page to be 1024 by
    768 static and also how to force a browser window to go to full
    screen. Thanks

    Hi Ludek,
    i could solve the issue by using the follwing code.
    report = new ReportDocument();
    PageMargins customPageMargin = report.PrintOptions.PageMargins;
    report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
    report.PrintOptions.PaperSize = PaperSize.Paper10x14;
    customPageMargin.rightMargin = 1;
    customPageMargin.topMargin = 0;
    customPageMargin.bottomMargin = 0;
    report.PrintOptions.ApplyPageMargins(customPageMargin);
    Thanks for you help.
    Regards,
    smitha.

  • How do Iget the contact photo to full screen size when recieving a call

    How do i get the contact photo to full screen size when recieving a call on my Iphone 4

    Meg St._Clair wrote:
    To the best of my knowledge, that's not a feature of the iPhone.
    Actually, its always been a feature.

  • How to default the safari browser to full screen

    how to default the safari browser to full screen

    System Preferences > General
    Uncheck the box beside "close windows when quitting an application".
    Best.

  • How to view the program panel in full screen mode?

    I know how to make the program panel full screen using the "~" key, but I would like to view my work completely without borders. Similar to using Quicktime or Windows media player. I can't imagine that this feature doesn't exist. Any help would be greatly appreciated.

    This feature is new to CS6. Hit ctrl+` (ctrl+grave).

  • How to set the fix size jframe window

    when I run the jframe ,the jframe window size is very small
    1)how to set the fix size jframe window??
    2)how to set the jframe cannot change the window size??
    thx~~

    1. You can set the size by calling JFrame's method setSize. There are two versions of this method: (1) setSize(int width, int height) and (2) setSize(Dimension d). Note, that when you use this method to set the frame size, you don't have to call JFrame's pack method.
    2. JFrame has a method called setResizable(boolean resizable) which you can call with the argument false.
    Without any ill intent, these questions are regarding something that is very easily answered by looking at the documentation for the JFrame class. I suggest to anyone working with swing to at least look briefly through the base classes they're extending before giving up. In my experience it is always more gratifying to figure things out on my own than asking someone. But please don't take this the wrong way, I respect people who seek out help in order to further their knowledge, instead of just giving up.

  • How do I get the contact photo to full screen size when receiving a call after iOs 7.1 update..?

    how do Iget the contact photo to full screen size when receiving a call after iOs 7.1 update..?

    I went to the link. I selected iPHONE.  There was a big iPhone icon above the comment box -- so I was absolutely, positively on the right page.  I spent five minutes or so crafting a constructive comment as to why I wanted the full photo feature back on incoming calls on iOS7.  Then...i noticed the box below the comment area asked 'What operating system are you on?'.  And the drop down selection list included every operating system since Job's garage days -- but not one single iOS entry.  No iOS entries on an iphone page.  Unless I'm missing something, I think anyone writing a feedback comment is wasting his/her time.

  • Is it possible to set a finder window to full screen mode,..

    ... like mail, itunes and other apps? and if not, why not?
    I have to say it took me a bit to get used to Lion, I began complaining all day until I decided to take some time to learn it, and now I like it very much, I see the advantages over 10.6.
    But still, there are some things I don't know about, and the window of opportunity to take time to learn more has closed. And I don't know when it'll open again.
    So, that's why I have joined the community, because now I'm trying to use everthing on full-screen mode, and as I was setting my desktops to work on a project in which I will be needing a lot of finder windows open with a lot of items each, I instantly asked myself:
    Is it possible to set the finder windows to full screen? because I don't see any buttons.
    Thanks 4 Your Time
    R.D.B.

    Thanks Don Archibald,
    Yeah, that's what I'm doing at the moment. But I thought it would be nice to have the little full screen button just to press it so.
    Besides, I'm still figuring out the finder windows' behaviour. I discovered that if you open a folder from a window that has the toolbar, the new folder would also open with a toolbar, even if you already had it set it up with just the status bar.
    And one thing that still enervates me is that if you have a window with two items, and you press the green button to fit the borders up tight, instead of leavin' the 2 items in a horizontal arrangement, it moves one to the bottom and puts a slider. Arrgh.
    Another thing I haven't understood is why one folder I have on the dock sometimes opens with a column layout instead of the icon layout I have arranged for it before. Totally random 4 now, can't find the why.
    Anyway... I'm going to order some lapel pins about 2 flags I designed for two embassies. Anyone know a good place for doing that?

  • How to set the full screen mode using setClip method

    hi all,
    how to set the full screen mode using setClip in that softkeys should not be used insteat on that need to create a own softkeys using commands.
    thanks & regards
    Bala.

    In CS5 there are changes made to how the screen mode is reported. In CS3-CS5 the screen mode has a corresponding number. So for instance if the ScreenMode is set to "Preview Off" and you ask indesign CS3 or CS4 to display the screen mode, it will report "1936552047", while in CS5 it will report "PREVIEW_OFF".
    try executing this simple command in respectively CS3, CS4 and CS5 and you will see what I am talking about:
    alert(app.activeWindow.screenMode);
    there is no difference if you do:
    alert(app.activeDocument.layoutWindows[0].screenMode);
    The CS5 solution is rather awkward to work with, unless I am missing something? PREVIEW_OFF is not a string, nor is it a number.
    Example -  doing:
    myScreenMode=app.activeDocument.layoutWindows[0].screenMode;
    and then trying to reset screenMode by something like:
    app.activeDocument.layoutWindows[0].screenMode= myScreenMode
    does not work in CS5 of course. It will throw an error. Neither will this line work:
    app.activeDocument.layoutWindows[0].screenMode=ScreenModeOptions.myScreenMode;
    Any way of working around this?

  • How to set the background for all components?

    hi
    Does anybody know how to set the DEFAULT background color in an application.. I need it because in jdk 1.3 the default bgcolor is grey and in 1.5 it is white.. and I wish white as well.. so to make it also white in jdk 1.3 I need to use the (a bit annoying) anyContainer.setBackground( Color.white ); and these are lots in my app.. So my question is: is there such an overall class with a function (say UIManager.setComponentsBackground( Color color ) ) for such a purpose?
    any tip or link would be greatly appreciated

    Does anybody know how to set the DEFAULT background color in an applicationthis might get you close
    import java.awt.*;
    import javax.swing.*;
    import java.util.Enumeration;
    class ApplicationColor extends JFrame
      public ApplicationColor()
        setApplicationColor(Color.RED);
        setLocation(400,300);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel jp = new JPanel(new BorderLayout());
        jp.add(new JTextField("I'm a textfield"),BorderLayout.NORTH);
        jp.add(new JComboBox(new String[]{"abc","123"}),BorderLayout.CENTER);
        jp.add(new JButton("I'm a button"),BorderLayout.SOUTH);
        getContentPane().add(jp);
        pack();
      public void setApplicationColor(Color color)
        Enumeration enum = UIManager.getDefaults().keys();
        while(enum.hasMoreElements())
          Object key = enum.nextElement();
          Object value = UIManager.get(key);
          if (value instanceof Color)
            if(((String)key).indexOf("background") > -1)
              UIManager.put(key, color);
      public static void main(String[] args){new ApplicationColor().setVisible(true);}
    }

  • How to set the extra component to horizontal scrollbar position

    How to set the component to position of horizontal scrollbar , that position contain two component horizontal scrollbar and any component (JButton , JLabel ) like that.. Ms-Word scrollbar ,
    Like that bellow fig.
    <!--[if !mso]>
    <style>
    v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style>
    <![endif]--><!--[if gte mso 9]><xml>
    <w:WordDocument>
    <w:View>Normal</w:View>
    <w:Zoom>0</w:Zoom>
    <w:PunctuationKerning/>
    <w:ValidateAgainstSchemas/>
    <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
    <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
    <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
    <w:Compatibility>
    <w:BreakWrappedTables/>
    <w:SnapToGridInCell/>
    <w:WrapTextWithPunct/>
    <w:UseAsianBreakRules/>
    <w:DontGrowAutofit/>
    </w:Compatibility>
    <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
    </w:WordDocument>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
    </w:LatentStyles>
    </xml><![endif]-->
    <!--
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-parent:"";
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";}
    @page Section1
    {size:8.5in 11.0in;
    margin:1.0in 1.25in 1.0in 1.25in;
    mso-header-margin:.5in;
    mso-footer-margin:.5in;
    mso-paper-source:0;}
    div.Section1
    {page:Section1;}
    -->
    <!--[if gte mso 10]>
    <style>
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    </style>
    <![endif]-->{font:'Times New Roman'}{size:12pt}<!--[if gte vml 1]><v:shapetype id="_x0000_t75"
    coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
    filled="f" stroked="f">
    <v:stroke joinstyle="miter"/>
    <v:formulas>
    <v:f eqn="if lineDrawn pixelLineWidth 0"/>
    <v:f eqn="sum @0 1 0"/>
    <v:f eqn="sum 0 0 @1"/>
    <v:f eqn="prod @2 1 2"/>
    <v:f eqn="prod @3 21600 pixelWidth"/>
    <v:f eqn="prod @3 21600 pixelHeight"/>
    <v:f eqn="sum @0 0 1"/>
    <v:f eqn="prod @6 1 2"/>
    <v:f eqn="prod @7 21600 pixelWidth"/>
    <v:f eqn="sum @8 21600 0"/>
    <v:f eqn="prod @7 21600 pixelHeight"/>
    <v:f eqn="sum @10 21600 0"/>
    </v:formulas>
    <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
    <o:lock v:ext="edit" aspectratio="t"/>
    </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:453pt;
    height:26.25pt'>
    <v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\04\clip_image001.png"
    o:title=""/>
    </v:shape><![endif]--><!--[if !vml]--><img src="file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/msohtml1/04/clip_image002.jpg" alt="" width="485" height="27" /><!--[endif]-->{size}{font}
    How to design ?

    pradeep.rajadurai wrote:
    I want set the JTable as a background of jframe or jinternalframe , how it is possible One way that may work, you can always extract the image from a rendered JTable and then paint the same image into the JPanel that holds your components via it's paintComponent method, then added the JPanel to the app's contentPane.
    give me simple pgmIs English your second language? Because if so, please understand that this demand can be taken by some as rude.

  • How to set the frame size?

    Hi,
    Can some one show me how to set the frame size in this program? History: I have created a window and added a button but its to small. So I want to increase the size of the frame to at least 600X400 pixel.
    private static void showGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("ButtonDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            Main newContentPane = new Main();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        }It would be nice if you could show me how to do it.
    Thank you very much for reading this.

    Challenger wrote:
    Simply adding
    frame.setSize(new Dimension(600,400));to the end of your code should work perfectly.Or, if you want to do it correctly, .setPreferredSize() on your frame before you .pack() it. The default layout manager for JFrame is BorderLayout, which uses the preferredSize of each component to calculate sizes during the .pack() call.

  • In v.11, how do I burn a DVD to full-screen? I tell it to, but the program keeps burning to widescreen.

    In V.11, how do I burn a DVD to full-screen?  I have told it to, but it keeps burning to widescreen.

    Rodney
    Great news. Great job sorting through the details.
    The core of your issue went to the differences between Premiere Elements 9 and 11 and its default project presets and how project preset is set.
    Some of the factors are found
    http://www.atr935.blogspot.com/2013/04/pe11-accuracy-of-automatic-project.html
    Add to the mix, that the project preset directs the program to make certain settings (assumptions). So, if you have a HD project preset, you are going to see NTSC_Widescreen_Dolby DVD set as the default in the burn dialog. I am guessing that you were letting the project control setting the Premiere Elements 11 project preset, and it was giving you its default NTSC AVCHD Full HD1080i30 instead of NTSC DV Standard.
    But the ground rules are
    a. know the properties of your source media
    b. set the project preset to match the properties of the source media (if the project does not do it right, then you set the project preset manually)
    c. keep the export settings consistent with the other project settings.
    I will spare you the rest of the details for now. Just know, please do not hesitate to ask if you have questions or need clarification.
    Thanks.
    ATR

  • How to set the oracle oci8 driver?

    hello all:
    I've set up the oracle thin driver and it works. but when I change to
    oci8.it don't work
    below is config and errors:
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool"
    Properties="user=yanji;password=yanji"
    Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
    Could not load 'oracle.jdbc.driver.OracleDriver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
    ectionEnvFactory.java:208)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
    ectionEnvFactory.java:131)
    at weblogic.common.internal.ResourceAllocator.makeResources(Resource
    ator.java:698)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
    va:282)
    best regards

    Hello, Jenny I am glad you found your resolution. I too am having problems isung
    the oracle 0CI8 driver. My connection pool is creating fine, but my server is
    crashing with JVM errors.
    Here are my configurations.
    DBase=Oracle 8.1.7,OS=Win2000, running 6.1 with Portal 4.0
    pool config =
    <JDBCConnectionPool CapacityIncrement="0"
    DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="5"
    MaxCapacity="5" Name="ccConPool"
    Properties="jdbc.url=jdbc:oracle:oci8:@servername:1521:orcl;user=XXXXX;password=XXXXXX;dll=ocijdbc8;server=orcl;protocol=oci8;dll=ocijdbc8;protocol=oci8"
    RefreshMinutes="0" Targets="portalServer"
    TestTableName="WIP_TABLE" URL="jdbc:oracle:oci8:@servername"/>
    My classpath sets my classes12.zip file first. My path sets %WEBLOGIC_HOME%\bin\oci817_8
    and %WLCS_ORACLE_HOME%\bin.
    Am I setting the right dll and protocol in my .dll? Where can I find documentation
    on these properties definitions?
    "jenny" <[email protected]> wrote:
    hello all:
    I've got the answer. those all because weblogic.jar. this jar include
    the
    class "oracle.jdbc.driver.OracleDriver".
    although I put the classes12.zip into the CLASSPATH.but the weblogic.jar
    in
    front of classes12.zip.so classloader
    load the class from weblogic.jar. so I can use thin driver(weblogic
    implements this function with class,but not for oci8 )
    ..this is really a big pitfall !
    put the classes12.zip in front of weblogic.jar .all perfect!
    "jenny" <[email protected]> wrote in message
    news:[email protected]...
    hello all:
    below is some chapters of my config.xml and startWeblogic.cmd
    the oci8 :
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool" Password="{3DES}J3XuQd6cvvw="
    Properties="user=yanji;password=yanji;dll=ocijdbc8;protocol=oci8"
    Targets="myserver" TestTableName="test"
    URL="jdbc:oracle:oci8:@pg01"/>
    the thin :
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="citcpool" Password="{3DES}J3XuQd6cvvw="
    Properties="user=yanji;password=yanji"
    SupportsLocalTransaction="true" Targets="myserver"
    URL="jdbc:oracle:thin:@sune250:1521:pg01"/>
    :runWebLogic
    echo on
    set ORACLE_HOME=e:\oracle
    set PATH=./bin;%ORACLE_HOME%\bin;%ORACLE_HOME%\lib;%PATH%
    set
    CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\dom.jar;.\lib\xml
    4j.jar;.\lib\jecf.jar;%ORACLE_HOME%\jdbc\lib\classes12.zip
    echo off
    the thin driver is ok,but the oci driver can not work!
    if I've set the wrong CLASSPATH or PATH , the thin driver and oci8driver
    must have not worked. I confused!
    "Sree Bodapati" <[email protected]> wrote in message
    news:[email protected]...
    "Sree Bodapati" <[email protected]> wrote in message
    news:[email protected]...
    Its not CLASS_PATH it should be CLASSPATH.
    when you say oracle\bin and oracle\lib , on what driver is the oracle
    folder?I meant to say 'on what drive' not 'on what driver'
    you have to specify the full path.
    post your startup script here.
    sree
    "jenny" <[email protected]> wrote in message
    news:[email protected]...
    hello all:
    I've set the ORACLE_HOME,and CLASS_PATH,but nothing changed. I will
    go
    to
    crazy!!!
    when startup the weblogic,I've seen the oracle\bin and oracle\libin th
    "path" and classes12.zip in the CLASS_PATH.but the errors stillappears!!
    "Sree Bodapati" <[email protected]> wrote in message
    news:[email protected]...
    1. Dont copy this file oci8jdbc.dll, to bin folder. Make sure
    you
    place
    <oracle_home>\lib in your PATH before starting the server. Make
    sure
    your
    ORACLE_HOME environment varable is set to <oracle_home> folder.
    eg. set ORACLE_HOME=c:\ora816 before starting the server.
    so you must have done something like
    set ORACLE_HOME=c:\ora816
    set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\lib;%PATH%
    2. double check if you set your CLASSPATH something like this,
    CLASSPATH=%ORACLE_HOME%\jdbc\lib\classes12.zip;%CLASSPATH%
    in the server startup script just before starting the server.
    3. start the server the connection pool should work.
    hth
    sree
    "jenny" <[email protected]> wrote in message
    news:[email protected]...
    hello All:
    I've edited the StartWeblogic.cmd, set the classes.zip into CLASSPATH,and
    copied the oci8jdbc.dll to the bea\wlserver6.1\bin. errors stillappears!
    my weblogic version is 6.1 and oracle is 8.1.6 .
    why the thin driver is ok but the oci driver can not work?
    I logined in the oracle website and look for the jdbc.but I find
    that
    jdbc
    all provide for jdk1.2 or jdk1.1. because the weblogic6.1 based
    jdk1.3.
    I
    think i can not use those drivers.
    I think my oracle driver is ok,because i installed the jboss and
    bas4.5
    in
    my computer. they all can use oci8 driver properly.and they all
    based
    jdk1.3.
    by the way. I 've tryed added the oracle\bin path inStartWeblogic.cmd,
    nothing changed !
    again below is my config : I want to know whether my config right?
    (the property DLL and Protocal auto added by the weblogic)
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool"
    Properties="user=yanji;password=yanji;dll=ocijdbc8;protocol=oci8"
    Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
    best regards
    ----- Original Message -----
    From: "Mitesh Patel" <[email protected]>
    Newsgroups: weblogic.developer.interest.jdbc
    Sent: Thursday, December 13, 2001 4:00 AM
    Subject: Re: how to set the oracle oci8 driver?
    To use oracle oci8 driver:
    You should have classes12.zip in weblogic classpath.
    You should have ocijdbc8.dll in your weblogic path..
    You can download ocijdbc8.dll from oracle website.
    Mitesh Patel
    jenny wrote:
    hello all:
    I've set up the oracle thin driver and it works. but when I
    change
    to
    oci8.it don't work
    below is config and errors:
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool"
    Properties="user=yanji;password=yanji"
    Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
    Could not load 'oracle.jdbc.driver.OracleDriver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
    ectionEnvFactory.java:208)
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
    ectionEnvFactory.java:131)
    atweblogic.common.internal.ResourceAllocator.makeResources(Resource
    ator.java:698)
    atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
    va:282)
    best regards
    "jenny" <[email protected]> wrote in message
    news:[email protected]...
    hello all:
    I've set up the oracle thin driver and it works. but when I change
    to
    oci8.it don't work
    below is config and errors:
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="5" LoginDelaySeconds="5" MaxCapacity="15"
    Name="ocipool"
    Properties="user=yanji;password=yanji"
    Targets="myserver" URL="jdbc:oracle:oci8:@pg01"/>
    Could not load 'oracle.jdbc.driver.OracleDriver
    If this is a type-4 JDBC driver, it could occur if the JDBC
    driver is not in the system CLASSPATH.
    If this is a type-2 JDBC driver, it may also indicate that
    the Driver native layers(DBMS client lib or driver DLL)
    have not been installed properly on your system
    or in your PATH environment variable.
    This is most likely caused by one of the following:
    1. The native layer SO, SL, or DLL could not be found.
    2. The file permissions on the native layer SO, SL, or DLL
    have not been set properly.
    3. The native layer SO, SL, or DLL exists, but is either
    invalid or corrupted.
    For more information, read the installation documentation
    for your JDBC Driver, available from:
    http://e-docs.bea.com
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection
    ectionEnvFactory.java:208)
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource
    ectionEnvFactory.java:131)
    atweblogic.common.internal.ResourceAllocator.makeResources(Resource
    ator.java:698)
    atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocat
    va:282)
    best regards

  • How to set the table input in Query template?

    Hi all.
    I need to call a Bapi_objcl_change, with import parameter and a table as an input. I have done this, in BLS. I have set the table input in the
    form of xml. In BLS, I get the output(the value gets change in SAP R3, what i have given in BLS).  But if i set the same xml structure  in
    query template, I didn't get the output. Table input parameter does not take that xml source.  How to set the table input in Query template?
    can anyone help me?
    Regards,
    Hemalatha

    Hema,
    You probably need to XML encode the data so that it will pass properly and then xmldecode() it to set the BAPI input value.
    Sam

Maybe you are looking for