Roadmap : color change of selected step

Hi All,
        I am using roadmap in my application.... but in that when my step changes,then its color does not change i.e. i am not able to differentiate the selected step from the rest of steps.
       I have binded the selected step property with the context node.
      Thanks in advance...

Hey Vishal these r the steps ,
1.Define a node with attributes Step & Next Step.
2.When ever you click on next Button , in event handler call this method .
wd_Comp_Controller->Continue(  ).
3. In Method Continue() code this.
Node_Roadmap = wd_Context->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Roadmap ).
* get element via lead selection
  Elem_Roadmap = Node_Roadmap->get_Element(  ).
* get single attribute
  Elem_Roadmap->get_Attribute(
    exporting
      Name =  `STEP`
    importing
      Value = Item_Step ).
CASE Item_Step.
**Set Next step
When 'STP_DIMENSION'.
Stru_Roadmap-STEP = 'STP_INPUT'.
Stru_Roadmap-NEXT_ENABLED = abap_true.
*set next step
When 'STP_INPUT'.
Stru_Roadmap-STEP = 'STP_RESULT'.
Stru_Roadmap-NEXT_ENABLED = abap_false.
When others.
Stru_Roadmap-NEXT_ENABLED = abap_false.
Endcase.
Node_Roadmap->set_static_attributes( Stru_Roadmap ).
wd_this->fire_navigate_evt( Stru_Roadmap-STEP  ).

