1) Frame on top   - - -    2) Quit

I have 2 questions.
1) --------------------------------------------------------
I have 2 Classes in 2 different files. Class A and Class B.
Each one is with JFrame.
I am calling B from A like this : new B().show();
If "Window B" is running, I still have access to "Window A",
which I don't want.
So, If I run "Window B" then "Window A" should be in background,
untill I cancel "Window B".
How do I do this ?
2) --------------------------------------------------------
Regarding to the question above.
If I exit "Window B" like this : System.exit(0)
then "Window A" is also quit.
=> I dont want to exit "Window A"
If I "exit" "Window B" like this : this.setVisible(false)
=> I don't want to fill my memory, if I don't work with "Window B"
How do I exit "Window B"
- so that I still have "Window A"
- so that I don't fill my memory with data of "Window B"
Thank You
Aykut

1) does that meaning, I can not make JFrame window modal ?
2) If I change "Window B" from JFrame to JDialog,
than I can set it as modal ?
3) Do I need to change "Window A" also to JDialo ?
4) if I change "WIndow B"
from => class B extends java.awt.Frame {}
to => class B extends javax.swing.JDialog {}
do I need to change also a lot of other things ?

Similar Messages

  • Servlet Handling(Moving of Hyperlink from Left frame to Top Frame)

    hi
    in the Servlet page (Introduction, Check, reports etc.) should be moved to a top frame instead of a left frame.
    Regards
    Atul

    You should read some basic books about the Servlet like core Java Servlet etc. your second question is not understandable what is meaning by u that left frame and top frame.

  • Strange behaviour when placing text frame on top of image

    Hi,
    Win XP, FM 8.04
    I have a front cover that consists of a TIF image that bleeds off the page. On top of that image I want to put a text frame with the book title.
    The strange thing is that when I create the text frame and use the toolbar buttons to nudge it down on the page, the text (but not the frame) suddenly jumps to a totally different place way down on the page, despite only nudging it, say, 10 mm.
    Any ideas why this is happening?
    /Mats

    Hi,
    Partly solved:
    After some tests, it seems FM does not like when you try to move a text frame over a transparent area in an image. The image in question was made by importing a PDF into Photoshop, then saving as TIF. Since the PDF contained an area that was had full transparency in InDesign (i.e. "Paper"), that area was also in the TIF image.
    The strange behaviour starts exactly at the border where the transparency starts. In non-transparent areas, there is no problem.
    Seems like a bug.
    /Mats

  • How to image frame move top of the page.

    if suppose the the page contain only one image.that image move to the top of the page.other pages will skip.i have tried.the below code not working.
    =====================
    var myDocument=app.activeDocument;
    var myPages=myDocument.pages;
    for(p=0;p<myPages.length;p++)
            var myGraphics=myPages[p].allGraphics;
            var myPageWidth=myDocument.documentPreferences.pageWidth;
            if(myGraphics.length==1)
                for(j=0;j<myGraphics.length;j++)
                    if(myPages[p].side == PageSideOptions.leftHand)
                        var myX2 = myPages[p].marginPreferences.left;
                        var myX1 = myPages[p].marginPreferences.right;
                    else
                        var myX1 = myPages[p].marginPreferences.left;
                        var myX2 = myPages[p].marginPreferences.right;
                    var myY1 = myPages[p].marginPreferences.top;
                    var myX2 = myPageWidth - myX2;    
                    var myImageheight=myGraphics[j].parent.geometricBounds[2]-myGraphics[j].parent.geometricBound s[0];
                    var myY2=myY1+myImageheight;
                   //imageframe move top of the page
                     myGraphics[j].geometricBounds=[myY1,myX1,myY2,myX2];
    ================
    Thank you.
    Message was edited by: karthiIndesign

    i got the solution.
    var myDocument=app.activeDocument;
    var myPages=myDocument.pages;
    for(p=0;p<myPages.length;p++)
            var myGraphics=myPages[p].allGraphics;
            var myPageWidth=myDocument.documentPreferences.pageWidth;
            if(myGraphics.length==1)
                var myX2, myX1, myY1, myY2;
                for(j=0;j<myGraphics.length;j++)
                    if(myPages[p].side == PageSideOptions.leftHand)
                        myX2 = myPages[p].marginPreferences.left;
                        myX1 = myPages[p].marginPreferences.right;
                    else
                        myX1 = myPages[p].marginPreferences.left;
                        myX2 = myPages[p].marginPreferences.right;
                    myY1 = myPages[p].marginPreferences.top;
                    myX2 = myPageWidth - myX2;   
                    var myImageheight=myGraphics[j].parent.geometricBounds[2]-               myGraphics[j].parent.geometricBounds[0];
                    myY2=myY1+myImageheight;
                                       var mygraphicmove= myGraphics[j].parent.duplicate([myY1,myX1]);              
                                       myGraphics[j].parent.remove();
                                       mygraphicmove.textWrapPreferences.textWrapMode = TextWrapModes.BOUNDING_BOX_TEXT_WRAP;
    Thank you.

  • Hi I have pics of my 2013 jeep. I found out that there was a dent on frame on top of the wind sheild

    Hi everyone,
    My dealer showed there pictures in the sun. I took pictures the same day the jeep but from the side with no sun. This was the delivered day  and when I zoom I can see the dent. Even now straight on shots zoomed in you cannot see it.
    I need help when I zoom in 100% just to copy the top where the dent is.
    When I hit print it goes back to the original picture?
    I do have aperture.
    Any suggestions.
    Mark

    Zooming is only to change what you view - you need to crop the photo to the view you want to print (us the print size to constrain so you get exactly what you want
    After printing you can revert to original to remove the cropping
    LN

  • Extra Frame at top of timeline

    I'm having a problem laying back to a Digibeta Deck. Using OS 10.4.9 and Final Cut 5.1.4. The first frame of video is being doubled when laying back to tape so all frames are one frame late.
    I did an experiment and made a title one frame long with numbers 0 - 30 and dropped each one in order starting at 00:59:49:00. In point in timeline is set at same timecode value and outpoint is set at 00:59:50:00.
    I use "Edit to Tape" and set in and out points the same. The result is a duplicate of the frame "0" that lands on 00:59:49:00 and 00:59:49:01 and then all following frames are in order and correct but end up a frame late. The last frame printed of course is "29" which lands on 00:59:50:00.
    I was able to get it to work by putting a one frame slug in the beginning and sliding everything back in the timeline by two frames. It doubles the slug frame and then everything hits in the right spot.
    It works, but it's totally unprofessional to do this if you ask me and will create problems when exporting OMFs for Pro Tools. Has anyone encountered this problem? Is there something I have incorrect in my settings?
    Thanks --
    Mac Pro, 2 GHz Dual-Core Intel Xeon   Mac OS X (10.4.9)  

    You are my hero, Joe. Thank you for your help.
    Go to your Device controll in AV settings and tweak
    your playback offset.
    joe

  • I have a full screen Frame that won't display a List when I add it

    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.net.Socket;
    import java.net.InetAddress;
    import java.util.Scanner;
    public class Main {
        //the Main Frame to draw to
        static Framex f = new Framex();
        //login components
        static Panel top = new Panel();
        static JTextField username = new JTextField("ajtgarber", 20);
        static JPasswordField password = new JPasswordField("garber", 20);
        static JButton login = new JButton("Logon");
        static JButton quit = new JButton("Quit");
        static Label loginM = new Label("Please enter your username and password");
        static List CharList = new List();
        //networking components
        static Socket s =  null;
        static PrintStream stringOut = null;
        static Scanner stringIn = null;
        //main method
        public static void main(String[] args) {
            GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
            GraphicsDevice gd = ge.getDefaultScreenDevice();
            f.setBackground(Color.BLACK);
            f.setUndecorated(true);
            f.setResizable(false);
            f.setLayout(new BorderLayout());
            top.add(username);
            top.add(password);
            top.add(login);
            top.add(quit);
            top.add(loginM);
            f.add(top, BorderLayout.NORTH);
            Image background = Toolkit.getDefaultToolkit().getImage("lakeview.jpg");
            //f.drawImage(background);
            gd.setFullScreenWindow(f);
            logon_setup();
            f.setSize(500,500);
            f.setVisible(true);
        //method for setting up actionlisteners for the login components
        public static void logon_setup() {
            quit.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    shutdown();
                    System.exit(0);
            login.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    attempt_login();
            password.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    attempt_login();
            //quit.setForeground(Color.WHITE);
            //login.setForeground(Color.WHITE);
            loginM.setForeground(Color.WHITE);
            CharList.setVisible(false);
        //attempts to login
        public static void attempt_login() {
            loginM.setText("Logging in Please Wait...");
            f.repaint();
            try {
                s = new Socket(InetAddress.getByName("127.0.0.1"), 2000);
                stringOut = new PrintStream(s.getOutputStream());
                stringIn = new Scanner(s.getInputStream());
                stringOut.println("Login||"+username.getText()+"||"+new String(password.getPassword()));
                String str = stringIn.nextLine();
                if(str.equals("Login 0x248")) {
                    loginM.setText("");
                    char_login();
                else if(str.equals("Invalid 0x248")) {
                    loginM.setText("Invalid Username or Password!");
            } catch(IOException ex) {
                loginM.setText("Unable to Connect!");
            } catch(Exception ex) {
                ex.printStackTrace();
        //gives the user the character selection screen
        public static void char_login() {
            try {
                //username.setVisible(false);
                //password.setVisible(false);
                //quit.setVisible(false);
                //login.setVisible(false);
                loginM.setText("Getting Character List...");
                stringOut.println(username.getText()+"||charREQ"); //request character list
                ObjectInputStream ois = new ObjectInputStream(s.getInputStream());
                CharList = (List) ois.readObject();
                System.out.println("Received CharList from Server");
                loginM.setText("");
                f.remove(top);
                f.add(CharList, BorderLayout.EAST);
                System.out.println("Char: "+CharList.getItem(0));
                f.repaint();
            } catch(Exception ex) {
                ex.printStackTrace();
        //method for ending the connection
        public static void shutdown() {
            try {
                s.close();
            } catch(Exception ex) {
    class Framex extends Frame {
        private Image image = null;
        public Framex() {
           super();
        public void drawImage(Image i) {
           image = i;
           repaint();
        public void paint(Graphics g) {
            if(image != null) {
                 g.drawImage(image, 0, 0, this);
    }The Server and Client are a work in progress but Other than that why won't the List show up immediately after
    I add it to the Frame?

    Don't mix AWT and Swing widgets. Fix that, then ask again, preferably in the Swing section.

  • Selecting frames in a stack...

    I understand that when you have a stack of frames on top of each other you can cycle through them by Command Clicking on the Mac. But is it only possible to move a selected frame that is buried beneath a load of other frames by clicking and dragging the center point of the selected frame?
    If I am zoomed in very close, the center point might be a long way from my current viewing area and I'd have to go and find it. I realize that I can Cmd Click through and if I know that my desired frame is next in the stack I can keep my mouse button pressed and be able to move the frame, but that could take one or two cycles of the stack in order to determine when my required frame will next be selected. If I Cmd Click down to my required frame so that it's selected, Cmd Clicking again will select the frame below that and single clicking will select the frame at the top of the stack.
    Is this how it works or am I not quite understanding a selection principle here?
    David

    Thanks for the advice. I do already use the nudge feature with the arrow keys but as recommended I do already prefer to use layers. This was really a very small problem that had been bothering me for some time. I'm using CS3 but I seem to recall that way back in version CS1 or maybe even v2.0 I think it was possible to click through the stack, select the item, release the mouse, then click again to move it around. I might be mistaken and I might even be remembering the bad old days of using another DTP program that I won't mention here (but it begins with Q). Am I right in my memory or has ID always operated in the way it does now?
    Personally I would prefer to be able to Cmd Click through the stack and once the item was selected then be able to click again and move it around. Do you think it's possible for a scripting expert to write a script for this command to work? It sounds to me like a core issue for the bods at Adobe to implement but it might only be for me!
    Dj
    PS. The Cmd Shift clicking doesn't enable to the ability to click through the stack as it just selects and then deselects the top frame. No combination of keys and modifiers could get that to work.

  • Keynote 4 - selecting text in text frame causes spinning beach ball

    One friend of mine called me tonight and was seeking for help. He has Mac OS X 10.5.1 and Keynote 4.0.1. He imported picture in Keynote, added text frame on top of it and typed in some text. Then he went to another slide, but then returned back to resize text in the text frame. As soon he selects text, he gets spinning beach ball of death...
    I asked him to repair permissions and restart his MacBook Pro 17", but still he has the same problem. He tried the same with different font in the text frame - the same. As soon as he tries to select text in the text frame, he gets spinning beach ball again.
    Any ideas how to help him?...

    OK, Carolyn, I wrote down all my prefs (glad I did), trashed the prefs file, restarted, relaunched TextEdit, reset all my preferences to my liking (which had reverted to default settings), quit TextEdit. Then I tried double-clicking some text files -- and the same problem (#2 above) persists. None of my TextEdit or text files have TextEdit as the default launch application -- they're still all either "None" or "ams1108.html". And, as before, if I try to change it to "TextEdit" in the file's info box, then click on "change all," it does not work: not only does it not change all the text files to be TextEdit, but clicking "change all" will cause the file in question to revert to "None" or "ams1108.html". However, if I only change the default app for that one file to TextEdit, and don't click "change all," then it will stick -- for now at least. (Though I wouldn't be surprised if after a restart they all changed back to "None.")
    The short assessment is: trashing the prefs did NOT fix problem #2 above. It may or may not have fixed problem #1 -- hard to tell immediately, since the only way to find out is the use TextEdit for two days.
    So, setting aside problem #1 for now: any suggestions for fixing problem #2 (default app can't be changed to TextEdit by clicking "change all")? I have thousands and thousands of TextEdit files I use, so changing them all manually one-by-one isn't feasible. Thanks.

  • Decorative frame plug-in?

    Is there a plug-in or tool where I can superimpose a decorative frame, like a picture frame, on top of a photoshop image?

    Thanks for the input. I chose to go with AutoFX, but am having serious problems.
    I recently purchased the Photo/Graphic Edges 6.0 software from AutoFX, can be found here:
    http://www.autofx.com/products/pge/detail.html
    I am running Windows XP with 2G of RAM. I am using this s/w as a stand-alone app, as opposed to a plugin for Adobe Photoshop.
    The problem is that the program randomly crashes quite frequently, resulting in the following pop-up error message:
    Windows XP pops up with the following:
    PGE_6 has encountered a problem and needs to close. We are sorry the inconvenience.
    If you were in the middle of something, the information you were working on might be lost.
    Please tell Microsoft about this problem. We have created an error report that you can send to us. We will treat this report as confidential and anonymous.
    To see what data this report contains Click Here.
    I uninstalled and reinstalled the program and still have the same issues. I've searched and found a thread from a couple of years ago where someone else had the same problems. I fear that this may be a software issue. Here is the link to what I found:
    http://graphicsgalaxy.com/forums/thepluginsite/viewtopic.php?t=1604
    I posted on the above thread and also submitted a problem report to Auto FX.
    No other program on my computer crashes randomly like this.
    Any suggestions?
    Thanks so much,
    Angela

  • How can I simply create a text frame with perfect rounded ends?

    I'm recreating a new edition of a book that was originally created in Quark. It uses round-ended text frames. When using the simplest method of corner options, the ends aren't proper semicircles, even though the radius is set to half the height of the frame.
    The other problem is that I can't reduce the width sufficiently to make it look balanced. I use the direct selection tool to close in the right-hand end, so that I don't distort the shape. There's no right indent for the paragraph, but as I reduce the width the text breaks into two lines, even though I've greater space after the text than the left indent. My best solution was to create the shape in Illustrator and copy and paste into InDesign, assign text content, centre thte text vertically, use 3mm left indent. I still couldn't pull the right-hand end in tight enough. So I had to resort to making a group of the lozenge shape with a normal rectangular text frame on top.
    Does anyone know why these problems occur, and can Adobe improve the corner option?

    One last refinement: It's convenient if the script allows you to Undo/Redo its actions -- let me add that for completeness' sake. The following is the complete script again, no further editing required.
    //DESCRIPTION:Overlay round corners on a single textframe
    // A Jongware Script 2-Apr-2012
    app.doScript(function(textframe){
    if (textframe instanceof Group && textframe.pageItems.length == 2)
    roundedRect = app.selection[0].polygons[0];
    textframe = app.selection[0].textFrames[0];
    textframe.properties = {strokeWeight:roundedRect.strokeWeight,strokeTint:roundedRect.strokeTint,strokeColor:roundedRect.strokeColor};
    roundedRect.remove();
    app.selection[0].ungroup();
    left = textframe.geometricBounds[1];
    right = textframe.geometricBounds[3];
    height = textframe.geometricBounds[2] - textframe.geometricBounds[0];
    center = (textframe.geometricBounds[2] + textframe.geometricBounds[0])/2;
    radius = height/2;
    leftRounded = textframe.parent.ovals.add({geometricBounds:[center-radius,left-radius,center+radius,left+radius]});
    riteRounded = textframe.parent.ovals.add({geometricBounds:[center-radius,right-radius,center+radius,right+radius]});
    rectBetween = textframe.parent.rectangles.add({geometricBounds:[center-radius,left,center+radius,right]});
    roundedRect = rectBetween.addPath([leftRounded,riteRounded]);
    roundedRect.properties = {strokeWeight:textframe.strokeWeight,strokeTint:textframe.strokeTint,strokeColor:textframe.strokeColor};
    textframe.properties = {strokeWeight:0};
    app.select(textframe.parent.groups.add([roundedRect,textframe]));
    }, ScriptLanguage.JAVASCRIPT, app.selection[0], UndoModes.ENTIRE_SCRIPT, "Overlay Round Corners");

  • JavaScript error using UIXML to generate frames

    Hello all,
    I am trying to use the uix:frameBoderLayout and uix:frame elements to generate an HTML page with frames. I get a Javascript error when running the testFrame.uix in JDeveloper 9.0.3. Both MSIE and Netscape yield the same error.
    The JavaScript error is:
    JavaScript Error:
    http://20.19.205.86:8988/pssWeb-pss-context-root/testFrame.uix,
    line 1:
    _checkLoad is not defined.
    The HTML generated is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html dir="ltr" lang="en-US">
    <head>
    <title>Property Security System Application</title>
    <link rel="stylesheet" charset="UTF-8" type="text/css" href="/pssWeb-pss-context-root/cabo/styles/cache/blaf-en-netscape.css">
    </head>
    <body class="xc" style="background-color:#FFFFE1" onload="_checkLoad(event)" onunload="_checkUnload(event)">
    <script src="/pssWeb-pss-context-root/cabo/jsLibs/MarlinCore.js">
    </script>
    <frameset border="0" rows="100%,*">
    <frameset rows="*,0" onresize="if(!frames['_uixJS'].cached){location.reload();}">
    <frameset rows="null,*,null">
    <frame name="top" marginwidth="5" frameborder="0" marginheight="0" noresize src="topFrame.uix">
    <frame name="center" marginwidth="5" frameborder="0" marginheight="0" noresize src="centerFrame.uix">
    <frame name="bottom" marginwidth="5" frameborder="0" marginheight="0" noresize src="bottomFrame.uix">
    </frameset>
    <frame frameborder="0" marginwidth="0" marginheight="0" title="" name="_uixJS" noresize src="/pssWeb-pss-context-root/cabo/jsps/a.jsp?_t=jsCache">
    </frameset>
    <noframes>
    </noframes>
    </frameset>
    </body>
    </html>
    <!-- Created by Oracle UIX 2.1.7 -->
    _checkLoad is contained in the MarlinCore.js file.  That file should be in cabo/jslib/ directory.
    Two things strike me odd about the generated HTML code with relation to JavaScript. First, I expect to see JavaScript source files declared in the head portion. Second, the source files is declared after the onload call is made to the _checkLoad function.
    The third thing that I can see possibly causing the error is that the MarlinCore.js file is not visible to the server and therefore not delivered to the browser. But I am not certain where to find the files used by the embedded OC4J server.
    Is this a bug in 9.0.3?
    The uix files follow. All three framed pages (topFrame.uix, centerFrame.uix and bottomFrame.uix) display nicely in the uix preview and run nicely in the embedded OC4J.
    testFrame.uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title="Property Security System Application"/>
    </metaContainer>
    <contents>
    <body>
    <inlineStyle>
    <property name="background-color">#FFFFE1</property>
    </inlineStyle>
    <contents>
    <frameBorderLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <top>
    <frame name="top" source="topFrame.uix">
    </frame>
    </top>
    <center>
    <frame name="center" source="centerFrame.uix">
    </frame>
    </center>
    <bottom>
    <frame name="bottom" source="bottomFrame.uix">
    </frame>
    </bottom>
    </frameBorderLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    </page>
    topFrame.uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <pageLayout>
    <contents>
    <text text ="Top frame"></text>
    </contents>
    </pageLayout>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    center Frame.uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <pageLayout>
    <contents>
    <text text="center frame"></text>
    </contents>
    </pageLayout>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    bottomFrame.uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <pageLayout>
    <contents>
    <text text="bottom frame"></text>
    </contents>
    </pageLayout>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    Your assistance is appreciated,
    Bill

    Did you create the files with JDev 903 preview or JDEV 902? If you created with JDEV 902 and upgraded your project to
    903 you need to delete all the files in the cabo directory in your public_html directory. That should get rid of your
    javascript errors.

  • Error in accessing pageContext or current session for JSP/servlet in frames

    I am creating a web application on iPlanet application server (ver 6.0 SP4) and display a page
    consists of frames in web browser (IE6). The framset and the content of each frames are
    JSPs or servlets. There where no problem to display each content frames individually at all.
    However, when the overall page (the frame set and the 3 frames) is displayed, the following
    problem occurs.
    Only the outermost frameset and just one or two of the frame contents displayed successfully
    in browser. Others have either 1 of the following errors:
    1. When accessing pageContext object in _jspService routine when displaying the JSP page, Null
    Pointer Exception occurs:
    java.lang.NullPointerException
    Exception Stack Trace:
    java.lang.NullPointerException
    at jsp.APPS.intl.acct_type_option._jspService(acct_type_option.java:653)
    2. When calling the req.getSession method in doGet() method for servlets, the following
    exception occurs:
    Exception in doGet(): This session has already been invalidated
    The occurance of error is random among all the frames. With the frame on top or left size
    having the most chance to be displayed successfully.
    It seems that the Application server cannot entertain 3 or 4 requests simultaneously (which
    happens when displayed a page consists of frames), having some of them throw an exception.
    Are they any tuning or setting for iPlanet server to overcome this problem?

    I'll give you the same advice as I have been given regarding the use of frames.
    Don't use them at all. Use scrollable DIV's instead.
    The use of frames is such that you would have different JSP's who cannot collaborate together since each is in his own frame and does not know about the others.
    In case I'm mistaken, I'd like to hear about it, but the combination of JSP's and frames is an unhappy one.

  • InDesign Exporting to ePub adding extra frames

    When I export my InDesign file to ePub I keep getting extra frames (gray rectangles) in the ePub.  I tried different export settings but keep getting the same result. What am I doing wrong? Here is link to ePub.  please help!

    Okay, I figured out what was wrong.  I had two frames on top of each other in my indesign file. I was anchoring the top frame and using it to create Articles in the Artciles pane.  The extra frame behind my images was used to create a shadow effect.  Next time, I'll just use shadow effect.

  • Picture frame gets moved/resized during preview with iPad

    Hi Guys:
    This happens to a certain type of layout:
    Add a gallery widget to a page
    add only one image to the gallery widget
    Draw a rectangle shape in the page
    Select the rectangle, open the inspector, and add a picture frame decoration to the rectangle.
    Make the rectangle "Not filled" with any color, therefore we get a picture frame
    Put the picture frame on top of the gallery widget
    The gallery widget looks like an ordinary photo, decorated with a picture frame
    The problem:
    The aforementioned layout looks good in iBookAuthor, but when preivewing the book in iPad, the picture frame gets moved (or resizied), therefore it doesn't match the gallery widget.
    after the preview, widgets in the iBookAuthor remains good.
    My question:
    I think it is a bug of either the preview process, or the widgets. if this is the case. I'd deprecate this layout in my book and won't use it anymore.
    Further thoughts:
    I noticed that some type of picture frames are not in high resolution, when previewing the book in iPad, tap to maximize an interactive image with picture frame decorated, it is kind of obverious that the picture frame doesn't have high resolution.
    Any suggestion will be appreciated, thank you.
    Xing Yun

    What happens if you export an .ibooks file, then move it to iTunes and sync to your iPad (delete all previews of that same book first)...?
    Previews are just simplified PDFs and shouldn't be trusted to layout and work the same as a final book.

Maybe you are looking for

  • FAST Entry- A/P

    Hi Gurus Pls let me know whether we can post different vendor invoices and payments at a time, but document numbers should be different for every entry. eg:-  Rent payment Vendor a/c DR. [many vendors are there- need to post as if one    document but

  • Controlling the load order of swfs in a HTML document

    Hi all I have a document containing multiple swfs. Is there anyway I can control which swf loads first etc. Obvisouly it would start from which ever one is higher in the HTML document. However I would like to control what loads first, also can this b

  • How to save settings in the front panel to different files and retrieve it later?

    How to save the front-panel controllers' settings to different files and retrieve it later? What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but no

  • Frequency of Services Restart

    Hello Everyone, We have OBIEE set up on Windows Server, More frequently the server needs services re-start (There we cannot do anything other than restart of services, In answers as well no one can log in). Can any one give me some pointers at what f

  • Photo Sweeper and Aperture Duplicate Detection

    Hi all just a quick question. I have tons of duplicates coming into my Aperture library, basically due to my imports coming from my backup disks which have multiple backups of multiple time points and who knows what is in any of them. I have looked a