Small code correction

I am new in Java, I need help for small correction of applet code(I'm not confident how to make this correctly)- I need clean a popup banner at applet loading. The about part , which appears by click on 'about' button, can be left without changes, it does not prevent me.
Part of a code containing a popup:
import a.*;
import java.applet.Applet;
import java.applet.AppletContext;
import java.awt.*;
import java.awt.event.*;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.*;
public final class dbView extends Applet
implements Runnable, ActionListener, o, ItemListener
public void stop()
if(A != null)
A.dispose();
if(t != null)
t.dispose();
private void _mthvoid()
B = a.i.a(getClass(), "Begin.gif");
e = a.i.a(getClass(), "Right.gif");
z = a.i.a(getClass(), "Left.gif");
u = a.i.a(getClass(), "End.gif");
b = a.i.a(getClass(), "Redo.gif");
J = a.i.a(getClass(), "Binocular.gif");
m = a.i.a(getClass(), "Home.gif");
MediaTracker mediatracker = new MediaTracker(this);
mediatracker.addImage(B, 0);
mediatracker.addImage(e, 0);
mediatracker.addImage(z, 0);
mediatracker.addImage(u, 0);
mediatracker.addImage(b, 0);
mediatracker.addImage(J, 0);
mediatracker.addImage(m, 0);
try
mediatracker.waitForAll();
catch(InterruptedException interruptedexception) { }
private int _mthdo(String s1, String s2)
return s1.indexOf(s2);
public String getAppletInfo()
return "Name: Beer Viewer.java\r\nLager Beer: 1.01\r\nPromouter: Best Beer\r\nBest Beer in the world!\r\nFamous light brand.\r\nLegendary Lager Beer\r\ne-mail: [email protected]";
private void a(Graphics g1)
g1.setColor(Color.white);
g1.drawString("Best Beer in the world!", 125, 260);
g1.drawString("Famous light brand.", 125, 270);
g1.drawString("Legendary Lager Beer", 125, 280);
g1.drawString("e-mail: [email protected]", 125, 290);
private final void _mthfor(String s1)
if(s1 == null || s1.length() == 0)
d = false;
StringBuffer stringbuffer = new StringBuffer();
stringbuffer.append("Beer Viewer\n");
if(d)
stringbuffer.append("Ask for beer: ").append(s1).append("\n");
stringbuffer.append("Best Beer in the world!, Famous light brand\n");
stringbuffer.append("Legendary Lager Beer\n");
stringbuffer.append("Codebase: ").append(getCodeBase().toString()).append("\n");
stringbuffer.append("Documentbase: ").append(getDocumentBase().toString()).append("\n");
k = stringbuffer.toString();
if(d)
o = new c(this, k);
private void f()
remove(q);
q.invalidate();
_mthvoid();

yes

Similar Messages

  • What this small code does? And how do I do it in Unicode.

    Hi.
    I got the following code and I really don't know what it does or even why. All I know It's not UC enabled ( since it's uxinf the type x).
    I was thinking I might be converting from ascii representation to text or something like that but I'm not that sure.
    FORM TRANSLATE_FIELD USING    STRING_TRAN
                         CHANGING STRING1.
      DATA: STRING(255),
             len1(3) type i,
             LEN(3)  TYPE I,
             NUM(3)  TYPE I,
             I(3)    TYPE I.
      DATA: C VALUE 'A',
            X TYPE X.
      FIELD-SYMBOLS:<fc> type c.
      STRING = STRING_TRAN.
      len1 = strlen( STRING ).
      LEN = 0.
      NUM = 0.
      while len < len1.
        i = STRING+len(3).
        move i to x.
        assign x to <fc> casting type c.
        move <fc> to c.
        MOVE C TO STRING1+NUM.
        len = len + 3.
        NUM = NUM + 1.
      endwhile.
    ENDFORM.                    " TRANSLATE_FIELD
    Thanks
    Ariel

    Hi.
    I want to make this small code UC enabled. Since there is a move of TYPE x into char this is not OK at the mopment.
    the problem is I don't really know or understand how to convert itr to UC enabled program.
    You can notice it takes clusters of 3 chars (bytes ?) long and convert them to char.
    For example 101 = e 100 = d 099 = c.... :-> 101099101 -> ece .
    Thanks
    Ariel

  • Dbx cannot locate the (DLM) source codes correctly for 64bit app

    It's hard for me to prepare a test case. Because it seems for a simple "hello world" it works.
    The reason I raise this issue here is because my project was recently upgraded to compile with 64bit. And since then dbx cannot locate the source codes correctly, especially for some DLM codes. (sometimes it shows to "/usr/include/iso/..." which it should never be!). While it works fine on a 32bit compiled mode.
    Did anyone experience the similar situation and can share your idea?
    Thanks in advance.

    Can't think of any good reason why going to 64 bit would confuse dbx (except for unknown bug in dbx, which is not impossible).
    I'd first look for changes in your build - for example, 32-bit code used to go to bin/ directory, but 64-bit goes to bin/sparcv9, which happens to be a symlink somewhere else or something like that. Symlinks might sometimes confuse dbx, please read
    (dbx) help finding-filestopic (in dbx console, type "help finding-files").
    Since you are using CC 5.9 that generates DWARF info by default, location and even presence of .o files is not important. All debug info should be in the shared library itself.
    Here's another idea: inspect DWARF info by hand and see if it looks correct to you.
    $ dwarfdump a.out | lessLook for
                    DW_AT_name                  a.ccand
                    DW_AT_comp_dir              /home/maxim/tempThose two should give location of source file (/home/maxim/temp/a.cc in my case). Maybe this will give you some clue.

  • Causes of ORA-01200: actual file size of x is smaller than correct size n ?

    Hello everyone
    We are running Oracle 11.2.0.3 64-bit E/E on Oracle Linux 6.2 with UEK R2 on X64.
    Using Grid and ASM 11.2.0.3 and OMF names.
    The database files are alll on SAN, the SAN vendor name not disclosed here to protect the innocent/guilty 8^)
    I have a Test database MYDB (in NOARCHIVELOG mode) and after a normal server reboot, not a crash, the following error occured on Oracle database startup.
    srvctl start database -d MYDB
    PRCR-1079 : Failed to start resource ora.mydb.db
    CRS-5017: The resource action "ora.mydb.db start" encountered the following error:
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: '+ASMDATA/mydb/datafile/system.256.787848913' <<<<<<<<<<---------------------------------------------------- Corrupt file on ASM disk, system tablespace this time
    ORA-01200: actual file size of 94720 is smaller than correct size of 98560 blocks <<<<<<<<<<---------------------------------------------------- ERROR message
    The ASM disks are all up and disk groups are mounted OK. The ASM protection level is EXTERNAL.
    My understanding that the only proper recovery from the above error is to use RMAN Restore Database/File/Tablespace.etc (and then RMAN Recover, when in ArchiveLog mode).
    I do have RMAN disk backups, so I don't need to "patch" the database to recover.
    This is not my question at this point in time.
    My Question is this : what are the most likely causes of such error?
    Oracle Database bug? OS bug? Disk driver error? Server hardware failure (bus, memory, etc)? Or a SAN bug?
    I expect that Oracle 11g R2 will always come up with the database "clean" if the server reboots or if server crashes (i.e. due to complete power failure) provided the actual storage is not physically damaged.
    Our SAN vendor (no names!) says they are of the opinion that it's most likely Oracle database or Oracle Linux 6.x/UEK software bug, or probably Oracle ASM 11.2 bug.
    We have opened a support call with Oracle.....
    My personal experience dealing with similar database errors on more recent releases of Oracle (9i R2, 10g R2, 11g R2) and also MS-SQL 2005 and 2008 R2 suggests this kind of a problem is most likely related to errors/bugs in storage/drivers/firmware/BIOS and SAN and not likely to be a 'database' or O/S bug.
    Perhaps you, good people on this forum, can share their experiences, as unbiased as you can?
    Many thanks

    Ive seen Ora-1200 twice I think over the years, both times there was disk problems which led to write issues which caused file problems, youve reported no such issues on your side though so if thats actually true, Im thinking bug.

  • SNOTE (Note Assistant) list expected "source code corrections" of a note?

    Is it possible, in current versions of SNOTE, to print the "source code corrections" that the note is supposed to contain?
    This was possible in "good old OSS" and also, I think, in early versions of SNOTE.
    Why do I ask?
    Sometimes you have a note that SNOTE cannot handle by itself. You must then open the "splitscreen editor" and guide SNOTE through the process.
    In such cases I like to have a listing, on paper, of the expected changes, so that I keep some overview and that I can check the corrections as I go through them.

    I have found a second possibility - the following little program based on some code found in the 4.6C implementation of SNOTE.
    report  zztmp_snote_displ line-size 080.
    type-pools bcwbn.
    parameter p_note like cwbnthead-numm.
    data gs_note type bcwbn_note.
    start-of-selection.
      clear gs_note.
      select numm versno
        from  cwbnthead
        into (gs_note-key-numm,gs_note-key-versno)
             where  numm        = p_note
             and    incomplete  = space
             order by primary key.
      endselect.
      if not ( gs_note-key is initial ) .
        call function 'SCWB_NOTE_READ'
          exporting
            iv_read_attributes                = 'X'
            iv_read_short_text                = 'X'
            iv_read_all_texts                 = 'X'
            iv_read_validity                  = 'X'
            iv_read_corr_instructions         = 'X'
            iv_read_customer_logfile          = 'X'
            iv_use_fallback_languages         = 'X'
            iv_read_loghndl                   = 'X'
            iv_read_fixes                     = 'X'
            iv_read_customer_attributes       = 'X'
    *   IV_READ_READ_BY_USER              = ' '
    *   IV_READ_SOL_MGR_REFERENCE         = ' '
    *   IV_READ_SAP_STATUS                = ' '
          changing
            cs_note                           = gs_note
          exceptions
            note_not_found                    = 1
            language_not_found                = 2
            unreadable_text_format            = 3
            corr_instruction_not_found        = 4
            others                            = 5
        if sy-subrc eq 0.
          call function 'SCWB_NOTE_DISPLAY'
            changing
              cs_note = gs_note.
        endif.
      endif.

  • Firefox on 2 independant laptops, not reading website source code correctly, when all correct on Chrome and IE.

    Rebuilt my website in Serif WebPlus X6.<br />
    Using Google Chrome or Internet Explorer the site is displayed correctly as is the source code.<br />
    In Firefox 18.0.1 Code is being read wrongly. Cleared Cache and fault still there. Checked in Wifes laptop – still the same fault on her Firefox and okay on Chrome and IE.<br />
    Code should read - span class="Body-C-C9">“Why won’t the doctors listen”?<pre><nowiki></span></p>
    But firefox is showing - span class="Body-C-C9">“Why won’t the doctors listen”?</span></p></nowiki></pre>
    There are further similar faults throughout the website.<br />
    Why is Firefox not reading the code correctly?<br />
    Please help.

    That is an encoding issue.<br />
    It looks that the page is in UTF-8 Unicode and the server sends this page as a Western or Windows encoding.<br />
    So you see the Unicode characters as the individual bytes that they consist of.
    You can inspect this in Tools > Page Info > General and you can also use the Web Console (Web Developer > Web Console;Ctrl+Shift+K) to check the response header.<br />
    If the server sends a content type via the HTTP response headers then Firefox doesn't honor a meta tag in the file or otherwise switch the encoding.
    *https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types

  • ORA-01200: actual file size of 437759 is smaller than correct size of 43776

    Hi,
    I am getting the following unexpected errors while going to create CONTROL files after successful completion of offline/online oracle backup RESTORE (of PRD system) on Quality system. We are following Database specific system copy method to do the same.
    All the required pre & post restore activities for the same were carried out. Even the same RESTORE activities are performed with different different online/offline backups of PRD system to do such system copy. But, the thing is stuck at control file creation step with the following same error which is seen again & again after every DB restore operation.....
    SQL> @/oracle/AEQ/saptrace/usertrace/CONTROL.SQL
    ORACLE instance started.
    Total System Global Area 4714397696 bytes
    Fixed Size                  2050336 bytes
    Variable Size            2365589216 bytes
    Database Buffers         2332033024 bytes
    Redo Buffers               14725120 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "AEQ" RESETLOGS  ARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01200: actual file size of 437759 is smaller than correct size of 437760 blocks
    ORA-01110: data file 4: '/oracle/AEQ/sapdata1/sr3_1/sr3.data1'
    At OS level the file size of sr3.data1 is found 3586129920 bytes (= 437760 * 8192 bytes).
    host1:oraaeq 20> cd /oracle/AEQ/sapdata1/sr3_1
    host1:oraaeq 21> ll
    total 7004176
    -rw-r--r--   1 oraaeq     dba        3586129920 May 11 02:26 sr3.data1
    The above mentioned error is coming for all 294 data files. The reported file size difference is only of 1 Block in all data files. The DB block size is 8192 bytes.
    Environment: (for SAP QUALITY & PRD systems)
    OS: HP_UX ia64 B.11.23
    SAP System : SAP ECC 6.0
    Database: Oracle 10.2.0.2.0
    Your help for this reported issue will be highly appreciated.
    Regards,
    Bhavik G. Shroff

    Hi,
    Thanks for your response.
    We already have tried the same whatever you have mentioned as suggestions in ur last post .
    We already tried to extend all 294 data-files as mentioned in that oracle forum link.
    Its not the recommended way to play with data-files in such a way  as it can lead to other unnecessary errors.
    We have seen the following errors after successful creation of control file by manually extending all those 294 files (it was around 10hrs job).
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-00332: archived log is too small - may be incompletely archived
    ORA-00334: archived log: '/oracle/AEQ/oraarch/AEQarch1_268984_629943661.dbf'
    have you tried also restoring init<SID>.ora file from PRD to new system.
    I think its not having relationship with control file generation. Both systems are having same init files with respective SIDs.
    Did you find any other points in your further investigation ?
    I am thinking to perform Fresh SAP System Installation with same SID (AEQ) and then will try to do Database Restore again with last offline backup of AEQ system.
    Regards,
    Bhavik G. Shroff

  • How  can i run this code correctly?

    hello, everybody:
        when  i run the code, i found that it dons't work,so ,i  hope somebody can help me!
        the Ball class is this :
        package {
        import flash.display.Sprite;
        [SWF(width = "550", height = "400")]
        public class Ball extends Sprite {
            private var radius:Number;
            private var color:uint;
            private var vx:Number;
            private var vy:Number;
            public function Ball(radius:Number=40, color:uint=0xff9900,
            vx:Number =0, vy:Number =0) {
                this.radius= radius;
                this.color = color;
                this.vx = vx;
                this.vy = vy;
                init();
            private function init():void {
                graphics.beginFill(color);
                graphics.drawCircle(0,0,radius);
                graphics.endFill();
    and the Chain class code is :
    package {
        import flash.display.Sprite;
        import flash.events.Event;
        [SWF(width = "550", height = "400")]
        public class Chain extends Sprite {
            private var ball0:Ball;
            private var ball1:Ball;
            private var ball2:Ball;
            private var spring:Number = 0.1;
            private var friction:Number = 0.8;
            private var gravity:Number = 5;
            //private var vx:Number =0;
            //private var vy:Number = 0;
            public function Chain() {
                init();
            public function init():void {
                ball0  = new Ball(20);
                addChild(ball0);
                ball1 = new Ball(20);
                addChild(ball1);
                ball2 = new Ball(20);
                addChild(ball2);
                addEventListener(Event.ENTER_FRAME, onEnterFrame);
            private function onEnterFrame(event:Event):void {
                moveBall(ball0, mouseX, mouseY);
                moveBall(ball1, ball0.x, ball0.y);
                moveBall(ball2, ball1.x, ball1.y);
                graphics.clear();
                graphics.lineStyle(1);
                graphics.moveTo(mouseX, mouseY);
                graphics.lineTo(ball0.x, ball0.y);
                graphics.lineTo(ball1.x, ball1.y);
                graphics.lineTo(ball2.x, ball2.y);
            private function moveBall(ball:Ball,
                                      targetX:Number,
                                      targetY:Number):void {
                ball.vx += (targetX - ball.x) * spring;
                ball.vy += (targetY - ball.y) * spring;
                ball.vy += gravity;
                ball.vx *= friction;
                ball.vy *= friction;
                ball.x += vx;
                ball.y += vy;
    thanks every body's help!

    ok, thanks for your reply ! I run this code in the Flex builder 3!and the Ball class and the Chain class are all in the same AS project!
      and i changed the ball.pv property as public in the Ball class, and  the Chain class has no wrong syntactic analysis,but the AS code don't run.so this is the problem.
    2010-04-21
    Fang
    发件人: Ned Murphy <[email protected]>
    发送时间: 2010-04-20 23:01
    主 题: how  can i run this code correctly?
    收件人: fang alvin <[email protected]>
    I don't see that the Ball class has a pv property, or that you even try to access a pv property in the Chain class.  All of the properties in your Ball class are declared as private, so you probably cannot access them directly.  They would need to be public.  Also, I still don't see where you import Ball in the chain class such that it can use it.

  • How to create multi node /data Tree by using few loops or small code

    HI.
    I WANT TO CREATE A TREE WHICH IS HAVING MULTI NUMBER OF NODE LEVEL (USER HAVE THE ABILITY TO CREATE AS MANY AS REQUIRED NODE LEVEL OR SUBLEVEL). HOW CAN I POPULATE THE TREE WITH SMALL CODE. AS EVERY NODE LEVEL NEED ON NESTED LOOP. SO HOW CAN I MANAGE TO POPULATE THE NODE WITH FEW LOOPS. OR THERE IS ANY OTHER WAY TO MANAGE THIS PROBLEM.
    THANKS

    Hi ,
    I am trying to do the job , but i do not understand where
    is the problem with my loop , i am sending it , could you
    see it , and sujjest me , what to do. or if you have time
    can you write the code for me. as i am very much needy for
    this job.
    The Table is as:-
    CREATE TABLE TREE_01(
    RECORD_NO NUMBER(10), --
    OWN_CODE VARCHAR2(10),
    PARENT_NO NUMBER(10),
    PARENT_CODE VARCHAR2(10),
    LEVELL NUMBER(4),
    DEPT NUMBER(6),
    CONSTRAINT RNO_PK PRIMARY KEY(RECORD_NO));
    INSERT INTO TREE_01 VALUES(1,'1',0,'0',2,8540);
    INSERT INTO TREE_01 VALUES(2,'2',0,'0',2,8540);
    INSERT INTO TREE_01 VALUES(3,'3',0,'0',2,8540);
    INSERT INTO TREE_01 VALUES(4,'4',0,'0',2,8540);
    INSERT INTO TREE_01 VALUES(5,'1',1,'0',3,8540);
    INSERT INTO TREE_01 VALUES(6,'2',1,'0',3,8540);
    INSERT INTO TREE_01 VALUES(7,'3',1,'0',3,8540);
    INSERT INTO TREE_01 VALUES(8,'1',3,'0',3,8540);
    INSERT INTO TREE_01 VALUES(9,'2',3,'0',3,8540);
    the loop shoud look like
    |_DataProcessing
    | |+Work_orders
    | |_Programmers File
    | | |_James
    | | | |+Requests
    | | | |+Leves
    | | | |_Projects
    | | | |_Projects001
    | | |+Steven
    |+HealthCare
    |+Transportation
    So the loop should be such that it can be go to any level of any node.
    the Code i writter is As follows.
    The Following Procedure is called in form leve
    When new forms instance.
    PROCEDURE REFRESH_TREE2 IS
    CURSOR CUR_DEPT IS
         SELECT DEPT
         FROM TREE_01 GROUP BY DEPT;
    CURSOR CUR_LOOP1(PARENT1 NUMBER,LEVEL1 NUMBER) IS
         SELECT RECORD_NO,
         OWN_CODE,
         PARENT_NO,
         DEPT ,
         PARENT_CODE,
         LEVELL
         FROM TREE_01
         WHERE LEVELL=LEVEL1
         AND RECORD_NO=PARENT1;
    CURSOR CUR_LOOP2(PARENT2 NUMBER,LEVEL2 NUMBER) IS
         SELECT RECORD_NO,
         OWN_CODE,
         PARENT_NO,
         DEPT ,
         PARENT_CODE,
         LEVELL
         FROM TREE_01
         WHERE LEVELL=LEVEL2
         AND RECORD_NO=PARENT2;
    CURSOR LEVEL(PARENTNO NUMBER) IS
         SELECT LEVELL FROM TREE_01 WHERE PARENT_NO=PARENTNO
         ORDER BY RECORD_NO;
         V_I NUMBER;
         V_IGNORE NUMBER;
         RG_DEPT RECORDGROUP;
         RG_CABI RECORDGROUP;
         V_INIT_STATE GROUPCOLUMN;
         V_LEVEL GROUPCOLUMN;
         V_LABEL GROUPCOLUMN;
         V_ICON GROUPCOLUMN;
         V_VALUE GROUPCOLUMN;
         V_CHANGE_VALUE VARCHAR2(20);
         V_CHANGE_VALUE1 NUMBER(3);
         V_CHANGE_VALUE2 NUMBER(3);
    V_LEVEL_COUNT NUMBER;
    BEGIN
         SELECT MAX(LEVELL) INTO V_LEVEL_COUNT FROM TREE_01;
         RG_DEPT:=FIND_GROUP('DEPT');
         if not id_null(RG_DEPT) then
    delete_group(RG_DEPT);
    end if;
         RG_DEPT:=create_group('DEPT');
         V_INIT_STATE := add_group_column(RG_DEPT, 'INIT_STATE', NUMBER_COLUMN);
         V_LEVEL :=ADD_GROUP_COLUMN(RG_DEPT,'LEVEL',NUMBER_COLUMN);
         V_LABEL :=ADD_GROUP_COLUMN(RG_DEPT,'LABEL',CHAR_COLUMN,40);
         V_ICON :=ADD_GROUP_COLUMN(RG_DEPT,'ICON',CHAR_COLUMN,20);
         V_VALUE :=ADD_GROUP_COLUMN(RG_DEPT,'VALUE',CHAR_COLUMN,15);
         V_I :=1;
         FOR DEPTREC IN CUR_DEPT LOOP
         ADD_GROUP_ROW(RG_DEPT,V_I);
         SET_GROUP_NUMBER_CELL(V_INIT_STATE,V_I,1);
         SET_GROUP_NUMBER_CELL(V_LEVEL ,V_I,1);
         SET_GROUP_CHAR_CELL(V_LABEL ,V_I,FILING.ELOOK_IT(11,0,DEPTREC.DEPT));--MAIN_MINOR));
         SET_GROUP_CHAR_CELL(V_ICON ,V_I,NULL);
         SET_GROUP_CHAR_CELL(V_VALUE ,V_I,TO_CHAR(DEPTREC.DEPT)); --MAIN_MINOR));
         V_I:= V_I +1;
         V_CHANGE_VALUE := DEPTREC.DEPT;
         FOR I IN 1..V_LEVEL_COUNT LOOP
         FOR DEPTREC1 IN CUR_LOOP1(V_CHANGE_VALUE,I) LOOP --MAIN_MINOR,I) LOOP
         ADD_GROUP_ROW(RG_DEPT,V_I);
         SET_GROUP_NUMBER_CELL(V_INIT_STATE,V_I,1);
         SET_GROUP_NUMBER_CELL(V_LEVEL ,V_I,I);
         SET_GROUP_CHAR_CELL(V_LABEL ,V_I,DEPTREC1.RECORD_NO);
         SET_GROUP_CHAR_CELL(V_ICON ,V_I,NULL);
         SET_GROUP_CHAR_CELL(V_VALUE ,V_I,DEPTREC1.RECORD_NO);
         V_I:= V_I +1;
         SELECT count(LEVELL) INTO V_CHANGE_VALUE1
    FROM TREE_01
    WHERE RECORD_NO=DEPTREC1.RECORD_NO
         AND PARENT_NO=DEPTREC1.PARENT_NO
         AND LEVELL=DEPTREC1.LEVELL;
         SELECT MAX(LEVELL) INTO V_CHANGE_VALUE2
         FROM TREE_01
         WHERE RECORD_NO=DEPTREC1.RECORD_NO
         AND PARENT_NO=DEPTREC1.PARENT_NO
         AND LEVELL=DEPTREC1.LEVELL;
              FOR j IN 1..V_CHANGE_VALUE1 loop
              FOR LVL IN LEVEL(DEPTREC1.RECORD_NO) LOOP
              FOR DEPTREC2 IN CUR_LOOP2(DEPTREC1.RECORD_NO, LVL.LEVELL) LOOP
         ADD_GROUP_ROW(RG_DEPT,V_I);
         SET_GROUP_NUMBER_CELL(V_INIT_STATE,V_I,1);
         SET_GROUP_NUMBER_CELL(V_LEVEL ,V_I,LVL.LEVELL);
         SET_GROUP_CHAR_CELL(V_LABEL ,V_I,DEPTREC2.RECORD_NO);
         SET_GROUP_CHAR_CELL(V_ICON ,V_I,NULL);
         SET_GROUP_CHAR_CELL(V_VALUE ,V_I,DEPTREC2.RECORD_NO);
         V_I:= V_I +1;
         V_CHANGE_VALUE := DEPTREC2.RECORD_NO;
                   end loop;
         end loop;
         END LOOP;
         END LOOP;
         END LOOP;
         END LOOP;
         ftree.set_tree_property('NAVIGATOR.NAV_DISPLAY',ftree.record_Group, rg_dept);
         end;

  • Writing a small code in HANA

    Hi,
    I am interested in HANA ..I am totally new to this side ..
    I read all papers on HANA .Theoretically I know HANA mostly but wants to taste by practically .
    Please can somebody tell me the steps to write a small code on this ??
    What tool is required...whether tool is free ...how can I use this tool ...
    Please do the needful and guide me .
    -Ashwini

    Hi Aswinin,
    You can get 30 days free HANA trail . There you can try the theory part you learned .. Welcome to HANA , Enjoy it
    scn.sap.com/docs/DOC-28191
    Sreehari

  • I have an itunes gift card which I cannot redeem.  I enter the code correctly and am prompted to sign in over and over again.  I have tried resetting the iPhone but the laptop I had itunes on is broken, is there another way?

    I have an itunes gift card which I cannot redeem.  I enter the code correctly and am prompted to sign in over and over again.  I have tried resetting the iPhone but the laptop I had itunes on is broken, is there another way?

    See this support article:
    http://support.apple.com/kb/TS1292
    If you can't get to work after perusing that page, contact the iTunes Store Support; instructions are at the bottom of that article.
    Good luck.

  • TS1292 I am having trouble with my iTunes Gift card code. It says I have not entered the code correctly when I have-repeatedly. How can I redeem my iTunes voucher?

    I am having trouble with my iTunes Gift card code. It says I have not entered the code correctly when I have…repeatedly. How can I redeem my iTunes voucher?

    If the card was issued in the same country as you and your account are based and the page that you posted from doesn't help, then you will need to try contacting iTunes Support (you will probably need to give them images of the front and back of the card, and possibly its receipt) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • Phone shuts down. sim code correct.

    I turned my phone off at the airport and somehow(???) got my sim code wrong 3 times. Even tho when it asked me to put in sim, and it was correct, it refused to operate. It got to a point of ' Phone is disabled. Connect to itunes. I had a tech guy from an Apple store in Byron Bay restore it but it has done same again and again. It is my business phone so HELP!!!
    Its only 2years old.

    Viborg wrote:
    This is not a battery issue because the phone is being charged while driving.
    Only if you have chosen 2D raher than 3D, as output of CR-200 only 750mA which is not enough if number of background applications running!
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Firefox is not displaying alt codes correctly, substituting a black diamond with a white question mark in their place.

    Alt codes (such as &#174; for "registered" and &#153; for "trademark") are being displayed as a small black diamond with a white question mark inside of it. This has also started happening to more simple characters such as exclamation marks, dashes and apostrophes.
    Any ideas?

    Thanks for your reply cor-el.
    My posting actually included the alt code syntax, and is now rendered as the corresponding special character. I guess this isn't a surprise!
    And no, it was rendered just fine. This morning when I went into the browser to see the problem, it was not mis-displaying as it had been...it had somehow changed and was behaving very nicely. That's all fine, but I'm a little bit wary of this FF browser functionality now...steady as she goes.
    Also, I did check the (View > Character Encoding) you recommended, and after experimenting a bit discovered that using "Unicode (UTF-8)" made the wierd black diamond/white question mark character come back in all of the same places it was occuring...up until this morning. I've set my browser default to "Western (ISO-8859-1)" now, and everything is displaying as it should.
    Thanks for your reply and suggestions. I hope others will learn from these experiences.

  • How do I combine two actions in code correctly?

    I figured out how to create my  playback controls, however I still have a problem.  I want to have an  additional button that links to a website (I have coded this correctly  with actionscript and works great.  Now I have two seperate  projects...one project has my playback controls and the other has a  button that links to a website.
    I am having problems combining both action  script codes and having everything working properly.  My code for each  is below.  How do I arrange them into one?
    Code for link to website:
    website_btn.addEventListener(MouseEvent.CLICK,gotoWebsite);
    function  gotoWebsite(evtObj:Event):void{
        var theSite:URLRequest =  new URLRequest("http://www.website.com");
         navigateToURL(theSite,"_blank");
    Code  for playback controls:
    go.addEventListener(MouseEvent.CLICK,startplaying);
    hault.addEventListener(MouseEvent.CLICK,stopplaying);
    function  startplaying(event:MouseEvent):void{
        play();
    function  stopplaying(event:MouseEvent):void{
        stop();

    the only way that could make sense is to use:
    go.addEventListener(MouseEvent.CLICK,startplaying);
    hault.addEventListener(MouseEvent.CLICK,stopplaying);
    function  startplaying(event:MouseEvent):void{
        play();
    var theSite:URLRequest =  new URLRequest("http://www.website.com");
         navigateToURL(theSite,"_blank");
    function  stopplaying(event:MouseEvent):void{
        stop();
    var theSite:URLRequest =  new URLRequest("http://www.website.com");
         navigateToURL(theSite,"_blank");

Maybe you are looking for

  • Trying to understand context indexes and contains-help

    Hi i am using Achieving functionality of many preferences using one context index to understand context indexes and contains and i get the following Error starting at line 1 in command: begin ctx_ddl.create_preference ('nd_mcds', 'multi_column_datast

  • Missing content, again!

    I don't get this! As an administrator of 15 workstations I keep getting this 'missing content' info. With the 10.07 update everything was downloaded and installed. 'Download additional content' is greyed out. So, nothing much to do here, right? But t

  • Who is the author of java.lang.Object

    The biggest mystery for me in Java still exists as to who really coded the mother of all classes java.lang.Object. Here�s what the source of it says in JavaDocs * Class <code>Object</code> is the root of the class hierarchy. * Every class has <code>O

  • Photoshop elements stops installing at organizer, why?

    My computer is a windows 7 computer on which, about a couple of months ago my old versions of Photoshop Elements and Photoshop stopped working after a major windows 7 update. I deleted both of them. I bought Photo Shop Elements 12 and have tried seve

  • Cant use Napster to go and zen micro windows explor

    If i want to use my napster to go and have to use firmware --02, but if I want to use zen micro win explorer it wont recog. my device so I have to upgrade to firmware -2-05 erasing all my dl songs from napster....what i want to do is use my zen micro