Similar method like XtAppAddInput(..)

I have used XtAppAddInput()method which is under X11 utility library in unix. Can you suggest any utility in java which allows similar funtionality? For more details about X window methods, pliz go thru Unix man page.

For more details about X window methods, pliz go thru Unix man
page.because you too f*cking idle to supply any details!

Similar Messages

  • Use of bpelx built-in methods like getVariableData in custom java classes

    Hi,
    how can I use bpelx built-in methods like getVariableData ...
    inside custom java classes embedded with BPEL project?
    I have large java code to embed with BPEL process
    and it will be very useful ....
    It is possible to access these methods like static methods of some class?
    import com.xxx.yyy.class;
    class.getVaribleData("inputVariable","payload","/ns1:mailMessage/ns1:content/ns1:multiPart");
    Regards
    Karel

    you can access them from <bpelx:exec> activity and you can pass these returned document to underlying java class.
    Re: getVariableData in Java Exec

  • Need of a self explanatory method like toString(): Your Opinion?

    Hi All,
    If including a method like showHelp() is recommended as
    java programming standard like incorporating toString() in
    a class, it will serve as an online help mechanism for
    developers using the class. It will be helpful reference
    when the source code or API documentation is not available.
    Also it will be a nice mechanism for the coder to give
    usage information of his class to a newbie or intermediate java programmer.
    Example:
    public class MyClass {
    public int width;
    public MyClass() {
    public String toString() {
    return "Class:MyClass, width:"+width;
    public String showHelp(){
    String help;
    help = "This class is intended to use for.. \n\n";
    help += "Typical Usage is... \n\n";
    help += "Sample code as followed...\n\n Thank you.";
    return help;
    }This is what Sun's reply when I submit the feature.
    "If you feel this should be implemented and the need is justified,
    please start a topic in the JDC forum to see if there is support, and
    email me the link. Thanks."
    Please share your views regarding this feature.
    Thanks.
    -bathra

    My question is how would this build over Javadoc standards? With the showHelp() method available, wouldn't this be useful only for the programmer? What about running Javadoc on the class and reading the html produced by it? That's what it's there for.
    http://java.sun.com/j2se/1.4/docs/api/index.html
    If a closed source class file does not have well written thorough documentation, what good will the showHelp() provide? If the documentation isn't available, the question would be why should the class file even be used if you won't have the documentation to be able to use it properly. If the class file is a purchased 3rd party component, that group is responsible for providing good documentation.
    This would dramatically increase the size of the compiled Java Bytecode as most comments I've seen are more than tripple than the source of a .java file. Including the comments as an output method could be overkill. My personal opinion is to follow the Javadoc standard and include the html output. Well written tight code is mainly what I'm after.

  • [svn] 2622: TextBox and TextGraphic now call applyDisplayObjectProperties() at the end of their draw() method, like all other GraphicElements.

    Revision: 2622
    Author: [email protected]
    Date: 2008-07-24 16:13:32 -0700 (Thu, 24 Jul 2008)
    Log Message:
    TextBox and TextGraphic now call applyDisplayObjectProperties() at the end of their draw() method, like all other GraphicElements. This method handles setting the visibiliy of the GraphicElement's DisplayObject, among other things.
    Note: We should make it unnecessary for each GraphicElement subclass to have to call applyDisplayObjectProperties() at the end of draw(). The GraphicElement base class should ensure that this gets called at the appropriate time.
    Group now calls draw() on graphic elements even if they are invisible, because otherwise applyDisplayObjectProperties() never gets called and the TextLines stay visible. Group was assuming that the only visible stuff in a GraphicElement is drawn with Graphics calls, which isn't the case.
    This change is OK for now because every GraphicElement currently has its own DisplayObject, but it will need to be rethought when GraphicElements share DisplayObjects.
    Reviewer: Chet
    Bug: MXMLG-206 ("Setting visible property on TextGraphic does nothing")
    QA: Peter, please add a Mustella test case for the 'visible property of TextBox and TextGraphic
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/MXMLG-206
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as

    Changes for spine&#8211;aligned head:
    public class StickManTool extends JPanel
        public StickManTool ()
            limbs [16] = new Limb (lankle, lfoot, 1);
            head = new Head2D (limbs[0]);
        protected void paintComponent (Graphics g)
            head.draw(graphics);
        private void updateLimbs (Point start, Point end)
            head.setPosition();
    class Head2D extends Ellipse2D.Double
        public static double width = 30;   // width of head
        public static double height = 40;  //height of head
        Point atlas;
        Point pelvis;
        private AffineTransform xform = new AffineTransform();
        public Head2D(Limb spine)
            super ();
            atlas = spine.movingJoint;
            pelvis = spine.fixedJoint;
            setPosition();
        public void setPosition()
            // Find angle of spine.
            double dy = atlas.y - pelvis.y;
            double dx = atlas.x - pelvis.x;
            double theta = Math.atan2(dy, dx);
            //System.out.printf("theta = %.1f%n", Math.toDegrees(theta));
            // Find center of head as extension along spine from atlas.
            double cx = atlas.x + (height/2)*Math.cos(theta);
            double cy = atlas.y + (height/2)*Math.sin(theta);
            // Move to origin of head.
            xform.setToTranslation(cx-width/2, cy-height/2);
            // Rotate head about its center.
            xform.rotate(theta+Math.PI/2, width/2, height/2);
        public void draw(Graphics2D g2)
            g2.draw(xform.createTransformedShape(this));
        public double getWidth () { return width; }
        public double getHeight () { return height; }
        public void setWidth (double widthIn) { width = widthIn; }
        public void setHeight (double heightIn) { height = heightIn; }
    }

  • Similar screen like FB60 for Complex Posting

    Can someone help me what is the ABAP Logic behind screen/code created in FB60.
    i wan't to design a similar screen like FB60 but do not know from where to start the coding.
    please help me on this.
    thanks

    open tcode fb60(or what ever you want)
    in menu bar click on system->status.
    then a pop up window will apperar.
    in that double click on program name and you can see the code there.
    and youe it as per your requirement.

  • Similar Functionality like SM30

    Hi,
    I created a Z-Table. I don't want to generate Table maintenance. In Production System the Users don't have access to SM30 for insert/delete/modify the records in the table.
    Is there any other way to give some program to the users for similar functionality like SM30?
    anybody written any program on this issue?
    any idea?
    Thanks in advance,
    fractal

    Hi Fractal,
    Follow these steps:
    1. Goto T-code (se93) and create a custom trasaction say ztest.
    2. while creating give some short test and check the radio button  
    <b>Transaction with parameters(parameter transaction)</b>
    3.In the next screen assign these values:
       Transaction --> SM30
       Screen  --> Give the screen number which is seen in the table maintenence
                        screen in system--> status which you can directly go and find
                        through the T-code sm30.
       And in the Name of the Screen field as VIEWNAME and Value as the name of
       your Custom Table.
    Now you can provide this T-Code for users to maintain the table.
    Regards,
    Vinod.
    NOTE: PLZ close the issue if solved.

  • HT201328 I've purchased a used  iPhone 3g via similar site like eBay in Hungary.The phone is legal but no invoice was included.How could I unlock the phone?

    I've purchased a used  iPhone 3g via similar site like eBay in Hungary.The phone is legal but no invoice was included.How could I unlock the phone?

    cv.references wrote:
    How could I unlock the phone?
    ONLY the Carrier it is Locked to can unlock it.
    No one here will know who that Carrier is.
    The iPhone 3G can only run iOS 4.2.1

  • Writing a method like oncommit,onadvancedsearch,onrollback.....

    Hi friends,I want to write a method like oncommit.For example onuser...what can I do? where can I write or add my codes I call it in jsp page with javascript:doEvent('user','true').And I use onuser method in JhsDataAction.I create JhsDataAction for my jsp page.When I press button I want it calls executing onuser ????? Thanks for help

    Create a subclass of JhsDataAction, and add your onUser method with the following signature:
    public void onUser(DataActionContext daContext)
    To use the subclass, either set the service-level property Data Action class to your subclass, or change the class name in the generated struts-config for the specific action.
    Steven Davelaar,
    JHeadstart Team.

  • I am using iPhone 4s with no sim card. My WiFi turned grey and isn't working. I've tried many methods like freezing and Resetting the network settings, still not working. Now what should I do? (iOS 7.1.2)

    I am using iPhone 4s with no sim card. My WiFi turned grey and isn't working. I've tried many methods like freezing and Resetting the network settings, still not working. Now what should I do? (iOS 7.1.2)

    Put in a micro SIM (SIM need not be active) and
    Restore from backup
    Restore as new
    http://support.apple.com/en-us/HT201252

  • Is there any similar method to deal with GUID like uniqueidentifier in SQL?

    Hi,
         As we know, in MS SQL Server, we can use NewID() to generate a uniqueidentifier type field, which is a GUID. This is important in some Server DB.
        So, I want to ask if  there is the  similar function or method in MaxDB to generate a GUID (globe user id) ?
         Thanks very much !

    You can use a fixed point library like MathFP.
    http://home.rochester.rr.com/ohommes/MathFP

  • Does ExtendScript have a concept of "main" function/method like when script is included as a library

    I was just wondering whether ExtendScript has any concept like a main method, whereby if the current script is included by another script like a library import it will not execute this main function/method and only execute it when the script is run directly.
    Similar to Java's main() method and Python's __main__.
    If not, is there a workaround to mimic such behavior generically?

    I cannot reproduce this.  Can you create a very simple repro of this issue and post to OneDrive?
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

  • Re: similar method for get correct position mouse in node

    The MouseEvent itself has the data you need to compute similar coordinates that the SwingUtilities method does:
    e.getX(); e.getY(); // coordinates of the mouse relative to the component on which the event was fired
    e.getSceneX(); e.getSceneY(); // coordinates of the mouse in the Scene
    e.getScreenX(); e.getScreenY(); // coordinates of the mouse on the Screen
    If you want to get the row in a ListView (or TableView) for a mouse event, however, I would recommend setting a custom cell factory that handles the mouse event for each cell:
    ListView<T> list  = ... ;
    list.setCellFactory(new Callback<ListView<T>, ListCell<T>>() {
         @Override
         public ListCell<T> call(ListView<T> listView) {
              final ListCell<T> cell = new ListCell<T>();
              cell.setOnMouseDragged(new EventHandler<MouseEvent>() {
                   @Override
                   public void handle(MouseEvent event) {
                        int index = cell.getIndex(); // list index: may be out of range if this is an empty cell
                        T item = cell.getItem(); // Item displayed in the cell: may be null if this is an empty cell
              return cell ;
    (I just typed that in here without testing: it may have typos. Obviously replace T with the type for your ListView.)

    The only way I know to do that is to implement a full drag and drop and use the setOnDragOver handler on the cell. Something like:
          list.setCellFactory(new Callback<ListView<T>, ListCell<T>>() {
                @Override
                public ListCell<T> call(ListView<T> listView) {
                    final ListCell<T> cell = new ListCell<>();
                    cell.setOnDragDetected(new EventHandler<MouseEvent>() {
                        @Override
                        public void handle(MouseEvent event) {
                            if (cell.getItem() != null) {
                                Dragboard db = cell.startDragAndDrop(TransferMode.MOVE);
                                ClipboardContent cc = new ClipboardContent();
                                cc.put(dataFormat, cell.getIndex());
                                db.setContent(cc);
                    cell.setOnDragOver(new EventHandler<DragEvent>() {
                        @Override
                        public void handle(DragEvent event) {
                            if (cell.getItem() != null) {
                                System.out.println(cell.getIndex());
                    return cell;
    You may want to do other things with the drag too (setOnDragDropped to process when the drag is ended on a cell, etc.)

  • How to implement other payment methods like PayPal in CRM 7.0

    Hi,
    I am looking for more payment methods than the (obviously) three available in CRM 7.0.
    Is there a way to implement payment methads like:
    PayPal, Mobile Payment, immediate transfer, debit entry, defferd payment etc.?
    Thanks for helping me out.
    Lars
    Edited by: Lars Fischer von Mollard on Aug 4, 2010 1:51 PM

    hi Lars
    I could be of help, as I am product manager with PayPal and we have API based products that can integrated very easily with SAP's infrastructure.
    Here is a simple demo that we did at a conference by working with SAP - PayPal/SAP demo on stage here:  http://www.youtube.com/watch?v=a80PvDvazkY
    We have FIXED FEES processing that I am product managing, and am happy to discuss it further
    regards
    Srinivas Vadhri

  • Similar function like LI10 in WM?

    Hi,
    In MM level, we could use LI10 (stocktaking) to change the material stock to a specific value directly, in WM level, is there a similar transaction code like LI10?
    Thanks.

    you probably meant MI10 instead of LI10.
    No there is not such a straight forward way.
    In general in WM you have to count by bin, means all materials that are in that bin, not just a single material.
    To do this you have create the counting document, acitivate it, print it, enter the count, post the difference in WM, post the difference to IM. there is no shortcut.
    If you want only adjust one materials stock in a bin that has many materials (mix storage), then you have to allow cycle count. This gives you the option to use LICC to create a inventory document jsut for one quant instead for the entire bin..

  • Does oracle have similar functionality like MsSql "for xml path('')"

    Does oracle have similar build in functionality like MsSql “for xml path(‘’)” , or in another word, it can enforce the result set(multiple rows) into ONE line such kind of presentation way.
    Thanks in advance. Any help would be greatly appreciated.

    Here I would like specify my question mnore clearly,
    CREATE TABLE t(
    line NUMBER(3),
    site VARCHAR2(4),
    phase VARCHAR2(5),
    test VARCHAR2(25));
    INSERT INTO t VALUES (1, '0100', '*','1111111111111111111111111' );
    INSERT INTO t VALUES (2, '0100', '=','2222222222222222222222222' );
    INSERT INTO t VALUES (3, '0100', '=','3333333333333333333333333' );
    INSERT INTO t VALUES (4, '0100', '*','4444444444444444444444444' );
    INSERT INTO t VALUES (5, '0100', '=','5555555555555555555555555' );
    INSERT INTO t VALUES (6, '0200', '*','6666666666666666666666666' );
    Here I want to retrieve the 'line' column information in ONE line way
    select line from t I want the result is like '1,2,3,4,5,6'
    Any generous help would be greatly appreciated!!!

Maybe you are looking for

  • Driver wizard says The drivers of your printer are disabled, but doesn't fix.

    OfficeJet 6500 E709a series.  Windows 7 64-bit.       Printer operates from Word, emails, Copy function. Two programs, Photoshop and Printshop, no longer print when directed to print.  Printshop says "Install a printer."  Print Shop has tasks in prin

  • Automatically create Sub site With the Name of List Item from the list of parent site ,

     Hi all I am using Share Point 2010 And I have one task That is create new sub site automatically with the name of list item which I Am added in main site List  for Example: I have a list name "Projects"  in my main site I am going to add new project

  • Iphoto library appears to be missing

    I moved my iphoto library to an external drive, and deleted it on my mac to free up space. It's worked great like this for a month or so. Today the usb plug for the external drive got knocked out of the computer, and now I can't get any of the pics t

  • I pod keeps changing songs

    My i pod nano keeps changing the songs itself, if i click forward it will forward 3 songs forward. If not it will just keep changing the songs itself. Does anyone know whats wrong with it? Or will i have to send it back to Apple. i pod nano   Windows

  • Automated Actions greyed-out?

    Hi - I am trying to access Automated Actions in the Guided Edit menu, but the Automated Action selection is greyed out and does nothing when I click on it. See screenshot below. I have .atn files in the Library/Application Support/Adobe/Photoshop Ele