How can i connect multiple forms using swings or applets(AWT) & with D-Base

Hello Friends,
I am Sreedhar from Hyderabad. working as a java developer in a small organization. I got a challenge to work on java stand alone (desktop) application. Basically our company is based on SCM(Supply Chain Management), I never work before using swings and AWT. now my present challenge is to develope an application on swings and AWT using Net Beans IDE. but i am unble find the code to connect one form to another form, i want to develop similar application like a web application , suppose if i click on OK button it has to connect next form. in the next for it has to take user name and password should allow me to access main form. please help me about this topic, if anybody interested i can send u the screen shots and i can post to ur mail. please help me as soon as possible,

sreedharkommuru wrote:
Hello Friends,
I am Sreedhar from Hyderabad. working as a java developer in a small organization. I got a challenge to work on java stand alone (desktop) application. Basically our company is based on SCM(Supply Chain Management), I never work before using swings and AWT. now my present challenge is to develope an application on swings and AWT using Net Beans IDE. but i am unble find the code to connect one form to another form, i want to develop similar application like a web application , suppose if i click on OK button it has to connect next form. in the next for it has to take user name and password should allow me to access main form. please help me about this topic, if anybody interested i can send u the screen shots and i can post to ur mail. please help me as soon as possible,There is no magic, you need to spend a good amount of time in tutorials, here is a good one to start off with:
[The Really Big Index|http://java.sun.com/docs/books/tutorial/reallybigindex.html]
Here are a few tips:
1 - Do not mix AWT and SWING: it'll just cause you headaches in the long run that you cannot fix without refactoring to properly not mix the 2 together.
2 - You use JDBC to access the database
3 - You make accessors/constructors to pass parameters that you need from one form to another.
Have fun.

Similar Messages

  • How can I read a form using session in javaServerlet?(thanks)

    How can I read a form using session in javaServerlet?(thanks)

    you can not. You get the form entries through the request object.

  • How can a child below 13 use a Creative Cloud ID with parental permission?

    How can a child below 13 use a Creative Cloud ID with parental permission?(I do not mean using parental account directly, if any other option is available)

    I suspect that the issue is that Adobe likely doesn't issue Adobe IDs to children under 13, because of COPPA.  Given the nature of Adobe's products, the potential legitimate userbase of under-13s is small, and the compliance costs could be very high.  Bear in mind that a kid under 13 can't legally sign up for a Facebook account, with or without parental permission, either, because FB doesn't want the liability for compliance if it knowingly signed up under-13-year-olds. 

  • How can I scan multiple items using my HP photosmart 2610 and them be able to be in one attachment​?

    I have an HP photosmart 2610 4 in1. How can I scan multiple items and put them in the same attachment using e-mail? Using my laptop.

    Hi @needyrhelp,
    Welcome to the HP Forums!
    I see that you are wondering how to scan multiple items using your HP photosmart 2610 and for them to be able to be in one attachment in your e-mail. I am happy to look into this for you!
    Please see the how to scan guide for the Operating System you are using. Here is the list of how to scan guides, Scan. Select your Operating System from the list, then select How to scan with HP software, then How to scan a multi-page original text document into a single file. You will need to scan each page one at a time, and add it to the same document. The how to scan guide will show you how. After done scanning to the file, then see the link for How to attach a scan to an email.
    If you do not know the Operating System you are using, please visit this website. Whatsmyos.
    Hope this information is helpful, and thank you for posting!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • How can I save multiple links using the "save link as" function?

    I'm trying to save about 300 pdf files. The link to each one is listed ona website. To save each one I'm right clicking on the link, selecting "save link as" and repeat.
    How can I select multiple links and save them?

    Actually you can save multiple page pdf's in elements.
    Try something like this:
    (This is easier if you have the project bin open)
    1. Select the first page
    2. Right click on that page in the project bin and choose Add Blank Page or as many pages as you need.
    3. Use the move tool and drag your pages down into the blank pages in the project bin
    4 Then File>Save As>Acrobat.PDF

  • Can I connect multiple displays using a mac mini

    Can I connect 2 displays using the mac mini? If so, are there any accessories that I need? Are there certain monitors or connections that I should use?

    Hello,
    Assuming this is a 2012 Mini...
    2nd Display Support:
    Dual/Mirroring*
    2nd Max. Resolution:
    2560x1600*
    Details:
    *This model simultaneously supports 1920x1200 on an HDMI or a DVI display (using the included HDMI-to-DVI adapter) and 2560x1600 on a Thunderbolt or Mini DisplayPort display or even a VGA display (with an optional Mini DisplayPort-to-VGA adapter, which is compatible with the Thunderbolt port).
    http://www.everymac.com/systems/apple/mac_mini/specs/mac-mini-core-i7-2.6-late-2 012-specs.html
    If you need more...
    http://eshop.macsales.com/item/NewerTech/VIDU3HDMIDV/
    http://eshop.macsales.com/item/NewerTech/VIDU2DVIA/

  • How can i connect a Wireless Keyboard and a Trust mouse with a brand new Mac mini?

    How can i connect a Wireless Keyboard and a Trust mouse to a brand new Mac mini?

    Go to the Bluetooth icon on the menu bar and select "Set Up Bluetooth Device". Follow the wizard.
    Alternatively, if you haven't yet unboxed and setup the Mini, you can pair the keyboard to the Mini (and possibly the mouse). However, I would set up with a USB keyboard and mouse and pair the Bluetooth devices afterwards.

  • How can I connect multiple devices to Mac mini display port? I need to connect a Canon 5D to my Mac and display the result on a VGA video projector. I am using mini hdmi to mini display for the camera. Can I connect the VGA to any other port?

    Hi there I am connecting a Canon 5D to my laptop trying to use it as a webcam trough camtwist.
    At the same time I need to output the streaming to a videoprojector.
    The cam is connected to the mini display port do there is no port available for the VGA cable anymore.
    Do I need to use a different port for the projector? Should I buy a video card?
    Can't connect the camera via USB as that is too slow and it will freeze.
    Many thanks for all your help
    Best
    Faeve

    You might do better on a forum other than this one, which is "Using iPhone"

  • How can I connect multiple clients to a single client ?

    I am currently developing an instant messaging program.I created a server and connected multiple clients to it by using thread logic.However I do not know how to connect multiple client to a single client.
    What shall I do for that?Does anybody know a good tutorial or sample program?Or shall anybody explain me what I shall do for building the Instant Messaging part of my chat program?
    Thank u in advance.

    You may use UDP multicast socket. But since you are using the UDP protocol you might risk losing the data that you send since UDP does not guarantee the safe transfer of data.
    Alternately, you might create a server that allows multiple client to connect to it whose connection Socket objects are then stored in a Vector <Socket> object. The server then sends back data to the connected client about the other clients connected to it. Now when the client wants to send data (like an IM) to another connected client, it has to send a request to the server specifying the client login name and the server in turn streams that particular client's Address and Port to the requesting client. The requesting client then initiates the connection with the other client and then starts a conversation. One more thing, when the client communicates it needs to send information to the server like the name by which it likes to be referenced. In this scenario the server acts like a central repository for clients to query the existence of other clients in the chat room. Each client here runs a thread that listens to incoming connections and when a connection is established, may be opens a IM window or something.
    The third option is to make the server to relay the information from one client to another. Like say, I'm connected to whoopy server and i want to send "Hello" to jackson, then i send the message (ie, Hello) along with the name of the client to which i wish to send it to (ie, jackson). The server then performs a lookup in its Vector <Socket> object and then initiates a connection with jackson and sends the information. However, this method is pretty costly in that you will be wasting a lot of processing behind the server.
    --Subhankar
    P.s. If you stumble upon any other brilliant ideas let me know.

  • How can populate image into form using itemrenderer?

    Hi,
    i have an form employee form(form) and datagrid(contains image and edit button) in one screen.
    images and buttons are displayed in the datagrid using itemrendered(inline).
    My question is when i clicked on edit button the correspong image will be populated into
    employee form(as one formitem).How can i do it?
    Regards
    D.Mahesh babu

    Thanks prasanth.
    Here i am taking like this:
    <mx:FormItem id="formItem" >
           <mx:Image source="htttp://...../one/{dataGridId.selectedItem.empPath}" />
    </>
    Then i got the output.When i clicked on the edit buuton in datagrid(first row) then i got image is displayed in form.
    But wen i clicked on edit bitton in datagrid(second row) i got this error:
    RangeError: Error #2006: The supplied index is out of bounds.
        at flash.display::DisplayObjectContainer/addChildAt()
        at
    mx.core::Container/addChildAt()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Con ta
    iner.as:2206]
        at
    mx.containers::Form/addChildAt()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\contain er
    s\Form.as:274]
        at
    mx.core::Container/addChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\Conta in
    er.as:2140]
        at
    mx.containers::Form/addChild()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\container s\
    Form.as:263]
        at
    lightemployee_inlineComponent2/fnEditDivisionRow()[\\India\c\wamp\www\reqtionary\src\light em
    ployee.mxml:251]
        at
    lightemployee_inlineComponent2/___lightemployee_inlineComponent2_Button1_click()[\\India\c \w
    amp\www\reqtionary\src\lightemployee.mxml:261]
    Regards
    D.Mahesh babu

  • How can I return multiple values using Oracle 9i Web Services ?

    Hi, Is it possible to return multiple parameters using WebServices in general ? And if yes, how do we do it using Oracle 9i WebServices ?
    At my client usually I call
    return_value = SoapClient.MehtodName(param1, param2, param3)
    If i need more than one return_value...how do we handle that ?
    Thanks,
    -Krishna

    Anyone has any ideas about this ?
    And also if i want a collection in one of the input parameters...how to do that ?
    Does Oracle WS have any such support ? Or we have devise our own way like sending it by separators or something like that ?
    Thanks,
    Krishna

  • How can I sort multiple forms in Acrobat X (Mac)?

    Okay, I am working on a form that has over 300 (336 to be exact) forms in it, so dragging and dropping one at a time is really time consuming. I was wondering if there was a way to drag multiple forms (Shift Click or Cmd Click several, then arrange them in the forms field) in the Forms Field. I have tried everything I could think of and even did several searches. There doesn't seem to be a way to do this. Any help would be greatly appreciated.
    I'm working on Fillable Pathfinder Character Sheets, in case you were wondering.

    Or perhaps the text is jumbled. You can check whether the text is correct (and hence, searchable) by copy/pasting a bit of text out of the PDF and into Word (or whatever). If what comes out is nonsense, there is no hope of searching.

  • How can I send multiple attachments using SO_DYNP_OBJECT_SEND?

    Hi,
    I hope someone can offer advice on my problem.
    My requirement is to allow users to select one or more documents from an ALV grid.  I am then required to send these documents to multiple users via email using function module SO_DYNP_OBJECT_SEND.
    I can successfully send one document as an attachment.  However, I can't seem to figure out how to send multiple documents as attachments using SO_DYNP_OBJECT_SEND.  Is this done in the packing list?
    Is there some way to tell the program where the 1st attachment ends and the 2nd attachment starts?
    My attachment content is in i_att_cont.
      CALL FUNCTION 'SO_DYNP_OBJECT_SEND'
        EXPORTING
          object_hd_change = l_title
          object_type      = 'RAW'
          raw_editor       = abap_true
          starting_at_x    = '5'
          starting_at_y    = '1'
          ending_at_x      = '120'
          ending_at_y      = '20'
          edit_title       = 'X'
          external_commit  = abap_true
        TABLES
          objcont          = i_objcont
          rec_tab          = i_rec_tab
          packing_list     = i_packing_list
          att_cont         = i_att_cont
          exclude_fcode    = i_exclude_fcode
        EXCEPTIONS
          object_not_sent  = 1
          owner_not_exist  = 2
          parameter_error  = 3
          OTHERS           = 4.
    If you require more information, please let me know.  I will be happy to provide it.
    Thanks.

    I finally found the solution.
    The trick is to ensure you put the correct values in the body_start, body_num and objlen fields of the packing list.
    Each additional attachment should start (body_start) at the end of the last attachment + 1.
    The value for body_num is equal to the number of lines in the attachment being added.
    And the objlen field is calculated by multiplying the number of lines in the attachent * 255.
    Static data
       gs_packing_list-file_ext = lv_ext.
       gs_packing_list-transf_bin = 'X'.
       gs_packing_list-objla = sy-langu.
       gs_packing_list-objtp = 'EXT'.
       gs_packing_list-objdes = lv_filename.
       gs_packing_list-objnam = 'Attachment'.
       gs_packing_list-head_start = 1.
       gs_packing_list-head_num = 1.
    Body Start
       CLEAR lv_count.
       DESCRIBE TABLE gt_temp_att_cont LINES lv_count.
       gs_packing_list-body_start = lv_count + 1.
    Body Num + Object Length
       CLEAR lv_count.
       DESCRIBE TABLE gt_att_cont LINES lv_count.
       gs_packing_list-body_num = lv_count.
       gs_packing_list-objlen = lv_count * 255.
       APPEND gs_packing_list TO gt_packing_list.
    Hopefully this helps some desperate soul in the future.

  • How can I connect airport extremes using a wired-switch connection and have roaming capability?

    My goal is to have 2 airport extremes and 1 timecapule connected via an ethernet switch so that I can enable roaming. I have no problems connecting them wirelessly where I create the wireless network on a primary airport wireless then add the others "extending" the network. However, if I attempt to do the same thing with a wired connection everything stops working (no connections from any airport). Here's the topology I'm trying to achieve. I believe my problem relates to the switch and the fact that I am serving up DHCP from a separate server. Is there a way I can achieve this (or similar) type of configuration? Thanks in advance.
    BTW, I have read the various documents on the roaming network topology  but none seem to be a match to this.

    To answer your question, yes, if I _only_ have the main "create wireless network" airport connected/wired to the switch, everything works correctly.
    OK, got that.
    Also, if I have each of the 3 airports/timecapsule "create wireless network" using the same ssid name and passwd/protocol, everything works correctly (but of course, no roaming under this scenario
    Sorry, you have me confused on this one. When the AirPorts are all configured to "create a wireless network", use the same SSID, security and password, and all AirPorts are in Bridge Mode........that is the exact definition of a "roaming" network.
    Not sure what you mean when you say "no roaming" in this configuration.
    Also, if I have the main "create wireless network" configured and have the 2 other airports "extend the network" and _not_ have them connected via the ethernet cable, everything works correctly (wireless airport interconnection)
    That is correct.
    However, if I plug the 2 other "extend the network" airports into the switch via ethernet, all connectivity shuts down.
    This is not a correct setup. The "extend" setting on the AirPort assumes that they will connect using wireless.  If you then try to connect an Ethernet cable to an AirPort that is expecting a wireless connection, that will result in a big feedback loop and effectively crash the network.

  • How can I connect multiple airport express to airport extreme?

    I have an Airport Extreme that is connected to my cable modem. I have 3 Airport Express that I would like to connect to the extreme to extend the signal in my home. I was able to connect 1 but I have been unable to successfully connect the other 2.
    Can anyone tell me how o accomplish this?
    Thanks

    Power off all four AirPorts in any order that you want
    Wait a minute, then power up the AirPort Extreme
    Wait another minute and power up the AirPort Express that is working
    Move the other two Express devices to the same room or close proximity to the AirPort Extreme
    Power up one Express for a minute or two and leave the other Express off for now
    Hold in the reset button on the back of the Express for 10 seconds and release
    Allow a full minute for the Express to restart to a slow, blinking amber light status
    Click the WiFi icon at the top of the Mac's screen
    Look for a listing of New AirPort Base Station
    Just below that, click on AirPort Express
    That will start up the setup wizard. It will take minute to analyze things and then suggest that the Express be configured to extend the AirPort Extreme network.
    Enter a short simple name to call the Express, something like Express2 for example, and click Next
    The utility will set thing up for you. When you see the message of Setup Complete, click Done
    Now move the Express upstairs and power it up. If the signal must pass through a ceiling, that is a tough assignment, since the ceiling is likely absorbing about half of the signal going through
    Report on your results

Maybe you are looking for

  • How do I download tunes from iCloud to my ipad?

    Looks like I have saved a lot of my music in iCloud by mistake, how can I get it  back onto my iPad?

  • Getting error while creating a infotype structure

    Hi Freinds, after creating info type structure, when i am tryng to save ( hitting on local object) , the folloeing error is coming ? how to solve this error ? Package in non-original system only modifiable with Organizer Tools Thanks and Regards Srin

  • Error while running report from Form. i am using Forms 10g.

    dear all, here is a problem when running the report from a fom. gives the pollowing error. REP-110: Unable to open file 'f:\oracle\accano\gl\coa_list.rdf'. REP-1070: Error while opening or saving a document. REP-0110: Unable to open file 'f:\oracle\a

  • How do I change the subject line on incoming email

    On my old PC I could easily start typing in the subject line of a received email.  This would allow me to search for a name later on when looking for an invoice.  I dont know how to change the subject line of an incoming email to my imac?

  • Code and core tables in different schemas

    Hi, My db version : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production I would like to understand, the pros and cons of the following situation: We have a single application. The db design for this application has 44 tables