Similar Messages

  • SUBTLE, apparent COLOR changes of selected screen images

    This affects multiple programs; so would seem to be a system setup aspect.
    Lately, the windows of opened programs have a color shading in areas that were once clear white background. Example is Mail 2.1.2 the left bar of mail boxes used to have a white background, now it is a soft light blue. The bar at the top is now blue-gray (actually quite nice coloration).
    Images in Safari, of this site are a different tone of gray with a tinge of blue.
    Also, apparent in web pages in some cases.
    Web pages, via Firefox, of ChangingChange.net are more salmon coloration that before.
    And pop up boxes (to fill in information) come up in a tinge of coloration..
    My Display settings are SyncMaster - Preferences Display is a SAMSUNG SyncMaster 910T
    This coloration is not distractive, rather it's quite soothing... Is my computer now changing itself so it's more restful -customizing it to the user!!
    Way to Go!!
    Or??
    Way out?
    Can a Mac be affected by and pass-on energies of the user? In the 80's a friend acquired a Mac PLus that had been used by the author of a book on Human Consciousness and reported that it was helping her in a way of understanding and applying aspects she otherwise did not know previously.

    Can a Mac be affected by and pass-on energies of the user?
    In my estimation, yes, the Universe is ONE, nothing is disconnected other than the cognizance of that fact.
    There is not one photon, erg, or iota that does not affect the whole & vice versa, but there are none so blind as those who will not see.
    "A human being is a part of the whole, called by us the "Universe," a part limited in time and space. He experiences himself, his thoughts and feelings as something separated from the rest, a kind of optical delusion of his consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from this prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty."
    ~Albert Einstein.
    "There comes a time when the mind takes a higher plane of knowledge but can never prove how it got there. All great discoveries have involved such a leap."
    ~Albert Einstein.
    "Imagination is more important than knowledge. Knowledge is limited; imagination encircles the world."
    ~Albert Einstein.

  • How can I change the 'selected' color of one JToggleButton only.

    Hi,
    This seems like a simple / trivial question, but I just can't figure it out. Is there a way that I can create a JToggleButton and change the selected color of only that JToggleButton.
    I'm trying to create a simple sidebar like component for navigation within my app. A group of JToggleButton[s] added to a ButtonGroup (with the proper layout / sizing) works great, but the default JToggleButton colors don't suit my needs. I know that I can change the colors using the UIManager / UIDefaults, but I don't want to change the defaults for every JToggleButton in my app. I only want to change the defaults for a few select JToggleButton[s].
    For example, I can do this:
    UIManager.put("ToggleButton.select", UIManager.getColor("Table.selectionBackground"));
    UIManager.put("ToggleButton.background", UIManager.getColor("Table.background"));but I'd rather do something like this:
    JToggleButton jtb = new JToggleButton("Toggle Button Text");
    jtb.setSelectedColor(UIManager.getColor("Table.selectionBackground"));
    jtb.setBackground(UIManager.getColor("Table.background"));The only thing is, I can't find any method that is the equivilant of 'setSelectedColor(Color)' for JToggleButton.
    I know I could do it by adding some listeners to the JToggleButton[s], but that seems a little complicated for something like changing a color.
    I'd also seen a solution in the forums where someone had extended the ButtonUI of the pluggable look and feel they were using. I'm not interested in modifying the look and feel I'm using. As far as I'm concerned, that would defeat the purpose of having a pluggable look and feel as I would have to duplicate my efforts for every look and feel I want to use.
    Any help would be appreciated,
    Ryan

    try this
    import javax.swing.*;
    import java.awt.*;
    class Testing extends JFrame
      public Testing()
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setSize(250,75);
        setLocation(400,300);
        JPanel jp = new JPanel();
        JToggleButton jtb = new JToggleButton("Toggle me");
        jtb.setUI(new MyUI());
        jp.add(jtb);
        getContentPane().add(jp);
      public static void main(String args[]){new Testing().setVisible(true);}
    class MyUI extends javax.swing.plaf.metal.MetalToggleButtonUI
      public Color getSelectColor(){return Color.BLACK;}
    }

  • How to change the selected row color in an alv grid display ?

    Hello ,
    I WANT TO CHANGE THE COLOR OF THE SELECTED RECORDS  IN AN ALV GRID DISPLAY ?
    ITS URGENT..
    WILL BE REWARDED...

    hai   Ssnagh Samala 
    EXicut This report >
    Hope It Will  Meet U r Requirement.
    If Found Helpfull Reward.
    REPORT zcuitest_alv_07.
    Use of colours in ALV grid (cell, line and column) *
    Table
    TABLES : mara.
    Type
    TYPES : BEGIN OF ty_mara,
    matnr LIKE mara-matnr,
    matkl LIKE mara-matkl,
    counter(4) TYPE n,
    free_text(15) TYPE c,
    color_line(4) TYPE c, " Line color
    color_cell TYPE lvc_t_scol, " Cell color
    END OF ty_mara.
    Structures
    DATA : wa_mara TYPE ty_mara,
    wa_fieldcat TYPE lvc_s_fcat,
    is_layout TYPE lvc_s_layo,
    wa_color TYPE lvc_s_scol.
    Internal table
    DATA : it_mara TYPE STANDARD TABLE OF ty_mara,
    it_fieldcat TYPE STANDARD TABLE OF lvc_s_fcat,
    it_color TYPE TABLE OF lvc_s_scol.
    Variables
    DATA : okcode LIKE sy-ucomm,
    w_alv_grid TYPE REF TO cl_gui_alv_grid,
    w_docking_container TYPE REF TO cl_gui_docking_container.
    PARAMETERS : p_column AS CHECKBOX,
    p_line AS CHECKBOX,
    p_cell AS CHECKBOX.
    START-OF-SELECTION.
    PERFORM get_data.
    END-OF-SELECTION.
    PERFORM fill_catalog.
    PERFORM fill_layout.
    CALL SCREEN 2000.
    *& Module status_2000 OUTPUT
    text
    MODULE status_2000 OUTPUT.
    SET PF-STATUS '2000'.
    ENDMODULE. " status_2000 OUTPUT
    *& Module user_command_2000 INPUT
    text
    MODULE user_command_2000 INPUT.
    DATA : w_okcode LIKE sy-ucomm.
    MOVE okcode TO w_okcode.
    CLEAR okcode.
    CASE w_okcode.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " user_command_2000 INPUT
    *& Module alv_grid OUTPUT
    text
    MODULE alv_grid OUTPUT.
    IF w_docking_container IS INITIAL.
    PERFORM create_objects.
    PERFORM display_alv_grid.
    ENDIF.
    ENDMODULE. " alv_grid OUTPUT
    *& Form create_objects
    text
    --> p1 text
    <-- p2 text
    FORM create_objects.
    Ratio must be included in http://5..95
    CREATE OBJECT w_docking_container
    EXPORTING
    ratio = 95
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    others = 6.
    CREATE OBJECT w_alv_grid
    EXPORTING
    i_parent = w_docking_container.
    ENDFORM. " create_objects
    *& Form display_alv_grid
    text
    --> p1 text
    <-- p2 text
    FORM display_alv_grid.
    CALL METHOD w_alv_grid->set_table_for_first_display
    EXPORTING
    is_layout = is_layout
    CHANGING
    it_outtab = it_mara
    it_fieldcatalog = it_fieldcat
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4.
    ENDFORM. " display_alv_grid
    *& Form get_data
    text
    --> p1 text
    <-- p2 text
    FORM get_data.
    SELECT * FROM mara UP TO 5 ROWS.
    CLEAR : wa_mara-color_line, wa_mara-color_cell.
    MOVE-CORRESPONDING mara TO wa_mara.
    ADD 1 TO wa_mara-counter.
    MOVE 'Blabla' TO wa_mara-free_text.
    IF wa_mara-counter = '0002'
    AND p_line = 'X'.
    Color line
    MOVE 'C410' TO wa_mara-color_line.
    ELSEIF wa_mara-counter = '0004'
    AND p_cell = 'X'.
    Color cell
    MOVE 'FREE_TEXT' TO wa_color-fname.
    MOVE '5' TO wa_color-color-col.
    MOVE '1' TO wa_color-color-int.
    MOVE '1' TO wa_color-color-inv.
    APPEND wa_color TO it_color.
    wa_mara-color_cell] = it_color[.
    ENDIF.
    APPEND wa_mara TO it_mara.
    ENDSELECT.
    ENDFORM. " get_data
    *& Form fill_catalog
    text
    --> p1 text
    <-- p2 text
    FORM fill_catalog.
    Colour code : *
    Colour is a 4-char field where : *
    - 1st char = C (color property) *
    - 2nd char = color code (from 0 to 7) *
    0 = background color *
    1 = blue *
    2 = gray *
    3 = yellow *
    4 = blue/gray *
    5 = green *
    6 = red *
    7 = orange *
    - 3rd char = intensified (0=off, 1=on) *
    - 4th char = inverse display (0=off, 1=on) *
    Colour overwriting priority : *
    1. Line *
    2. Cell *
    3. Column *
    DATA : w_position TYPE i VALUE '1'.
    CLEAR wa_fieldcat.
    MOVE w_position TO wa_fieldcat-col_pos.
    MOVE 'MATNR' TO wa_fieldcat-fieldname.
    MOVE 'MARA' TO wa_fieldcat-ref_table.
    MOVE 'MATNR' TO wa_fieldcat-ref_field.
    APPEND wa_fieldcat TO it_fieldcat.
    ADD 1 TO w_position.
    CLEAR wa_fieldcat.
    MOVE w_position TO wa_fieldcat-col_pos.
    MOVE 'MATKL' TO wa_fieldcat-fieldname.
    MOVE 'MARA' TO wa_fieldcat-ref_table.
    MOVE 'MATKL' TO wa_fieldcat-ref_field.
    Color column
    IF p_column = 'X'.
    MOVE 'C610' TO wa_fieldcat-emphasize.
    ENDIF.
    APPEND wa_fieldcat TO it_fieldcat.
    ADD 1 TO w_position.
    CLEAR wa_fieldcat.
    MOVE w_position TO wa_fieldcat-col_pos.
    MOVE 'COUNTER' TO wa_fieldcat-fieldname.
    MOVE 'N' TO wa_fieldcat-inttype.
    MOVE '4' TO wa_fieldcat-intlen.
    MOVE 'Counter' TO wa_fieldcat-coltext.
    APPEND wa_fieldcat TO it_fieldcat.
    ADD 1 TO w_position.
    CLEAR wa_fieldcat.
    MOVE w_position TO wa_fieldcat-col_pos.
    MOVE 'FREE_TEXT' TO wa_fieldcat-fieldname.
    MOVE 'C' TO wa_fieldcat-inttype.
    MOVE '20' TO wa_fieldcat-intlen.
    MOVE 'Text' TO wa_fieldcat-coltext.
    APPEND wa_fieldcat TO it_fieldcat.
    ENDFORM. " fill_catalog
    *& Form fill_layout
    text
    --> p1 text
    <-- p2 text
    FORM fill_layout.
    Field that identify color line in internal table
    MOVE 'COLOR_LINE' TO is_layout-info_fname.
    Field that identify cell color in inetrnal table
    MOVE 'COLOR_CELL' TO is_layout-ctab_fname.
    ENDFORM. " fill_layout
    Regards.
    Eshwar.

  • How to change a selected cell background color in JTable?

    Hi all,
    I am trying to change the background color of a selected cell by clicking on that particular cell. DefaultTableCellRenderer class provides setBackground(Color c) to change the background color of unselected cells. Is there a way to change a selected cell background color?
    Thank you,
    Arthur

    Write your own renderer (eg. extending DefaultTableRenderer) and put in getTableCellRendererComponent method something like this:
    if( isSelected && hasFocus )
        setBackground( Color.RED );
        setForeground( Color.GREEN );
    }

  • Changing the color of a selection to HEX

    Hi guys,
    i'm new to illustrator scripting (but not to javascript or programming).
    I have an AI file that has multiple layers. each layer has several items that are supposed to be of same color.
    I have an array of HEX values.
    I would like to loop over all items in a single layer, select them and change their color to some given HEX.
    Once that works, I will run on all HEX entries in array and save each variation in a separate PNG file.
    For the first part i wrote some script (see below), but i do not see any change in the file after i run the script. No errors and no change.
    I run the script once i select all items in a specific layer.
    Can you please advise what am i doing wrong?
    Thanks in advance!
    My code:
    function hexToRgb(hex) {
        var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
        return result ? {
            r: parseInt(result[1], 16),
            g: parseInt(result[2], 16),
            b: parseInt(result[3], 16)
        } : null;
    var fillRGBColor = function (pathItem, r, g, b){
        pathItem.fillColor.red = r;
        pathItem.fillColor.green = g;
        pathItem.fillColor.blue = b;
    var fillHexColor = function (pathItems, hex){
        var rgb = hexToRgb(hex);
        alert(rgb.r +","+rgb.g+","+rgb.b);
        fillRGBColor(pathItems, rgb.r, rgb.g, rgb.b);
    // check if a document is open in Illustrator.
    if( app.documents.length > 0)
              mySelection = app.activeDocument.selection;
              if (mySelection.length > 0)  {
                 for (var i=0; i<mySelection.length; i++) {
                      var currentObject = mySelection[i]; 
                      if(currentObject.typename != "CompoundPathItem" &&  
                                                                currentObject.typename != "GroupItem")  {
                             fillHexColor(currentObject, '#8F623B');
              } else {
                             alert("Nothing is selected.");
    } else {
              alert("No document Open.");

    Yup!
    my objects were in CMYK mode and not RGB. i changed the handling and everything started working fine.
    I have a different question now - how can i color TextFrame objects?
    I have a layer with some text on it and i want to generate a bunch of PNG files from that layer with text color changes.
    I see that the selected element is of type TextFrame, but it does not have a fillColor attribute.
    what controls text color?
    thanks in advance!

  • How to change the selected tabPane title color in JTabbedPane

    how to change the selected tabPane title color(or set bold) in JTabbedPane.
    Any advice will be appreciate.

    Hi,
    try
    // Set text color for the selected tab
    tab.setForegroundAt(tab.getSelectedIndex(), Color.red);Hope that helps

  • Color not changing on Selected Menu tab

    I'm creating a custom css and in doing so have been trying to change the text color of the selected menu tab. I've added it to my stylesheet but it is not changing upon running it. If I change the menu tab specifically via the properties of the tab, it will change. Is 'color' something we can change?
    Here is a snipet of my css:
    .af|menuTabs::selected {color:red;
    white-space:nowrap;
    font-family:Arial,Helvetica,Geneva,sans-serif;
    font-size:200%;
    background-color:white;
    font-weight:bold;
    text-decoration:none;
    Thanks,
    Lisa

A: Color not changing on Selected Menu tab

Your '.' before af|menuTabs is wrong.
It's just "af|menuTabs::selected" not ".af|menuTabs::selected".
Also, you need to use the ::selected-link pseudo-element to style the color of the text.
/* Make the selected tab bold */
af|menuTabs::selected-link
font-weight: bold;
font-size: 14pt;
color: green;
}

Your '.' before af|menuTabs is wrong.
It's just "af|menuTabs::selected" not ".af|menuTabs::selected".
Also, you need to use the ::selected-link pseudo-element to style the color of the text.
/* Make the selected tab bold */
af|menuTabs::selected-link
font-weight: bold;
font-size: 14pt;
color: green;
}

  • How to change the selection background color of the selected item in the popup menu of the choice box ?

    How to change the selection background color of the selected item in the popup menu of the choice box ?
    By defaut, the selection background color likes "blue", but if I want it to be "yellow" for example, how should I do ?
    Thanks

    The id is applied by (I think) the skin class of the ChoiceBox. You don't need to define it.
    You have to apply the css in an external style sheet. You can apply the external style sheet to any parent of your choice box, or to the scene (the most usual way to do it).
    Example:
    import java.util.ArrayList;
    import java.util.List;
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class ChoiceBoxTest extends Application {
      @Override
      public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Example 2");
        final ChoiceBox<String> choiceBox = new ChoiceBox<>();
        List<String> tempResult = new ArrayList<String>();
        for (int i = 0; i < 10; i++) {
          tempResult.add("Item " + i);
        choiceBox.getItems().setAll(tempResult);
        VBox root = new VBox();
        root.getChildren().add(choiceBox);
        final Scene scene = new Scene(root, 300, 250);
        scene.getStylesheets().add("choiceBox.css");
        primaryStage.setScene(scene);
        primaryStage.show();   
      public static void main(String[] args) {
        launch(args);
    choiceBox.css:
    @CHARSET "UTF-8";
    #choice-box-menu-item:focused  {
    -fx-background-color: yellow ;
    #choice-box-menu-item .label {
    -fx-text-fill: black ;
    Message was edited by: James_D

  • Changing JList non-editable Font color of the selected items

    Hi All,
    I want to change the font color of non-editable JList's selected items which is not clearly visible to user. And I need to change the font color only the selected item in this scenerio.
    Could you please clarify me?
    <img src="file:///C:/DOCUME~1/sgnanasi/LOCALS~1/Temp/moz-screenshot-4.png" alt="" />

    [email protected] wrote:
    ..I want to change the font color of non-editable JList's selected items which is not clearly visible to user. And I need to change the font color only the selected item in this scenerio.Set a custom [cell renderer|http://java.sun.com/javase/6/docs/api/javax/swing/ListCellRenderer.html] *(<- link)* for the JList.

  • Photoshop CS 6 - image -canvas - make double matt - select color - if I select wrong color, how do I change to a new color, right now it won't change to the new color I select, WHY?????

    Photoshop CS 6 - image -canvas - make double matte - select color - if I select wrong color, how do I change to a new color, right now it won't change to the new color I select, WHY?????

    Hi, The options bar shows sample size 101 by 101 Average. That was my problem. When I was troubleshooting in order to try to explain to you what was happening, I noticed that when I sampled my models teeth, it gave me a color a bit lighter than her lipstick as my foreground color in my tool box. That started me thinking in the correct way. I didn't realize that my sample size had somehow gotten switched from point sample to 101 by 101 average. I appreciate the help. Thank you.

  • Hi. I've added a new page to my iWeb '08 version 2.0.4 website but can't seem to select the top menu pages to make a rollover color change. I can select them on the original pages. What am I doing wrong?

    Hi. I've added a new page to my iWeb '08 version 2.0.4 website, but can't seem to select the top menu items to make a rollover color change. I can select them on the original pages. What am I forgetting to do?

    Old Toad has a tutorial about changing the colors in the iWeb default menu...
    http://oldtoadstutorials.net/No.24.html
    If you want your website to be found by search engines you would be better to follow Ethmoid's suggestion of creating your own navigation...
    http://www.iwebformusicians.com/iWeb/Navigation.html

  • When I visit a site the color of the link seldom changes to the color I have selected. also even when it does change, it reverts to the unvisited color in a day or so.

    When I visit a site the color of the link seldom changes to the color I have selected. Also even when it does change, it reverts to the unvisited color in a day or so. The history is set to over 300 days and everything is there as far as I can tell.

    Does this problem affect all sites, or only some? Try going to a Google search results page and click a few links. Then, come back a day later and see if they are still visited.
    It may be that the links that get reset are coming from a frameset. Firefox only remembers history from framesets temporarily, which affects sites that use them. (An example would be the craigslist forums)

  • I am having a problem changing a color in a selected area. Using the Quick Selection tool I am able to select the area I wish to change. Using the Brush tool, color, color mode and click drag in my selected area, nothing happens, no color changes.   I hav

    I am having a problem changing a color in a selected area. Using the Quick Selection tool I am able to select the area I wish to change. Using the Brush tool, color, color mode and click drag in my selected area, nothing happens, no color changes. I have viewed some videos and read numerous articles but haven't found the one to help me. Please point me in the best direction. Thank you Vincent TC

    For the sake of clarity and to save people time, Todd is asking about the behaviour of the Patch tool when using it to repair the area next to the young lad's head.  Todd gets a blurred dark tone pretty much regardless of the options he uses.
    IMO that's what I would expect to happen because of the close proximity of the other image elements i.e. the lad's neck and the strong lines of his shirt.  I would not choose to use the Patch tool in this situation.  Content Aware Fill makes a better stab at it. 

  • RoadMap  onSelect does nor return the selected step

    I'm using the roadmap to visualize the working steps in wizard like manner. Everything works fine.
    I would like to make it possible to navigate  by clicking the steps in the roadmap to reach previous steps faster.
    The onSelect method is fired every time I click on a step. The documentation promises that there is a parameter called step which contains the currently selected step id. But the parameter list within the event parameter is empty. Where can I find the information about the selected step?
    Or is the roadmap not intended for such a kind of usage?
    Thanks in advance
    Antje
    I'm using SP12.

    To get the selected step in an action handler you have to define a so-called parameter mapping between the UI element event parameter and the action handler parameter.
    In wdDoModifyView() write the following code:
    if (firstTime)
      IWDRoadMap roadmap = (IWDRoadMap)
        view.getElement("RoadMapID");
      roadmap.mappingOfOnSelect().addSourceMapping("step", "selectedStep");
    In the action that handles the onSelect event, define a parameter "selectedStep" of type "string".
    At runtime, the corresponding action handler parameter will contain the new selected RoadMap step ID.
    Armin
    (****, I lost the photo-finish with Valery
    Message was edited by: Armin Reichert

  • Maybe you are looking for

    • Short dump when exporting the ALV grid report in to spread sheet

      HI, I am facing a problem when downloading ALV grid report in to spread sheet LIST>EXPORT>LOCAL FILE -->SPREADSHEET. in shotdump the cursor shows : "assign cline+cbegin(clength) to <field_cont>." In SAP internal table LIST,in the first record the val

    • Hi could someone help me with this basic issue ..

      'sql*plus' is not recognized as an internal or external command, operable program or batch file. I have installed expression addition for practice on a win xp OS it was working fine but now this is the error when , I am trying to start the data base.

    • Distorted stills in a slideshow created in IMovie

      Hello everyone. I have created a 3 minute slideshow with stills from IPhoto, transitions, and music and I have noticed when I view the project in full screen mode there is very noticeable distortion in the video. It looks like a bad tv image, wavy li

    • Page numbering Panel

      hello indesigners. i have a made 10 spreads.and im trying to get my book to start counting the page numbers from page 6 and beyond.i have insert on my mastrer pages current page number.whic is counting perfect through out my spreads.the only thing is

    • Posting to an embedded jetty server

      Hello, I have the following piece of code based on Jakarta commons httpClient which i am using to Post data to an embedded jetty server in my swing application. import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.methods.*; i