To retrieve the vector objects randomly

Hai all,
How can i retreive the vector objects randomly,not in the order.Thanks in advance.

In 1.6 the Collections class has cool stuff! like sort... and Vector was enhaced to support List.... There's even an example in the tutorial. I do Luv java sometimes :-)
There where good examples in the old 1.4/5 tutorials, which is not available from Sun any longer, but there are still a mirrors hanging around... google hard.
Keith.

Similar Messages

  • How to retrieve the java object in a proxy service in osb -- Plz help

    Hi all,
    I have a singleton java class which runs whenever the weblogic server gets started and store the output in its object. I need to access this java object from a proxy service in osb.
    We tried using java call out and retrieved that object but we couldn't know how to parse that object into XML.
    We are not sure of using the java call out in osb to solve this purpose because whenever we use a java callout, that particular java code will run which is not the case of singleton class.
    So kindly help us how to retrieve the java object which holds the output without running the java code every time because its already run and holding the output in its object.
    Regards
    Prabhu

    here the doc http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html#wp1106656
    but I guess you are already at the stage of getting a POJO in a first Java Callout and passing the POJO to a second Java Callout, which should then return it to OSB as a XMLObject.
    My recommendation is to write a Java function which returns a XMLObject and uses a XMLCursor to populate it with the values of the POJO.
    An XMLObject returned to the OSB is automatically transformed in a "XML" variable (which in reality is represented as a XMLObject in the Pipeline context)
    Here some code sample:
    http://www.javamonamour.org/2010/09/how-to-create-xmlobject-using-xmlcursor.html

  • Fm or metod that retrieve the lock object name from the table name

    HI ALL,
    there is FM or method that retrieve the lock object name from the table name ?
    Best regards
    Nina

    CALL FUNCTION 'ENQUEUE_REPORT'            
    EXPORTING                                
    gclient                     = sy-mandt   
    gname                       = 'RCTMV'         "Table Name
      GTARG                       = ' '       
      GUNAME                      = SY-UNAME  
    IMPORTING                                 
      number                      =           
      SUBRC                       =           
      TABLES                                  
        enq                         =  lt_seqg3
    EXCEPTIONS                               
       communication_failure       = 1        
       system_failure              = 2        
       OTHERS                      = 3

  • How to use the opportunity stub classes to retrieve the opportunity objects

    Hello ,
    I have downloaded WSDL file for opportunity and i have created the stub classes by using axis as WSDL to java. Can any body suggest me , how can i use those created stub classes to retrieve the opportunity objects ?.
    Thanks,
    --bdr_09
    Edited by: bdr on Feb 3, 2009 1:54 AM

    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Tools8.html#63055

  • Cannot retrieve all vector objects - reading only last line .. Please help

    <pre>
    When I test the vector in the method that adds the elements, each line is returned. Testing the vector in the method getData(), all items are returned within the while loop, but the test returns only the last line of in the vector. Can anyone help me out and let me know what I'm doing wrong.
    Here's a summary of what I'm doing and the code follows.....
    My bean class:
    - creates a vector and adds several lines to the vector
    - using StringTokenizer and Enumeration, parses the data and checks to see if the line has the required amount of tokens (which is 4). If so, then the string is passed to my main class
    In the main class, the string is parsed into its appropriate attribute and then the required ones are displayed in the browser.
    //Vector class bean
    public SpecBean()
    public Vector addData()
    vecdata.addElement ("3|4||");
    vecdata.addElement ("2|3||1200");
    vecdata.addElement ("1|2|Q|");
    vecdata.addElement ("4|2|U|4356");
    return vecdata;
    public String getData()
    StringTokenizer st;
    String record = new String();
    Enumeration enumdata = vecdata.elements();
    while (enumdata.hasMoreElements())
    record = enumdata.nextElement().toString();
    System.out.println (record);
    st = new StringTokenizer( record, "|");
    int numberOfTokens = st.countTokens();
    if (numberOfTokens < 4)
    record = "Incomplete Data";
    return record;
    // end class...
    //begin main class -- this is a servlet which is why the
    //out.println statements are there
    try {
    SpecBean specs = new SpecBean();
    specs.getItemListing();
    token = new StringTokenizer ((String)specs.getData(), "|");
    out.println ("<table width=\"100%\" border=1>");
    out.println("<tr>");
    out.println ("<td width=\"40%\">");
    while (token.hasMoreTokens())
    String id = token.nextToken();
    String orderNum = token.nextToken();
    String name = token.nextToken();
    String confNum = token.nextToken();
    out.println (title + "</td>");
    out.println ("<td width=\"20%\" align=\"right\">" + "$" + price + "</td>");
    out.println ("<td width=\"40%\">" + notes);
    //end main class
    Thank you.

    <pre>
    My apologies. What I was looking to do was return EVERY line from the vector that had an equivalent of 4 tokens and no less. I just realized that the sample data I had entered into the vector only had one line w/ 4 tokens. When this is modified and there are 2+ lines that contain 4 tokens, the only line that is retrieved is the very last line. So if the data in the vector was:
    public Vector addData()
    vecdata.addElement ("3|4|rtd|222");
    vecdata.addElement ("2|3||1200");
    vecdata.addElement ("1|2|QsT|");
    vecdata.addElement ("4|2|U|4356");
    return vecdata;
    public String getData()
    StringTokenizer st;
    String record = new String();
    Enumeration enumdata = vecdata.elements();
    while (enumdata.hasMoreElements())
    record = enumdata.nextElement().toString();
    System.out.println (record);
    st = new StringTokenizer( record, "|");
    int numberOfTokens = st.countTokens();
    if (numberOfTokens < 4)
    record = "Incomplete Data";
    return record;
    The output to the browser is
    4 2 U 4356
    and not
    3 4 rtd 222
    4 2 U 4356
    I did some print statements throughout addData() and getData() to see if all of the objects in the vector were still there and everything checked out until I hit the end of the getData(). Before 'return record' the print statement returned '4 2 U 4356' only. I'm not sure what I have missed to have the getData() method return only one matching line and not all of them.
    Your help is appreciated. Thank you.

  • Retrieving the view object associated to an entity

    Hi,
    Is there any way to retrieve the ViewObjectImpl or the ViewRowImpl that holds the instance of a particular EntityImpl.
    I'm doing some operations an EntityImpl instance, and I need to refresh the view that holds that instance. How can I retrieve it ?

    Dwarven,
    There may be many View Objects associated with a given entity object. You can determine programatically which EO's are referred to by a given VO, but not to my knowledge, the other way around.
    John

  • Can the vector object created by adobe shape doewloaded from creative cloud in any kinds of format like pdf but not jpg?

    i want the vector files can be edit in illustrator , so  does anyone know how to dowload as a vector object?

    i want the vector files can be edit in illustrator , so  does anyone know how to dowload as a vector object?

  • How do I prevent the Darker Shade Box (color shift) around Vector Objects when Printing

    Sorry in advance for the novelette. I am absolutely mystified and frustrated and would love some help! I've been working on this problem for about 30 hours over the last 4 days to figure out what the heck is happening and cannot find an answer through various forms of research.
    Basically, when I print a JPEG, I am getting this area (a box) of darker shaded coloring around my heart and love text.  I've tested it a million different ways and am at a loss as to what the problem is ... is it an application problem, a color profile problem between my applications and printer, an improper way that I saved my file, etc.
    Here is a photo I took of the image printed out (so it is slightly skewed from camera distortion):
    The details:
    (1) I create graphic art and sell it online. I save all of my printable art as JPEG files because of my customer base (diy hobbyists that print on their home printers without much knowledge base nor graphic design software).
    (2) I use both Adobe Illustrator (AI) and Photoshop Elements 11 (PSE11) to design and save my artwork.
    (3) I insert JPEG images into Microsoft Word 2003 documents to "test print" since most of my customers use home printers to print. Since most people have this basic software, it is a good gauge of the kind of print out they might get using the same or similar software.
    (4) My PSE11 color profile setting is the default sRGB. I have test printed many times and I get the truest colors with this color profile.
    (5) My AI color settings are normally also an sRGB color mode, but on occasion, I use a CMYK color mode if I am creating a larger document that I know the customer will need to take to a professional printer to print out.
    (6) I do my home printing (for proofs) on an Epson Stylus Photo 1400 (which has the 6 color ink cartridges).
    (7) Until this printing problem occurred on this test print out, I always used the "photo enhance" option when I designate settings for my printer via the Microsoft Word documents.
    IMPORTANT: This is when I have the color shift?? or color rendering issues?? and it is the only time. If I use the regular ICM/ICC color profile of sRGB, the printing issue doesn't occur. Instead, I have a solid color background instead of this one with the strips of lighter color on the top and bottom.  However, I can't control how the customer prints, so I need to feel confident that whatever color profile setting they use, they will not run into this problem.  I even test printed the documents over at FedEx and the darker box/color shift did not occur.
    (8) The document in question only has 3 sets of objects: the heart, the solid colored rectangle colored background and the text.  All 3 objects are vectors, they are at 100% opacity and there are no "special effects" applied.
    (9) The image was entirely created in AI this time and exported as a maximum quality JPEG file, although you will see below that I tried many ways to create and save the file so that I didn't have the color band borders on top/bottom.
    (10) I regularly use AI for part of my art, then I drag it to my PSE11 open document and it becomes a Vector Object (it cannot by copying/pasting into a PSE11 document).  I also regularly export AI images as PNG files, then insert them into an open PSE11 document. This printing issue has not occurred until recently.  Here is an example of a very complex AI image I created, then inserted into PSE11 just to add the background (the Teddy Bear and books are AI vector objects) that were exported as PNG files then inserted into PSE11 to integrate with the background image - I test printed with Photo Enhance and had no printing issues:
    So, from the research I have done, it looks like it is a color rendering or color space issue with conflicting color profiles in the same document. I checked my color profile settings and both sRGB and CMYK were set to embed ICC color profiles.
    I tried changing AI settings to Preserve Numbers (ignore linked profiles) for CMYK, but that didn't work.
    I also checked and made sure that not only the document setup showed the sRGB color profile, but that all the objects within the document also were converted to sRGB as well for consistency. That didn't work.
    I tried converting the document to CMYK along with the vector objects. That didn't work.
    I tried saving the heart image as a PNG file alone, the "love" text as a PNG file alone, both the heart and text together as a PNG files alone. Once saved as PNG files, I inserted them into an open empty PSE11 document - as I normally do. I then added the background color I wanted. That didn't work - the print still showed the color changes.
    I tried dragging each vector object separately and even as a group and got the same color change issue when printing.
    I tried "expanding" and "outlining" the text before exporting as JPEG, before exporting as a PNG and before dragging as a vector object into PSE11. Expanding the text did not help the situation.
    I tried exporting as Adobe PDF, then opening in PSE11, then resaving as JPEG. That didn't work.
    I tried flattening transparency (even though there is no transparency in the AI file). That didn't work.
    I tried rasterizing the image. That didn't work.
    Thinking that the file might be corrupt, I started from scratch and redesigned the same heart and love text.  Unfortunately, I had the same problem as before.  At this point, my AI started becoming buggy and would not open new files. It happened repeatedly and I decided it was best to uninstall and reinstall AI (and maybe that would fix the problem).
    I created just the heart in AI, then inserted it into an open PSE11 document (both after exporting as PNG and also by dragging as Vector Object from AI). It seemed to work. I could both drag the vector into PSE11 from AI and export from AI as a PNG, then insert into open PSE11 document with a background color - and it printed a solid background.
    So, I thought that reinstalling and setting back to defaults worked. But, then I added the love text around the heart and tried exporting as JPEG files and the same problem continued to recur. Whether I dragged as a Vector object into PSE11 (the heart object and love text separately and also another time with the vector objects dragged as a group) or saved them as PNG files and inserted into PSE11 - I got the different shades of color on what should be a solid background. I even tried saving the PSE11 as a PSD file first, then resaving as JPEG and I tried saving as PNG and printing and this didn't help solve the problem.
    I really think it is some color conflict issue but I can't figure it out. I am definitely not very knowledgeable about color profiles and how to sync all my devices, however, as I mentioned, this was not an issue until recently (and I think??? I recall changing the CMYK setting from Preserve Numbers to embed color profile a month or so ago - however, it should have been solved when AI went back to its defaults upon reinstall).
    The reason I believe it is a color rendering/color space issue is because I could see the color output when I saved the JPEG with CMYK color profile versus sRGB color profile and the sRGB colors were much richer, not surprisingly. The top and bottom colors matched the sRGB printout and the middle darker box section matched the CMYK printout.
    I am sure it is something fundamental or simple and I am completely overlooking it.  I wish it were just a transparency issue, because people know how to fix or do workarounds for it. But, there are no vector objects with any transparency ...
    If I missed some detail, I apologize. Any help would be a dream come true at this point! lol
    Thank you!

    Okay, I got motivated to try again.  From doing a bit more research on troubleshooting AI printing problems, the Adobe article talks about print drivers. It was advised to uninstall and reinstall the print driver if the printing issue persists. So, I did. Unfortunately, I still had the same result after reinstalling and trying a test print! Ugh.
    So, as Jacob said upfront, I seem to have an overactive print driver that is trying too hard (and it is a non-postscript printer which I realize is part of the problem).
    There are so many variables in my situation as to how I create art and save/export art. I sometimes work solely in AI, sometimes solely in PSE and sometimes I use both programs to create. Consequently, I will:
    (1) export directly from AI as JPEG if I am not adding PSE11 artwork.
    (2) export directly from AI as PNG  if I plan on inserting that image into PSE11 to add to artwork I have created in PSE11.
    (3) drag vector objects as a Smart Objects directly from AI to PSE11 to add to artwork I am creating in PSE11 if I know I will playing with the vector object and resizing in PSE11.
    So, I did a test print using scenario 2, where I inserted the heart and love text PNG (AI created vector object) into an old PSE11 document. This old document already had a vector object from AI with a solid background and I knew it printed correctly. So, after inserting this new PNG from AI into this old document, it printed correctly using the photo enhance mode.
    However, I haven't had a chance to actually create new art in the older AI files (that I know print properly), resave as something else and try another test print (either by exporting as JPEG and printing in Word or by exporting as PNG file and inserting into PSE11 document, then saving as JPEG and printing in Word).
    After testing the different possibilities of ICM settings within my printer, I found that the JPEG images printed out with the truest colors and best quality if I simply selected "no color management" from the printer. Shocker, huh? lol
    MY SOLUTION: So, what I think I will simply do is add an instruction sheet with the printables I sell, explaining that the color profile setting should never be handled by the printer so make sure to turn off color management by printer (and if they feel they must use the printer for color management, make sure the setting is sRGB since I embed that color profile in my JPEG's).
    Edited to add: Since my issue was never about how I could print a successful image (I knew I could simply change the color profile settings), but rather about how to make sure that customers would get consistent and high quality print outputs of my digital images, this seems like the best approach.
    I don't think I will every really know exactly why I am now getting color shifts in the "photo enhance" mode when I did not have this problem a couple months ago - applying the same methods of creating artwork. I was concerned that I was saving/exporting using incorrect or mismatched color settings or something of that nature.  However, since I went through the process of making my color spaces the same for everything, and I still have issue, clearly that is not the culprit. The only thing I can do to solve the problem and it is a straightforward solution anyway -> is to educate the buyer on how to print successfully (don't use photo enhance! ha ha).
    Thanks again to everyone who chimed in and offered advice!

  • Passing a Vector object as a parameter to a method

    Hi,
    How can I pass a Vector object as a parameter to a method?
      void buttonAdd_actionPerformed(ActionEvent e) {
        Vector studentHobbies = new Vector();
          String[] items = listHobbies.getSelectedItems();
          for (int i=0; i<items.length; i++) {
            studentHobbies.addElement(items);
    newStudent = new Student(Name,StudentNumber,studentHobbies);
    studentenlist.addTo(newStudent);
    So I want to pass the Vector object 'studentHobbies'  to a method.
    Would I do something like this :import java.util.Vector;
    public Student(String Name, int StudentenNumber, Vector studentHobbies){
    this.Name = Name;
    this.StudentNumber = StudentNumber;
    this.studentHobbies = StudentenHobbies;

    yes, thats how you do it.
    maybe you should first try your idea and then ask people questions?
    also, use ArrayList instead of Vector, its better - google as to why if you care.

  • Mysql Query VS Vector Object

    I run mysql query using Java, and the results of it are put in a vector object. Due to the vector object is made by 1 element (it's sure because I wrote the database) I'd like to take it and put it in a string variable, but Java returns me a lot of exceptions; here is the code:
    public Vector eseguiQuery(String query) {
         Vector v = null;
         String [] record;
         int colonne = 0;
         try {
            Statement stmt = db.createStatement();     // Creo lo Statement per l'esecuzione della query
            ResultSet rs = stmt.executeQuery(query);   // Ottengo il ResultSet dell'esecuzione della query
            v = new Vector();
            ResultSetMetaData rsmd = rs.getMetaData();
            colonne = rsmd.getColumnCount();
            while(rs.next()) {   // Creo il vettore risultato scorrendo tutto il ResultSet
               record = new String[colonne];
               for (int i=0; i<colonne; i++) record[i] = rs.getString(i+1);
               v.add( (String[]) record.clone() );
            rs.close();     // Chiudo il ResultSet
            stmt.close();   // Chiudo lo Statement
         } catch (Exception e) { e.printStackTrace(); errore = e.getMessage(); }
         return v;
    public String autentica(String query){
              String s = (String) db.eseguiQuery(query).get(0);
              System.out.println(s);
              return s;
         }...Please help me!

    1. You're not calling ResultSet.next() to move the result set onto the first row of results.
    2. (Edit) Deleted because you were in fact closing your objects, though you should still use a finally block to make absolutely certain.
    3. The exceptions tell you what the problem is - when you post a question please include these.
    Edited by: dcminter on 06-Aug-2008 17:04

  • Problem in casting a vector object

    Hi friends,
    I have stored dates in a vector. The date is as a string(10-08-2001). I have tried to store the vectore object into a variable. But it is displaying StringIndexOutOf BoundsException. the gist of the code is as follow. The vector object displaying its values.
    code
    a.addElement(rss.getString(1));
    a.elementAt(i)
    it is displaying value but
    (String)a.elementAt(i));
    it is displaying nothing
    plese tell the reason if you know

    Add
    System.out.println("Value="+rss.getString(1)); before the add
    element - I am not onvinced the error is wth the Vector.

  • Is it possible to create vector objects as compound shapes as you draw them (automatically)?

    I'd like to start utilizing Illustrator more frequently for web and user interface design projects, but I still like taking everything into Photoshop for final rendering and compositing (and the simple fact that most developers want psds, not ai files). However, I find that the only way to successfully transfer all of the vector artwork from Illustrator and preserve it as vector objects in Photoshop (when exporting) is to manually convert every individual vector object in Illustrator to a Compound Shape (by selecting the shape and clicking Make Compound Shape from the Pathfinder palette menu). This can be very tedious if it has to be done after the design is complete, and very inefficient if you convert every object as you draw it.
    Is there a way to set Illustrator to automatically create every vector object drawn as a Compound Shape without having to manually convert it?
    A little background on this issue...
    Adobe Illustrator allows you to export your Illustrator document as a Photoshop document. However, Compound Paths (not Compound Shapes - see this article for not-so-great explanations comparing the two) – which is the default attribute applied to all of Illustrator's basic vector objects – do not convert into vector objects when the exported document is opened in Photoshop. Rather, the vector objects drawn in Illustrator get flattened into raster layers in Photoshop, making them poor candidates for refining the design in Photoshop.

    Two possibilities:
    Start with a simple Compound Shape and use it as the beginning of each new path:
    Polygon Tool: Mousedown. Drag. Tap the down arrow key until you have a triangle. Mouseup.
    White Pointer: Click one of the sides of the triangle. Delete. (Now you have a 2 segment open path.)
    Fill: Any color. Stroke: None.
    Pathfinder palette flyout menu: Make Compound Shape.
    Drag the path to just beyond the artboard origin (or some other convenient location).
    Copy.
    Each time you begin a new path, start it by either doing a Paste (Ctrl V), or by AltDragging a copy of the original. Then start modifying the pasted path, which is already a Compound Shape.
    OR
    Use an Action (macro) to apply the Make Compound Shape after you have drawn the paths:
    Draw two paths. Select the first one.
    Actions palette: Start recording.
    Pathfinder palette flyout menu>Make Compound Shape.
    Select>Next Object Above.
    Stop recording.
    Now when you've finished a drawing:
    Layers palette: Select the bottom object.
    Actions palette: Repeatedly click the Action Run button (or put the palette in Button Mode and repeatedly click its button).
    As with everything in Illustrator, caveats abound:
    Why there's no loop command for Actions is beyond me. So if you want, you can duplicate the two steps in the Action, say, nine times so it will convert 10 paths per click.
    Using the Action method, the Select>Next Object Above command will not jump between Layers. So if the paths are on various Layers, you'll have to manually do the bottom object select for each Layer.
    As you probably know, if the Illustator Compound Shapes have strokes, not just fills, the resulting Photoshop Shape Layers have the paths, but loose the fills and strokes. So either method above works best if the Illustrator paths are filled and unstroked before converting to Compound Shapes.
    Illustrator's Javascript considers a Compound Shape a PluginItem. So it's conceivable that one could script the conversion of a simple path to a Compound Shape by using the sendScriptMessage() method of the app object. But you'd have to know the appropriate parameters for the plugin, which I don't.
    If only you could invoke an Action from an Illustrator Javascript, you could simply use a Javascript to intelligenty loop through the objects and run the Action for each...but that's another big "if only".
    JET

  • About the manager object

    hi,
             how to retrieve the manager object of a person in abap-hr or sap-hr?

    Hi,
      You want to retrieve Manager for a particular emp.
    Hw is manager defined in your company.as a job or as a position.?
    Regards
    RR

  • Please help with retrieving values from object stored in a vector

    hi..
    i have a class Magazine with 2 varibles name and price like this
    class magazine
    String name;
    int price;
    i have created a vector called selectedmag which stores objects of Magazine class... now each object will contain the name and price rite...
    i want to print the values stored in vector ie i want to print the vector elements...like
    Name: Mag1
    Price: 10
    which wil be present in object1...
    and then
    Name: Mag2
    Price:15
    which wil be present in object2...
    and so on...
    plz help...
    if i give selectedmag.elementAt(position) i am not able to get the above output...plz help me.....
    thanks,
    Akshatha

    hi,
    Yes i have used a for loop to print the values... it goes like this
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    class Magazine
         String title;
         int price;
    public class sessiontrack1 extends HttpServlet
         public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException
              res.setContentType("text/html");
              PrintWriter out=res.getWriter();
              HttpSession session=req.getSession(true);
    // This is my vector          
    Vector myshoppingcart=(Vector)session.getAttribute("ShoppingCart");
              if(myshoppingcart==null)
                   myshoppingcart=new Vector();
              Magazine selectedMag=new Magazine();
              selectedMag.title=req.getParameter("Title");
              selectedMag.price=Integer.parseInt(req.getParameter("Price"));
    //Putting Magazine object into the vector myshoppingcart
              myshoppingcart.addElement(selectedMag);
              session.setAttribute("ShoppingCart",myshoppingcart);
              out.println("<html><body>U have selected these magazines");
              out.println("<br>");
         //Enumeration vEnum=myshoppincart.elements();
    //here a am trying to print output the values
              for(int i=0;i<myshoppingcart.size();i++)
    out.println("Name:" + (Magazine)myshoppingcart.elementAt(i));
                   out.println("<br>");
    out.println("Price:" + (Magazine)myshoppingcart.elementAt(i));
                   out.println("<br>");
              out.println("</body></html>");
    this is a servlet program.... plz suggest me how to print the values... in the following format
    Name: Book1
    price: Rs 10
    Name:Book2
    price:Rs 15
    Akshatha

  • How to retrieve the values from a Transient View Object

    Hi Experts,
    I am using Jdevelpoer11.1.1.5.0. I created one Transient view object with attributes EmpId,Salary.
    In Backing Bean i will create rows for that view object and display it in the form of <af:Table> like Empid, Salary and an Update Link.
    Now my problem is i want to update the salary of the particular EmpId. For Example if the EmpId is 100 and salary is 10000 now i want to increase the salary to 20000 and if i click on the update button; i want to retrieve the particular employee details in my backing bean. How can i acheive this?
    Thanks in advance.

    A better approach would be to programmatically populate rows in the <VO>Impl.java by overriding the executeQueryForCollection(0 as specified here -
    http://adfpractice-fedor.blogspot.in/2011/01/adf-bc-programmatically-populated-vo.html
    You can write the logic to update the salary in an AM method then on click of Update or in the getter of Salry field if logic is valid for all fields...

Maybe you are looking for

  • Help!Importing images to existing folder in Aperture

    Hi everyone, I am currently try to use Aperture to organise my image files. I have a very large image library appoximatly 100GB, they are already been organised in different folder, and been backed up on the server. But because the library is taking

  • How to create a primary key

    Hello - New to Oracle and was wondering what is a good way to create an auto-incrementing primary key for a table. I have done this so far: Created a new sequence cst_swq begin with 1 increment by 1. CREATE OR REPLACE TRIGGER CST_TRIG BEFORE INSERT O

  • StopCellEditing in JTable

    I've been used this method to force a cell to keep the value i've just introduced but it doesn't works. Withing the debuggin time i've seen there is no code line in this method at the DefaultCellEditor class. Does anyone know how can i say to the cel

  • Glpibr() in Posting running long in General Ledger.

    Normally when two periods are open glpibr() runs a bit longer than when just the current period is open. Now with two periods open glpibr() has started taking more time than usual. Is it because two periods are open and there might be lot of records

  • Get number after decimal

    Dear all, i have a question i have a program working with decimal numbers like 2.30 at some point in my code i have to know what is behind the decimal and put this in a int. So i have to know how to get a int with the value 30 out of the double with