Fail to load and read dbms_lob.bfile offset more than 2G

Hi!
Recently I have encountered a strange problem I can't find any mention about.
I load a large file by pieces of 1 Gigabyte. When offset becomes more than 2 Gigabytes (2147483649 bytes for example) I have Exception ORA-22288: file or LOB operation FILEOPEN failed.
(The file about 4G is already loaded.)
declare
p_dir_name varchar2(200) := 'DIR_BLOB_IN' ;
p_file_name varchar2(200) := 'A vid2.avi' ;
v_blob_id integer := 194 ;
v_blob_loc blob;
v_bfile_loc bfile;
v_inc_var integer := 1073741824 ;
v_blob_offset integer := 2147483649 ;
v_bfile_offset integer := 2147483649 ; -- Offset more than 2G - the procedure doesn't work
v_bfile_offset      integer        := 1073741825 ;  Offset = 2G
v_err_message varchar2(200);
v_bfile_is_open boolean := false;
function blob_forupdate (blob_id in integer)
return blob
is
cursor blob_to_open
is
select blob_in_body
from tb_blob_in
where blob_in_id = blob_id
for update;
blob_body blob_to_open%rowtype;
begin
open blob_to_open;
fetch blob_to_open into blob_body;
close blob_to_open;
return blob_body.blob_in_body;
end;
begin
v_blob_loc := blob_forupdate( v_blob_id );
v_bfile_loc := bfilename(p_dir_name, p_file_name);
dbms_output.put_line( 'Opening bfile...' );
dbms_lob.fileopen( v_bfile_loc );
dbms_output.put_line( 'Bfile is open.' );
dbms_lob.loadfromfile( v_blob_loc, v_bfile_loc, v_inc_var, v_blob_offset, v_bfile_offset ); commit;
dbms_output.put_line( 'Closing bfile...' );
dbms_lob.fileclose( v_bfile_loc );
dbms_output.put_line( 'Bfile is closed.' );
exception
when others
then
v_err_message := substr( sqlerrm, 1 , 200);
dbms_output.put_line( 'OTHERS Exception ' || sqlerrm );
v_bfile_is_open := dbms_lob.fileisopen(v_bfile_loc) = 1 ;
if v_bfile_is_open
then
dbms_output.put_line( 'File ''' || p_file_name || ''' in the directory ''' || p_dir_name || ''' is open!' );
dbms_output.put_line( 'Closing it...' );
dbms_lob.fileclose( v_bfile_loc );
dbms_output.put_line( 'The file is closed!' );
else
dbms_output.put_line('File ' || p_file_name || ' in the directory ''' || p_dir_name || ''' closed!' );
end if;
end;
The same story with dbms_lob.read operation:
declare
p_dir_name varchar2(200) := 'DIR_BLOB_IN';
p_file_name varchar2(200) := 'A vid2.avi';
v_bfile_loc bfile;
v_read_amount binary_integer := 10 ;
v_read_offset integer;
v_read_buffer varchar2(20);
v_bfile_is_open boolean := false;
v_message varchar2(200);
begin
dbms_output.put_line( 'File ' || p_file_name || ' in ' || p_dir_name || '' || '' );
v_bfile_loc := bfilename(p_dir_name, p_file_name);
dbms_lob.fileopen( v_bfile_loc );
v_message := 'Offset < 2G: ' ;
dbms_output.put_line( v_message );
v_read_offset := 2000000000; -- offset < 2G
dbms_lob.read( v_bfile_loc, v_read_amount, v_read_offset, v_read_buffer );
dbms_output.put_line( v_message || to_char( v_read_buffer ) );
v_message := 'Offset= 2G: ' ;
dbms_output.put_line( v_message );
v_read_offset := 2147483648; -- offset = 2G
dbms_lob.read( v_bfile_loc, v_read_amount, v_read_offset, v_read_buffer );
dbms_output.put_line( v_message || to_char( v_read_buffer ) );
v_message := 'Offset > 2G: ' ;
dbms_output.put_line( v_message );
v_read_offset := 2147483649; -- offset > 2G
dbms_lob.read( v_bfile_loc, v_read_amount, v_read_offset, v_read_buffer );
dbms_output.put_line( v_message || to_char( v_read_buffer ) );
dbms_lob.fileclose( v_bfile_loc );
exception
when others
then
dbms_output.put_line(sqlerrm);
dbms_output.put_line('The Beginning');
v_bfile_is_open := dbms_lob.fileisopen(v_bfile_loc) = 1 ;
dbms_output.put_line('The End');
if v_bfile_is_open
then dbms_lob.fileclose( v_bfile_loc );
end if;
end;
--END Read from bfile starting with offset
I can load this file as a whole and I can get its length. I can load parts of this file equal or less than 2G into blob with any blob offset I want. But when bfile offset is more than 2 Gigabytes the error occures.
I have an Oracle Database server Release 10.2.0.1.0 on Microsoft Windows XP (Professional Version 2002, Service Pack 3). And I have an Oracle Database 10.2.0.2.0 on Microsoft Windows Server 2003 R2 (Enterprise Edition Service Pack 1) also. It doesn't work on both of them.
I have no Oracle Database on Unix or 64-bit Windows, so I can't test on those operational systems.
Can anybody help me? (( I lost any hope to solve this problem (((
Edited by: Shindou on Feb 17, 2009 4:40 AM

See Mark Drake's (Product Manager Oracle XMLDB, Oracle US) response in this old post: ORA-31167: 64k size limit for XML node
The "in a future release" reference, means that this boundary 64K / node issue, was lifted in 11g and onwards...
So first of all, if not only due to performance improvements, I would strongly suggest to upgrade to a database version which is supported by Oracle, see My Oracle Support... In short Oracle 10.2.x was in extended support up to summer 2013, if I am not mistaken and is currently not supported anymore...
If you are able to able to upgrade, please use the much, much more performing XMLType Securefile Binary XML storage option, instead of the XMLType (Basicfile) CLOB storage option.
HTH

Similar Messages

  • Load and Read XML file size more than 4GB

    Hi All
    My environment is Oracle 10.2.0.4 on Solaris and I have processes to work with XML file as below detail by PL/SQL
    1. I read XML file over HTTP port into XMLTYPE column in table.
    2. I read value no.1 from table and extract to insert into another table
    On test db, everything is work but I got below error when I use production XML file
         ORA-31186: Document contains too many nodes
    Current XML size about 100MB but the procedure must support XML file size more than 4GB in the future.
    Belows are some part of my code for your info.
    1. Read XML by line into variable and insert into table
    LOOP
    UTL_HTTP.read_text(http_resp, v_resptext, 32767);
    DBMS_LOB.writeappend (v_clob, LENGTH(v_resptext), v_resptext);
        END LOOP;
        INSERT INTO XMLTAB VALUES (XMLTYPE(v_clob));
    2. Read cell value from XML column and extract to insert into another table
    DECLARE
    CURSOR c_xml IS
    (SELECT  trim(y.cvalue)
    FROM XMLTAB xt,
    XMLTable('/Table/Rows/Cells/Cell' PASSING xt.XMLDoc
    COLUMNS
    cvalue
    VARCHAR(50)
    PATH '/') y;
        BEGIN
    OPEN c_xml;
    FETCH c_xml INTO v_TempValue;
    <Generate insert statement into another table>
    EXIT WHEN c_xml%NOTFOUND;
    CLOSE c_xml;
        END
    And one more problem is performance issue when XML file is big, first step to load XML content to XMLTYPE column slowly.
    Could you please suggest any solution to read large XML file and improve performance?
    Thank you in advance.
    Hiko      

    See Mark Drake's (Product Manager Oracle XMLDB, Oracle US) response in this old post: ORA-31167: 64k size limit for XML node
    The "in a future release" reference, means that this boundary 64K / node issue, was lifted in 11g and onwards...
    So first of all, if not only due to performance improvements, I would strongly suggest to upgrade to a database version which is supported by Oracle, see My Oracle Support... In short Oracle 10.2.x was in extended support up to summer 2013, if I am not mistaken and is currently not supported anymore...
    If you are able to able to upgrade, please use the much, much more performing XMLType Securefile Binary XML storage option, instead of the XMLType (Basicfile) CLOB storage option.
    HTH

  • A required application library failed to load and the product cannot continue

    Seems like I go through this problem time and again with Photoshop + Acrobat CS2 and still have yet to resolve a way of fixing it short of completely wiping my drive and re-installing Windows (XP Pro) The error is "application library failed to load and the product cannot continue"
    If there is anyone out there that has figured out a way to fix this issue please fill me in.
    This time I went as far as a complete and though removal of all Adobe products from the system and the registry and then completely reinstalled the product.
    I have forgone purchasing CS3 because of this issue as I am 99% sure that it has still not been resolved.
    Basically Photoshop and Acrobat are useless at this point and I am using an old version of Picture Publisher and Macromedia Fireworks to complete my work. This I assume is good advertising for Adobe :)
    Anyone have any ideas????
    See this post in the forum "could not complete your request because of a program error", PDF format, cs2, xp" as this is an ongoing Adobe issue that they have completely blown off!
    I am working on
    Adobe Photoshop Version: 9.0.2 (9.0.2x296)
    Operating System: Windows XP
    Version: 5.1 Service Pack 2
    System architecture: Intel CPU Family:15, Model:2, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, HyperThreading
    Physical processor count: 1
    Processor speed: 2798 MHz
    Built-in memory: 2559 MB
    Free memory: 1812 MB
    Memory available to Photoshop: 1758 MB
    Memory used by Photoshop: 55 %
    Image cache levels: 6
    Serial number: XXXXXXXXXXXXXXXXXX (I have a legal copy)
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS2\
    Temporary file path: C:\DOCUME~1\JIMSHE~1\LOCALS~1\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
    Startup, 128.0G, 65.5G free
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins\
    Additional Plug-ins folder: not set
    Installed plug-ins:
    ADM 3.10x21
    ASDStrm 1.03x2
    Accented Edges 9.0
    Angled Strokes 9.0
    Average 9.0 (9.0x196)
    BMP 9.0 (9.0x196)
    Bas Relief 9.0
    Camera Raw 3.7
    Chalk & Charcoal 9.0
    Charcoal 9.0
    Chrome 9.0
    Cineon 9.0 (9.0x196)
    Clouds 9.0 (9.0x196)
    Color Halftone 9.0 (9.0x196)
    Colored Pencil 9.0
    CompuServe GIF 9.0 (9.0x196)
    Conditional Mode Change 9.0 (9.0x196)
    Contact Sheet II 9.0 (9.0x196)
    Conté Crayon 9.0
    Craquelure 9.0
    Crop and Straighten Photos 9.0 (9.0x196)
    Crop and Straighten Photos Filter 9.0 (9.0x196)
    Crosshatch 9.0
    Crystallize 9.0 (9.0x196)
    Cutout 9.0
    Dark Strokes 9.0
    De-Interlace 9.0 (9.0x196)
    Difference Clouds 9.0 (9.0x196)
    Diffuse Glow 9.0
    Displace 9.0 (9.0x196)
    Dry Brush 9.0
    Embed Watermark 1.70.19
    Export Transparent Image 9.0 (9.0x196)
    Extract 9.0 (9.0x196)
    Extrude 9.0 (9.0x196)
    FastCore Routines 9.0 (9.0x196)
    Fibers 9.0 (9.0x196)
    Film Grain 9.0
    Filmstrip 9.0 (9.0x196)
    Filter Gallery 9.0
    Fit Image 9.0 (9.0x196)
    Fresco 9.0
    Generic EPS 9.0
    Glass 9.0
    Glowing Edges 9.0
    Grain 9.0
    Graphic Pen 9.0
    HDRMergeAlign 9.0x001
    HDRMergeUI 9.0x001
    Halftone Pattern 9.0
    Ink Outlines 9.0
    Lens Blur 9.0
    Lens Correction 9.0
    Lens Flare 9.0 (9.0x196)
    Lighting Effects 9.0 (9.0x196)
    Liquify 9.0
    MMXCore Routines 9.0.1 (9.0.1x289)
    Merge to HDR 1.0x001
    Mezzotint 9.0 (9.0x196)
    Mosaic Tiles 9.0
    Multiprocessor Support 9.0 (9.0x196)
    NTSC Colors 9.0 (9.0x196)
    Neon Glow 9.0
    Note Paper 9.0
    Ocean Ripple 9.0
    OpenEXR 9.0 (9.0x196)
    PCX 9.0 (9.0x196)
    PNG 9.0 (9.0x196)
    PNG Icons 1.22x1
    Paint Daubs 9.0
    Palette Knife 9.0
    Patchwork 9.0
    Paths to Illustrator 9.0 (9.0x196)
    Pattern Maker 9.0 (9.0x196)
    Photo CD 9.0 (9.0x196)
    Photocopy 9.0
    Photomerge 9.0 (9.0x196)
    PhotomergeCylmap 9.0 (9.0x196)
    PhotomergeRender 9.0 (9.0x196)
    PhotomergeUI 9.0 (9.0x196)
    Picture Package 9.0 (9.0x196)
    Picture

    John,
    foud your message very helpfull. I experience the same problem when strating a CS2 program (Photoshop, Indesign,...) over a terminal server connection.
    It's weird because starting more than one instance is possible (despite what's written in the article ) as long as the users have administrative rights. I've encountererd this problem because my daughter of 11 wants to use Photoshop now. I have a terminal server set up so the kids may experiment with their own desktops whithout the risk to screw it up and because I can access all my programs from wherever I want.
    But as I found out now I must buy volume licensing instead of retail (even if it's for just one instance...)
    Want to know if possible how "difficult" it was to change your retail to a volume licensed version? Did you have to pay the full amount again? Hope an upgrade exist from Creative Suite CS2 - retail to Creative suite CS3 - volume licensed for the same price as from retail to retail... Or am I hoping to much?
    Kind regards and thanks for your info,
    Patrick

  • Airport fails to load and even to be reconfigured via wifi

    airport fails to load and even to be reconfigured via wifi

    Hi All,
    Thanks for your responses.
    I configured the SQL agent service to use my domain account with which I have no porblems accessing the folder. However the issue persisted.
    Thanks,
    Andrei
    SSIS question

  • Photo Elements 11 fails to load and rolls back when it starts 'installing shared services'

    Photoshop Elements 11 fails to load and rolls back as soon as it switches to 'installing shared services'. How can I overcome this? Premier Elements is already loaded and works fine including the Organiser. Photo Elements 10 is still on the system and also works fine.
    System - Windows 7 OS1

    Hello
    I have tried that previously, it didn’t work then and it doesn’t now.
    What I have just done is run the installation until it came up with the error message and killed the set-up file & windows installer. Photoshop elements seems to be almost installed. Organiser works for both Premier & Photoshop. What files etc would have been loaded from the point of the error message? The installation worked on a borrowed laptop (on 30 day trial). Hopefully all I need to do is copy the missing files across if you could advise what they are.
    Regards
    Bryan

  • Would Like to Be Able to load and Read TXT or PDF on my 8800

    Hello,
    I would like to be able to load and read TXT or PDF files on my 8800.  How do I go about doing it?  Do I need third party software?  If so what do y'all recommend?
    Thanks in advance

    Dave_nguyen wrote:
    I would like to save a MS documentation, MS wordpad file into the BB MemoPad location.
    1. I could not modify the path so I could save into BB MemoPad.
    2. Is there a utility s/w so I could save/download the big file(20K to 200K)  directly into BB MemoPad. It will take long time to download from email.
    Thanks
    David
    1.  Can't do that.
    2.  Get memory card and save the document to it from your PC. When the memory card is in the BlackBerry you can access it just like a USB thumb drive via Windows.

  • My iPod touch is downloading and updating apps very slow more than an hour.

    My iPod touch 4th gen 32gb verson 4.3.1 is downloading and updating apps very slow more than an hour. I just got it a day ago and I backed up all my apps music and pictures and videos from iTunes. Few months ago I had an iPod touch but I lost it and it was working fine. Luckily before I lost it i backed up everything to iTunes so now everything that was in my old iPod is now in my new iPod. Anyways, When I first bought it I straight away backed up everything and saw that i had many updates on my apps. I started updating it all at once but even the first one was not loading at all and mty ipod was hanging many times during the updates so i cancelled all the updates. i even tried it on my computer and it was taking forever but my laptop does updating and downloading apps slower than my ipod so that doesnt matter. Even when I download an app on my iPod now its take more that an hour. So i was wondering, is my iPod slow cause I backed up too many things when i just got it . I have about 120 apps 150 plus photos and 70 videos and I backed it up all in one night on the day i got my ipod. So now I'm restoring my iPod and updating it to IOS 5 and see what happens. Hopefully it will be faster then but I still need to know what is main problem of m iPod hanging and slow updating/downloading. Need a reply ASAP. Thanks

    Still you can switch it off while syncing.
    You can also do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears)

  • Can you load photoshop elements, disc version, on more than one computer?

    Can you load photoshop elements, disc version, on more than one computer?

      It‘s been part of recent versions, perhaps from PSE8 onward; I‘m not exactly sure. The software activates automatically upon installation. If you ever change computers and already have two activations simply open the Editor on the old machine and on the top menu click help à deactivate
     

  • Cannot complete a paid for down load - says I've done it more than 5 times but non succesfully

    Cannot complete a paid for down load - says I've done it more than 5 times but non successfully. Can anyone assist ?

    Please share a screen of the error message and also let us know what exactly are you trying to download so that we can help you quicker.

  • I cant seem to download and install the latest iphone software update. I have tried since the release and have been unsuccessful on more than 7 occasions and lost all the data on the process. Anyone have that problem an how do I fix this problem?

    I cant seem to download and install the latest iphone software update. I have tried since the release and have been unsuccessful on more than 7 occasions and lost all the data on the process. Anyone have that problem an how do I fix this problem?

    Hi
    Thanks but I have tried doing the above - when I said 7 times I was modest, its more like 15 times.
    And I am referring to the 5.1 software update. I dont have wifi so I guess I will have to try that seeing that my husband also has the same problem - he has also tried downloading several times. It always times out en says that the connection is lost but yet there are always an internet connection and a decent signal once it stopped. Think it said error 32052 or something!
    I am disappointed because the update includes inprovement on the battery life - did you guys notice any difference?

  • HT1414 C apple i need to know few things,first of all i shall tell my scenario. I got an iphone 3gs from my uncle in US. I m at india k. well , in that iphone it showing activation screen and trying to activate. not more than that..plz help!

    C Apple, i need to know few things,first of all i shall tell my scenario. I got an iphone 3gs from my uncle in US..after long waiting. I m from south india, living at God's country called Kerala k. well , in that iphone it showing activation screen and trying to activate. not more than that..plz help!
    means.. in simple words, it is trying to activate and all( searching wifi,, taking few minutes..again searching...if it couldnt find any wifi - telling .. try connect using itunes an all)...well any way. finally I try connect to a wifi network, with full speed...3mbps..from Ravi's internet cafe in downtown.
    All after Im getting the below message from that white candy box!( thats all I can use now, because, in my dreams iPhone is something great,  that mankind ever seen....but this really disappointed me......im simpling blinking!!(same with itunes too)
    ""Your iphone could not be activated because the activation server is temporarily unavailable. try connecting your iphone to itunes to activate it, or try again in a couple of minutes.
    If this problem persists, contact apple support at apple.com/support""
    EVERYDAY .EVERTIME.. I C this message and sleep....no use.....and i use to charge that 'white candy box' to c this message!
    I try searching internet and all for solutn...but no one knw about it..but there are...some one me abt method called jailbreaking ..rednw..white snw ..ultrasnw and all...I dnt knw why it is so complicated to troublesht...apple is suppose to be simple and friendly.
    C why u manufacturing these stuffz like this, if does'nt serve the any of its purpose ....or useable to any of its features atleast....C i wont be that disapppointed, if u put an option to playbck music or video during activation and all...
    If you are responsible for manfacturing such unuseable thing, then its ur responsible to destroy it too.....
    anyway now everyone knws that ..I have an apple iphone with me, but that doest make me proud at all...
    Finally I have only few questions to ask...
    1 will it work with my vodafone sim in kerala?
    2 is any way , i can hear any music out frm it?
    3 will i become a proud iPhone user?
    I am already fedup with asking questions..begging for an solution.....
    I hope so you can help to figure it out, without any complications....thank u!

    It was not legitimately unlocked by the carrier it was originally locked to. ONLY the carrier it is locked to can authorize unlocking it.
    In order to allow it to be used on a different carrier, the phone was hacked or jailbroken. An unauthorized modification was made to the phone. That modification has damaged the phone. You can not get support for it here or from Apple.

  • I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect to my MacBook it erases everything on had on there. Can someone please help with this problem?

    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.

    dwgar1322 wrote:
    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.
    Yes, you have WD software installed  REMOVE IT !! 
    WD has warned its customers about their huge mistake that their software doesnt work on Mavericks and causes data loss.
    (also dont use WD drives anymore)
    Read all about it here:
    https://discussions.apple.com/thread/5475136?start=255&tstart=0
    See their website on removing the destructive WD software here:
    http://community.wd.com/t5/External-Drives-for-Mac/External-Drives-for-Mac-Exper iencing-Data-Loss-with-Maverick-OS/td-p/613775
    Western Digital External Hard Drives Experiencing Data Loss On OS X Mavericks
    http://www.cultofmac.com/252826/western-digital-external-hard-drives-experiencin g-data-loss-on-os-x-mavericks/

  • I have 2 problems with Mail. I cannot address an email to more than one recipient. And I receive some emails more than once.

    I have 2 problems with Mail. I cannot address an email to more than one recipient. And I receive some emails more than once. Can you please help?

    Restart your Mac. See if that makes a difference.

  • Adobe Reader does not print more than 5 pages Toshiba E-Studio 232 in Windows 7

    Adobe Reader does not print more than 5 pages Toshiba E-Studio 232 in Windows 7.
    I contacted Microsoft representatives said the problem is the Acrobat Reader once all other applications print without problems.
    Please help me!

    We have the same problem with our TOSHIBA e-STUDIO6540C. We've tried different versions of adobe reader, even acrobat and many times it will only print some pages of any given document. Did you find a solution? To me it sounds like a toshiba issue but just wondering.

  • After downloading updates for the first time, i was asked to restart my mac. it starting writing configuring installation. the staus bar just showed a little and remained like that for more than 3 hrs. i tried several times wit no success.

    after downloading updates for the first time, i was asked to restart my mac. it started writing configuring installation. the staus bar just showed a little and remained like that for more than 3 hrs. i tried several times wit no success. it has not updated my mac OS X 10.5.

    My clean install worked out alright, although I don't think it really fixed anything, rather gave me a couple more days of use 'till I have to send it in. Someone please help my get it running properly again...

Maybe you are looking for

  • How to make change in Issue list across all project sites?

    Hi, We all have issue list in our project sites. We need to add some values to some of the columns in that issue list. The requirement is we need these changes to reflect in all the new sites. Also how to make these changes reflect in current existin

  • CALCULATION IN HEADER FIELD?

    friends... i have designed a form z_pm_common..which i have copied from standard.pm_common. i have made some changes to the layout. now at the header i have a field : DURATION OF JOB  :&AFVGD-ARBEI& &AFVGD-ARBEH& AFVGD-ARBEI IS WORK DURATION.I.E 6.3

  • DVD quality poor.

      Created a project in Encore with a MP4 file. DVD quality very poor. Very pixilated.  Tried multiple settings. Bitrate etc...   Did same project in FCP, 100% clearer.

  • Why is there extra white space after exporting to JPEG?

    After exporting an *.ai file to jpeg using  150 ppi and 5 for compression, I have extra white space below the artwork. This has happened in two files after exporting.

  • Swing Content Pane

    I'm making a JApplet, where I need to draw graphics and set the locations and sizes of some Components. I usually use AWT and just override paint with all of the setSize (...), setLocation (...), and graphics. I tried setting the JApplet's content pa