Making a seperate frame non resizable

Is it possible to make a seperate frame non-resizable and if so how? If I set the resizable property of the window then this simply makes the browser non-resizable rather than the seperate frame. Is there some PL/SQL code that can do this for me or is it possible to set this in the forms web config? Thanks for any help
Dan

I have tried this method, it looks like it should run, but when i compile it the browser displays................
"Untitled1.java": Error #: 750 : initialization error: com.borland.compiler.symtab.LoadError: neither class nor source found for java.lang.Object
public class Untitled1 extends Component {
public void createPanel()
JFrame frame = new JFrame();
frame.setUndecorated(true);
frame.setLayout(new BorderLayout());
MyDisplay test = new MyDisplay(frame);
test.setLayout(new BorderLayout());
frame.add(test, BorderLayout.CENTER);
JLabel label = new JLabel("This is just a test");
test.add(label, BorderLayout.CENTER);
frame.pack();
frame.setSize(500, 500);
// make sure you pack and/or set size first...
Dimension dS = Toolkit.getDefaultToolkit().getScreenSize();
Dimension dF = frame.getSize();
// make sure it's not off screen
int x = (dS.width/2)-(dF.width/2);
int y = (dS.height/2)-(dF.height/2);
if(x < 0) x = 0;
if(y < 0) y = 0;
frame.setLocation(x, y);
frame.setVisible(true);
contentpane.add(sc);
jscrollpane sc = new jscrollpane();
jtextarea ta = new jtextarea();
/**Main method*/
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
catch(Exception e) {
e.printStackTrace();
new untitled1();
Do you know how i can correct this erreor!

Similar Messages

  • Making some columns non-resizable in JTable

    Hi,
    In my Application i need to make some columns non-resizable and some columns needs resizability.
    If anybody done this,please help me.
    Thanks in advance.
    Vattikuti

    Look at some of these
    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=forum%3A57&qt=%2Bjtable+%2Bcolumns+%2Bresizable

  • Non Resizable JDialog with icon

    Hi All...
    How to create dialog with icon on the top left corner and also this dialog should be non resizable.
    Thanks
    sanjay

    Use setResizable(false) to make the dialog non-resizable.
    The Dialog automatically inherits the icon of the parent Frame/Dialog which is passed in the constructor.

  • Split Panes, Frame and Resizing

    Hi,
    my user interface is made up of a message panel using the created class SplitPanes2 through the method createSplitPanes called from a class that extends Frame. (will post code if required: lengthy). When the frame is resized/maximized, the splitPanes remain at their preferred size. How can I work on it such that the SplitPanes will resize proportionally too? Please inform me if I have overlooked certain details.
    -cyndi
    public class AppLayout {
         Frame parent;
         public AppLayout() {
         public void createSplitPanes( Panel messagePanel, TextArea messageAreaOut, TextArea messageAreaIn, TextArea messageArea ) {
              Panel splitPane2 = new SplitPane2( messageAreaOut, messageAreaIn, messageArea );
              messagePanel.setLayout( new GridLayout(1, 1));
              messagePanel.add(splitPane2);
         public class SplitPane2 extends Panel {
              public SplitPane2( TextArea messageAreaIn, TextArea messageAreaOut, TextArea messageArea ) {
                   //Create an instance of splitPane
                   splitPane sPane2  = new splitPane( messageAreaOut, messageAreaIn );
                   JSplitPane left    = sPane2.getSplitPane();
                   //XXXX: Bug #4131528, borders on nested split panes accumulate.
                   //Workaround: Set the border on any split pane within
                   //another split pane to null. Components within nested split
                   //panes need to have their own border for this to work well.
                   left.setBorder( null );
                   //Create a split pane and put "left" (a split pane)
                   //and TextArea instance in it.
                   JSplitPane sPane   = new JSplitPane( JSplitPane.HORIZONTAL_SPLIT,
                        left, messageArea );
                   //splitPane.setOneTouchExpandable(true);
                   sPane.setDividerLocation( 150 );
                   sPane.setResizeWeight( 0.5 );
                   //Add the split pane to this frame
                   sPane.setPreferredSize( new Dimension( 400, 430 ) );
                   add( sPane );
              class splitPane {
                   JSplitPane sPane;
                   public splitPane( TextArea messageAreaOut, TextArea messageAreaIn ) {
                        //Read image names from a properties file
                        sPane = new JSplitPane( JSplitPane.VERTICAL_SPLIT,
                             messageAreaIn, messageAreaOut );
                        //splitPane.setOneTouchExpandable(true);
                        sPane.setDividerLocation( 0.5 );
                        sPane.setResizeWeight( 0.5 );
                        //Provide a preferred size for the split pane
                        sPane.setPreferredSize( new Dimension( 150, 350 ) );
                   public JSplitPane getSplitPane() {
                        return sPane;

    Hi, I'm not sure, but I think I had a similar problem. I tried to place a JSplitPane inside a JPanel and then I got the same behaviour as you describe. Unfortunately I didn't find out why that happened. I simply didn't use the JPanel and then it worked as I wanted it to. (Almost) :)

  • How can I prevent the text in non-resizable contexts from being cut off?

    I have not changed the Application, System, or Dialog fonts from their defaults.  
    This is the result:
    Related:  http://forums.ni.com/t5/LabVIEW/text-in-non-resizable-windows-is-cut-off/td-p/92300

    Medium might be the default for high ppi monitors but it is very different from the original windows settings that were used when 96 ppi was standard. Of course for a high resolution FullHD resolution on a 15 inch screen you end up with a ppi of around 150ppi.
    This article explains somewhat the history of where 96ppi came from and that it was in fact already a convinient misrepresentation of the real values. The problem is partly that LabVIEW makes some assumptions about the size of text based on the actual ppi settings while the rendering of the text as done by Windows can be scaled by your control panel adjustment. However the solution is not as trivial as replacing all assumbtions about the size of text by the new values as that won't always give the correct values either and also has quite a lot of other issues such as controls suddenly looking very oversized when moving a front panel from a low ppi device to a high ppi device. Basically the way Windows deals with screen resolution and different ppi makes it simple for Windows to render text on a display without ugly aliasing effects but makes it impossible for an application to both be text and size accurate when rendering windows like a LabVIEW front panel.
     It's also a reason why so called retina displays still don't really work under Windows while IOS has them already for quite some time.
    Ravens Fan, Windows 7 has Normal (100%), Medium (125%) and Larger (150%). To maintain the relative text size on an old CRT for a FullHD 15 inch labtop display one would have to use the Larger setting, which is outright ugly. I personally use Smaller on all my Windows 7 labtops because of issues like the LabVIEW front panels rendering but also many other applications get into trouble otherwise. Yes it looks kind of small on my FullHD 15 inch LCD monitor, but at least it is all consistent.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How do i make my JApplet, non-resizable?

    Hi just needed to know how to make my swing applet non resizable.
    and also....where do i install javadoc on win 2k to make it recognise i want it to document?
    Thanks for any help

    I'm not sure I understand your problem... JApplet is just extended from Panel. If you embed your JApplet in a web page, it will not be resizable. (The size allocated to the applet is set from the APPLET, OBJECT, or EMBED tag in the web page, not by the applet itself)
    If your JApplet is opening a JFrame or something, and you want THAT to be non-resizable, just call myFrame.setResizable( false );

  • Making Sprites visible on seperate frames

    Hi. Im trying to get my head around this and it is doing my
    head in.
    For example, while in frame 1 I want to be able to click a
    button which will then make a sprite visible in frame 10, which is
    a different page, i.e the sprite is only in frame 10 and the button
    is only in frame 1.
    If they were on the same page I could use...
    on mouseup me
    sprite("1").visible=true
    end
    but because they are on different frames to one another it
    tells me there is a property error with "visible". I need to make
    the function global some how but not sure how to do this.
    PLEASE HELP
    Lee

    Set a global variable in your mouseUp handler then use that
    variable's state
    to set the visible of the sprite in frame 10 in its
    beginSprite handler
    -- put this in a movie script
    global gSetVis
    on StartMovie
    gSetVis = FALSE
    end
    -- integrate this into the script/behavior for the button
    global gSetVis
    on mouseUp me
    gSetVis = FALSE
    end
    --Then in frame 10 on the sprite that needs to be made
    visible
    global gSetVis
    on beginSprite me
    sprite (me.spriteNum).visible = gSetVis
    end
    Craig Wollman
    Word of Mouth Productions
    phone 212 928 9581
    fax 212 928 9582
    159-00 Riverside Drive West #5H-70
    NY, NY 10032
    www.wordofmouthpros.com
    "Leegee3" <[email protected]> wrote in
    message
    news:eidcn4$be8$[email protected]..
    > Hi. Im trying to get my head around this and it is doing
    my head in.
    >
    > For example, while in frame 1 I want to be able to click
    a button which
    > will
    > then make a sprite visible in frame 10, which is a
    different page, i.e the
    > sprite is only in frame 10 and the button is only in
    frame 1.
    >
    > If they were on the same page I could use...
    >
    > on mouseup me
    > sprite("1").visible=true
    > end
    >
    > but because they are on different frames to one another
    it tells me there
    > is a
    > property error with "visible". I need to make the
    function global some
    > how but
    > not sure how to do this.
    >
    >
    > PLEASE HELP
    >
    >
    > Lee
    >

  • Frame (no) resize not broser consistent - help.

    I've got a simple left frame/right frame setup. I have my
    navigation frame set for no resizing and it works great in Safari,
    but no other browser. If I resize the window, the main content area
    pushes over the navigation frame. In Safari, it works perfectly.
    Any suggestions anyone?

    Tangier Clarke wrote:
    > Thanks Gary, but I am not clear on something. First I
    don't have the
    > option in Dreamweaver (2004) to type in diret frame
    sizes. I checked
    > the properties inspector as well as tried to see my
    options while
    > typing code (when DW prompts you for code options to
    choose from).
    >
    > Here's the site by the way as you can see in a
    non-Safari browser
    > that by resizing the entire window, my right frame
    starts cutting
    > into my left frame.
    >
    >
    http://www.tangierclarke.com/Guillermo/
    You have this:
    cols="170,757"
    You want this:
    cols="170,*"
    This may help too:
    http://www.tjkdesign.com/articles/frames/
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    CSS Tab Menu:
    http://www.TJKDesign.com/go/?3

  • Frame (no) resize not browser consistent - help.

    I've got a simple left frame/right frame setup. I have my
    navigation frame set for no resizing and it works great in Safari,
    but no other browser. If I resize the window, the main content area
    pushes over the navigation frame. In Safari, it works perfectly.
    Any suggestions anyone?

    Tangier Clarke wrote:
    > Thanks Gary, but I am not clear on something. First I
    don't have the
    > option in Dreamweaver (2004) to type in diret frame
    sizes. I checked
    > the properties inspector as well as tried to see my
    options while
    > typing code (when DW prompts you for code options to
    choose from).
    >
    > Here's the site by the way as you can see in a
    non-Safari browser
    > that by resizing the entire window, my right frame
    starts cutting
    > into my left frame.
    >
    >
    http://www.tangierclarke.com/Guillermo/
    You have this:
    cols="170,757"
    You want this:
    cols="170,*"
    This may help too:
    http://www.tjkdesign.com/articles/frames/
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    CSS Tab Menu:
    http://www.TJKDesign.com/go/?3

  • Journe f801 photo frame - non-existent support

    I have acquired a Toshiba journe^1^ digital frame (Model number: PPA3702A-1ET2) and the support could best be described as lacking (ie. it simply doesn't exist).
    Here are a few questions:
    1) Video support. There's an option for video display, and I have seen elsewhere that the frame supports Motion JPEG, MPEG 4, WMV, H.263, H.264. I tried displaying an H.264 in a MOV container and it didn't work, so my question is what codecs (video and audio) and what containers are supported?
    2) Image support. Jpegs and BMP seem to be it, is that the case? Any plans for updating the firmware?
    3) Where's the light sensor and can I adjust it? If I turn it on the screen blanks immediately, regardless of light levels. This is a problem.
    4) Am I the only one that thinks being able to get more reliable product information from everyone *but* Toshiba about this product is a problem? Some basic support for a product you sell would be nice.
    ^1^ the swiss army knife of Toshiba product naming conventions - seriously Toshiba, don't call everything you make 'journe'. It makes finding products difficult, and frankly, devalues the meaning of journe as a brand to the point of uselessness.

    Hello bratton,
    I don't think the frame is junk, but it's very obvious that playing videos is a function that has been thrown in at the last minute rather than thought about.
    If I were you, and I wanted to play videos, I'd get something like mediacoder (www.mediacoderhq.com - I've used it quite successfully in the past) or one of the many free transcoding applications and start testing. The problem with them is that they can be overly complex for simple tasks (and video transcoding of any kind is always a nuisance).
    The biggest problem with the whole idea is that mjpeg is not a ratified standard (ie. every vendor does it their own way) so you could run into either obvious issues (ie. it doesn't work at all) or subtle issues (ie. it doesn't work properly and you cannot see why) related to differing vendor implementations. The frame itself ships with some dubious software for conversion that I didn't even bother installing (because in box software is always total garbage and superior free options are available - I already have a bunch of vastly more functional software on my machine, Avidemux, VirtualDub, etc.) so I can't even tell you how reliable the actual process is when you are doing it the way Toshiba expects.
    I personally bought the frame because it was dirt cheap, and I was looking at it as a device I might be able to hack (primarily I was thinking about making a network attached display device to show things like my calendar, to do list, etc.) so mjpeg video isn't critical to me (but it would be a nice feature). Currently, I'm more interested in writing some software to handle picture conversion for the frame (having discovered that the native resolution of 800x600 is best for images on the device (it only scales images down, not up - go figure) and as it only understands jpeg and bmp I've been thinking about automatic image resizing and expanding the number of image formats accepted. Both those goals should be trivial), although mjpeg support would be good for dealing with the display of animated gifs.
    Anyway, if I find out anything useful, I'll post it here.

  • Digitizing Pre-Logged Clips: Drop Frame/Non-Drop Frame Discrepency

    I have about 100hrs of DV NTSC footage that has been logged and now I need to capture it.
    Everything seemed good to go:
    • I ctrl+click the clip intended to capture
    • Select 'batch capture' (it initializes)
    • Settings are (apple setting) DV NTSC 48kHz
    • I click okay and I get an error message that reads:
    "WARNING: You are about to capture drop-frame media to a non-drop frame clip. If you proceed, you may experience changes in logged in and out points, problems relinking media, or removal of master clip relationships."
    Now, the setting noted above is set at 29.97 not 30.
    I tried to see if there was anything I could select/deselect in the logged clips and came up dry.
    I made duplicated the apple setting and changed the fps to 30. This yielded no error message but did on the second clip I tried.
    Does anyone have any idea on how I should be troubleshooting this?
    Due to the high volume of footage, and workflow schedule, I'd really rather not screw this up.
    I turn to you my faithful FCP gurus.
    Thanks.
    Ian
    p.s. I'm running FCP v.5.1.4

    Just check your timecode accuracy before you get any further... i.e. does the timecode in the captured clip match the code that's on the tape. If so, you're good to go on... if not, I'd recapture using the proper TC... it's pretty easy if you do it from the tape in the Log and Capture window.
    Jerry

  • What's the deal with Drop-Frame / Non-Drop-Frame Timecode?

    I'm having trouble with 30fps Drop-Frame and 30fps Non-Drop-Frame timecode formats! I thought 29.97fps means 30fps Drop-Frame, but now I'm all confused.
    I'm working with DSLR footage filmed with a frame rate of 29.97. For example, this one clip is listed as (in Project panel)
    Media Start: 11:16:11:23
    Media End: 11:22:42:22
    Duration: 00:06:31:00
    Frame Rate: 29.97fps
    If I open this clip directly in Source Monitor, the timecode display (yellow, on lower left corner) says 11:16:11:23 at the beginning and 11:22:42:23 at the end. OK. But if I right-click on the timecode display, the pop-up indicates "Non-Drop-Frame"(!!). If I manually change that to "Drop-Frame", the start and end timecode would become 11:16:52:11 and 11:23:23:23, and the duration display (white, on lower right corner) becomes 6:31:12.
    Now I create a new sequence of 1080p30, which has a 29.97fps time base. I right-click the yellow timecode display on the upper left corner of the Timeline, it says "30fps Drop-Frame". I drag the said clip onto the sequence. It occupies a length of 6:31:12. If I double-click the clip to open it in Source Monitor, now the Source Monitor timecode display indicates "Drop-Frame", and the start/end timecodes are 11:16:52:11 and 11:23:23:23. Huh??
    Now I apply the "Timecode" effect on the clip. The timecode burn-in says 11:16:51:11 at the first frame and 11:23:23:22 at the last frame. I then go to the Effect Controls tab and look at the Timecode effect. It says
    Format: SMPTE
    Timecode Source: Media
    Time Display: 30 Drop Frame
    Just playing around, I switch "Timecode Source" to "Clip" - now the timecode burn-in goes from 00:00:00:00 to 00:06:31:11 - and then I switch it back to "Media". Now the Effect Controls tab says:
    Format: SMPTE
    Timecode Source: Media
    Time Display: 30 Non-Drop Frame
    And the timecode burn-in says 11:16:11:23 at the first frame and 11:22:42:22 at the last frame!
    HUH??
    Just for kickers, I switch "Timecode Source" to "Clip" again... Now "Time Display" stays on "30 Non-Drop Frame", and the timecode burn-in goes from 00:00:00:00 to 00:06:30:29.
    What's the REAL length of this clip? Is it drop-frame or non-drop-frame? What are the REAL timecodes for it?
    Also in a general sense, since I can change the "Time Display" field in the Timecode effect at any time, and change the Timecode display format of the Timeline at any time... How do I avoid creating mismatching timecodes??
    Thanks in advance for any clarification!!

    So obviously, only one of them could be "correct" in terms of reflecting what actually happened. The other one is slightly sped-up or slowed-down. You might say "oh that's a tiny difference, it doesn't matter".
    Zooropa75, just for matter of clarification I want to make sure you understand that no matter which you use, it won't actually speed up or slow down your video. TC, wether it is non-drop or drop, is only a counting system. For that reason, it doesn't even matter which you use to reference edits, so long as everyone editing uses the same TC basis.
    If you want actual time accurate TC, as was already mentioned, use drop-frame.
    I'm going to kill two birds here. The "drag clip to new sequence button" action I was referring to in my earlier post is dragging your clip to the icon seen below. It should create a timeline using your videos format.
    Also, remember I recommended looking in the manuel for "actual" time used? You can see below a snapshot I took from your cameras manuel. You're not shooting in whole numbers for anything unless you're using the 50hz system and shooting at 50p. That is the ONLY exception. ...and this is good for everyone to remember. Very few US digital cameras shoot frames per second in whole numbers. If it says you're shooting in 24p, 30p, 60p, etc. ad nauseum, you can bet your biscuits it's actually the multi-decimal NTCS counterparts like you see below And that should be your final answer. *chuckle*

  • Drop Frame/Non-Drop Frame Warning

    Hi,
    First off, thank you to the experienced people out there who take the time to explain things and answer these questions.
    About the following warning:
    Warning: You are about to capture drop-frame media to a non-drop frame clip. If you proceed, you may experience changes in logged in and out points, problems relinking media, or removal of master clip relationships.
    I logged about 40 clips by entering In and Out points (from a piece of paper), turned on my camera, went to Batch Capture, and it gave me this warning. I read a little bit about timecode (I know little about it) and realized that I didn't use semi-colons when entering my timecode in the Log and Capture window. Apparently this is important; I have a Panasonic GS500.
    I captured anyway, and I have all the video I want; the "handles" inherent in the In and Out points I used should accomodate even several seconds of any timecode discrepancy.
    My question: When I am done editing and go to recapture my sequences at full DV quality, will there be a difference between the In and Out points of my clips and the tape? Have I mis-captured media files in some way? How can I tell if the Media Start and Media End information isn't out of sync?
    Cyrus

    Just check your timecode accuracy before you get any further... i.e. does the timecode in the captured clip match the code that's on the tape. If so, you're good to go on... if not, I'd recapture using the proper TC... it's pretty easy if you do it from the tape in the Log and Capture window.
    Jerry

  • Header and body in seperate frames... why?

    Hi
    I am developing an embedded application that works with Weblogic Server. I have a problem with the response form a simple "GET" request, in that the response comes back from the server in 2 TCP frames. The first frame contains the Http header and no data. The second frame contains only the data. The combined response is only around 300 bytes, so I don't understand why it segmented into 2 frames. Question is, how can I configure Weblogic to send the response in one TCP frame?

    Hii
    Can I ask you why you are interested in having the response back in one frame (performance? I don't know really...)
    In the ISO/OSI (as TCP is some sort of implementation) from some level you should not control a lower level, but just use the primitives the interface leaves to you. Since you are at application level, whatever is the way TCP sends your data should be none of your business ;).
    Let me know,
    Ciao!
    Giupo

  • Creating Frame-Like Resizing Functionality

    So I’m working on a web application at work, and the customer wants a functionality that we’re not sure how to deliver yet. The closest thing I can relate it to is using frames in HTML. If you were to set up a framed web site, with two frames side-by-side, and leave the frame bars visible, you’d have a bar in the middle, running vertically, to show you where the two windows are divided in half. You can drag that bar to the left or right, making the frames bigger or smaller.
    Our web app, being developed using JSP and Rich Faces, presents a lot of information to the user. This information will be divided in half like described above, and he would like to be able to drag a bar in the middle to make one side bigger or smaller.
    I’m new to web development, and we’re not sure how we’re going to accomplish this. We absolutely do not want to use frames. Any ideas?
    Thanks

    You could explore some of the other component libraries out there, such as Primefaces. The trouble is that you are using Richfaces: I know for a fact that it won't play nice with Icefaces, I don't know if Richfaces and Primefaces can be used together without conflicts.
    Otherwise it will be a manual Javascript job I'm afraid. Be careful when using Javascript toolkits - for example I have seen Richfaces components crash and burn when I included the JQuery js library :/

Maybe you are looking for

  • Dual Boot Snow Leopard and Leopard

    Hi All i am looking to Dual boot my Intel iMac with Leopard (10.5.8) + Snow Leopard (10.6) for testing purposes. How do i go about doing this? I have the Leopard install disc i do not have Snow leopard yet and the only version i have seen is an updat

  • What are the functionalities provided by SAP ECC 6.0 (Logistics Execution) for inward and outward transportation?

    The Transportation Module provides a very detailed functionality to capture & control the transportation both inward and outward. However there is a set of transaction codes in SAP ECC 6.0 which may provide some functionality on transportation. Can L

  • UPDATING EKKO-PROCSTAT FOR A SAG (ME32L)

    Hi experts, I have a requirement that I need to update the ekko-procstat field. I found a bapi BAPI_SAG_CHANGE that I think its possible to do it, but when I use it always appears the following message: 'Scheduling agreements with time-independent co

  • Erratic Mouse/Computer Activity

    I have had my current Macbook for years without a single issue. I purchased a 2nd monitor (Dell), keyboard (Logitech Standard USB) and a Dynex monitor adapter today. Now all of the sudden, my mouse randomly jumps while typing and selects things in pr

  • Edit by audio clips on iMovie 11

    I have video interviews that I'm editing, which is difficult because I can't rely on visuals to tell me where to cut-no one's moving much, they're just talking. Is there a way of enlarging the audio line so i can see the spikes and dips a little clea