I need suggestion about the way , method, or path of learning GUI

Since there are many IDEs that are capable of developing the Java GUI quickly, one of my friend suggest me to learn GUI using code instead of drag and drop GUI component. He said when your boss ask you to fix the error/bug for the front-end part of the program, which is written in code only.
Another situation is that when you are working with a team and your team members using code instead of these drag&drop, he said i have to adapt to using these code to write the GUI.
Actually he has point. what do you guys think? please post your opinion.

roadorange wrote:
Since there are many IDEs that are capable of developing the Java GUI quickly, one of my friend suggest me to learn GUI using code instead of drag and drop GUI component. You should go through the Swing tutorial and perhaps the 2D demo that comes with the JDK. Look at the code, run the examples, step through it or whatever you want. But I personally don't think you get much (except a massive, lasting headache) from writing the code by hand.
He said when your boss ask you to fix the error/bug for the front-end part of the program, which is written in code only.Huh?
Another situation is that when you are working with a team and your team members using code instead of these drag&drop, he said i have to adapt to using these code to write the GUI.I'm starting to lose you here...
Actually he has point. what do you guys think? please post your opinion.I say use the GUI tools (don't fight evolution)

Similar Messages

  • TS1702 when I am installing a new free app on my iphone , 'm asked about the way of payment . I check the none option in my apple Id account but it wouldn't be accepted . what should I do ?

    hi , I faced with a new problem recently while installing a free app.
    when I am installing a new free app on my iphone , I'm asked about the way of payment . I check the none option in my apple Id account but it wouldn't be accepted . what should I do ?
    regards

    You need to ask Apple for assistance with getting back into your old ID. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to resolve this issue through the Account Security team, fill out and submit this form.
    (118441)

  • Suggestions about the best tool for quality check for an ADF application

    Hi All,
    I need a few suggestions about the best tool for quality check in our ADF applicaiton.
    ours is a small size WebCenter Portal application which neither uses any task flows nor consumes any portlets.
    It has many jspx pages that use ADF components like table etc, consume web services using web service clients, and has some java classes.
    We have come across below option to implement the code quality tools.
    1. Jdeveloper inbuilt Staus option in View tab
    2. PMD extension for Jdeveloper
    3. Red Samurai
    Few more suggestions or best practices would be really helpful.
    Thanks,
    Usha

    Some general ADF / Webcenter coding standards -
    http://umeshagarwal24.blogspot.com/2012/06/adf-coding-standards-check-points.html
    You can use JAudit as well as mentioned in the blog.

  • I am novice to LabView programmin​g. Any suggestion about the the good programmin​g style will be of great help. Thanks.

    I just wrote a small program for reading a ASCII file and writting the numbers to Arrays. Files are enclosed for reference. Any suggestion about the programming style quality or what is the best way for LabView programming will be of great help. Thanks in advance.
    Attachments:
    Reading_Text_File_into_Array.vi ‏32 KB
    37a8176a.cr5 ‏1 KB

    I'm home from work today so ... here's my modification to your VI. Use it with you existing data. As you get more exposed to LV's existing tools, you'll discover the shortcuts. No loops are necessary for your task.
    Hope this helps.
    - Kevin
    Attachments:
    Reading_Text_File_into_Array_New.vi ‏47 KB

  • Need suggestion on the entire hardware specs for running Oracle VM 2.2.2

    Hi,
    I need some suggestion on the preffered hardware specs which can be given to a customer, he wants to run Oracle VM 2.2.2 or Oracle VM 2.2.1.
    He has already used Cisco UCS with NetApp storage for OVM 2.2.2/2.2.1 and has being unsucessful with lots of issues creeping up. Thus now need suggestion on the hardware spec which is well tested and works fine with Oracle VM 2.2.2/2.2.1 and he wants to run Oracle Fusion Middleware on top of it.
    Any poniters to it will be highly appreciated.
    Regards,
    Sk

    887469 wrote:
    Hi Avi,
    thank you for that information !
    Yes. But only for the UCS gear that uses the converged FCoE adapters. If you have standard Ethernet/FC adapters, then it should be OK.We do use the "M71KR-Q QLogic Converged Network Adapter" with UCS. According to you this is an unsupported combination together with OVM 2.2.1, right ?
    Now the "Oracle VM 2.2 Validated Configuration Details" shows UCS B200 M1 with M71KR-Q as a valid configuration. Does 2.2 mean OVM 2.2.0 and this is supported, but 2.2.1 / 2.2.2 is not ?
    Please clarify since this confuses me.
    Best Regards and TIAAny news for me, please ?
    THX

  • Need help about the SHA Message Digest ? & what is use of Message Diagest ?

    need help about the SHA Message Digest ? & what is use of Message Diagest ?
    1>i have one program of making message digest
    2>which requires two files name
    3>one for input like txt
    4> second is out put file of message digest
    can any one tell what is the use of second generated file .

    MessageDigest md = MessageDigest.getInstance("SHA");
    FileInputStream fis = new FileInputStream(args[0]);
    byte[] b = new byte[1024];
    int readed = -1;
    while((readed = fis.read(b)) > 0)
         md.update(b, 0, readed);
    fis.close();
    FileOutputStream fos = new FileOutputStream(args[1]);
    byte[] d = md.digest();
    StringBuffer sb = new StringBuffer();
    for(int i = 0; i < d.length; i++) {
         String str = Integer.toHexString(d[i] & 0xff);
         sb.append(str.length() < 2 ? "0" + str : str);
    fos.write(sb.toString().getBytes());
    fos.close();

  • Fix this problem please fix this iphone is currently linked to an apple id need to know the way to fix it

    Hello ,
    Need to know the best way to fix this problem this iphone is currently linked to an apple id need to know the way to fix it
    Best Regards

    The ONLY fix is to know the Apple ID/Password that was originally used to activate the phone. If you don't know this info, then the phone will be useless to you. Apple can't/won't help you.
    There is no other fix.

  • A question about the getProperty method defined in the Security class

    Hello Everyone!
    I would like to ask a question about the getProperty method defined in the
    Security class.
    public static String getProperty(String key) Do you know how can I exract the list of all possible keys?.
    Thanks in advance,

    I found the answer, in fact the keys are defined in the java.security file.

  • Help needed in overriding the finalize() method!

    Hi
    I need some help in overwriting the finalize() method.
    I have a program, but at certain points, i would like to "kill" a particular object.
    I figured that the only way to do that is to make that object's class override the finalize method, and call it when i need to kill the object.
    Once that is done, i would call the garbage collector gc() to hopefully dispose of it.
    Please assist me?
    Thanks
    Regards

    To, as you put it, kill an object, just null it. This
    will be an indication for the garbage collector to
    collect the object. In the finalizer, you marely null
    all fields in the class. Like this:
    public class DummyClass
    String string = "This is a string";
    Object object = new Boolean(true);
    public void finalize() throws Throwable
    super.finalize();
    string = null;
    object = null;
    public static void main(String[] args)
    //Create a new object, i.e allocate an
    te an instance.
    DummyClass cls = new DummyClass();
    //Null the reference
    cls = null;
    This is a pointless exercise. If an object is being finalized, then all the references it contains are about to cease being relevant anyway, so there's no purpose to be served in setting them to null.
    All that clearing a reference to an object does is to clear the reference. Whether the object is subsequently finalized depends on whether the object has become unreachable.
    Directly calling finalize is permitted, but doesn't usually serve any purpose. In particular, it does not cause the object to be released. Further, calling the finalize method does not consitute finalization of the object. Finalization occurs when the method is called as a consequence of a garbage collector action.
    If a variable contains a reference to an object (say a table), and you want a new table instead, then create a new table object, and assign its reference to the variable. Assuming that the variable was the only place that the old table's reference was stored, the old table will, sooner or later, get finalized and collected.
    Sylvia.

  • Need info about the parameter _FIX_CONTROL in a BW environment

    Hi ,
    I have done some research about the parameter FIXCONTROL and went through the SAP note 1165319.
    We have a task at hand where SAP has recommended a new value to be added to this parameter in a BW production environment.
    Now in the above note there are an entire set of values which this parameter can take up.
    I have understood to some extent that this has to do with this Fixes if case of any issues.
    last month we have upgraded the oracle version of the database from 10.2.0.2 to 10.2.0.4.
    Can anyone help me in understanding what this MergeFix is all about?
    I need to better understand this concept.
    Thank you.
    Regards,
    Hari Kishan.

    Hello,
    still not sure if I fully understood your question; but the recommended approach regarding patches is:
    1) Apply all the interim patches recommended by SAP. For Oracle 10.2.0.4 these will those from SAP note 1137346. The merge fix from SAP note also 1165319 is mentioneded there.
    And by the way, SAP note 1137346 is updated about once a month; new patches may be added, old ones may be removed. SAP recommends to follow accordingly; but if there aren't any problems, you might want to you keep your current state for a longer period.
    2) Read all the SAP notes mentioned there. You may have to do additional tasks like setting Oracle parameters, FIXCONTROL or others. The value you have to set now may or may not be mentioned in one of these notes, I can't know.
    3) If you encounter some problem, first search in SAP notes, or if necessary open a support call with SAP. You may then have to apply additional patches and set addtional values for FIXCONTROL.
    And yes, this way the list of required patches may become specific to each customer, as customer requirements are specific.
    But it would be difficult to find the exact list of needed patches in advance.
    I think a BW consultant who is familiar with Oracle installations will tell you something similar. One who is very experienced in your scenario might also be able to recommend additional patches in advance.
    regards

  • Need Suggestion on the xml parser to be used in weblogic env.

    Hi All,
    1. I would like to know what is the parser suggested to be used when our application is running in the weblogic env. We have xerces parser already shipped in along with jdk and oracle's xdk parser is also available in the env.
    Kindly let me know what is the suggested one to use?
    2. In one of our applications, jaxp factory (javax.xml.parsers.DocumentBuilderFactory) is explicitly set to xerces's (com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl).
    Now when we changed it to use oracle xdk parser (oracle.xml.jaxp.JXDocumentBuilderFactory), We are running in to issues like 'IllegalArgumentException :not able to set Schema in setAttribute()' as a File Type.
    Previously, we used to set the Schema as File Type when xerces parser is used and that used to work fine.
    Kindly let me know the way which is accepted by both the parsers.
    Thanks
    Rajesh

    Use the default parser.
    By default, WebLogic Server is configured to use the default parser and transformer to parse and transform XML documents. The default parser and transformer are those included in the JDK 5.0.
    The built-in WebLogic Server DOM factory implementation class is com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.
    The DocumentBuilderFactory.newInstance method returns the built-in parser.
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();

  • Need Suggestion on the Design of a New Workbench

    Hi All,
    I need a suggestion on the design of agreement workbench..
    The requirement goes this way...
    We will have workbench main screen, where header and line details will be entered manually ( or sourced from legacy system). On the main screen, there will be few buttons, clicking upon which will open the subforms (around 6-8 screens) or supporting details (the data can be entered or interfaced).
    We have two approaches.
    1. Keeping everyithing in a single .fmb file
    2. Creating one .fmb file for the main screen and different .fmb files for each of the individual screens and calling them from the main screen.
    Please suggest the best approach considering all the factors like maintanance, user friendlyness, switching b/w the main and child forms and all other possible factors which can make difference.
    Thanks in advance!.
    Thanks,
    Pavan

    Hello,
    All I can say is that small modules are faster to load and easyest to maintain.
    Francois

  • Need suggestion about a fast XML parser

    I have a program which needs to parse lots of XML files of sizes varing from few MBs to hundreds of MBs. It needs to parse the file in one-pass, and for which the SAX approach is best suited. I initially tried coding this program using the SAX parser provided by Java library, but it takes way-way too much time to parse the files. I then googled out Piccolo XML Parser, but it throws ArrayIndexOutOfBound exception. Furthermore, sometimes XML files could terminated prematurely.
    Can you suggest any SAX XML parser for this job?

    I am pasting here a trimmed version of my code..... sorry this is not the simplified and complete in itself version as the norm is.
    public Vector<String> search(String dumpfile, String srfor, int type, long size, boolean showTTH, boolean phpSerialize, String hubname) {
         Vector<String> results = new Vector<String>();
         try {
             SAXParserFactory factory = SAXParserFactory.newInstance();
             SAXParser parser = factory.newSAXParser();
             BufferedInputStream ubin = new BufferedInputStream(new FileInputStream(dumpfile));
             ubin.read(new byte[2]); //To discard the starting BZ flag.
             CBZip2InputStream bin = new CBZip2InputStream(ubin);
             String line = null;
             int c=0;
             line = "";
             while((c=bin.read())!='\n' && c!=-1) line = line + (char) c;
             String dnt = line;
             if (c==-1){// (line == null){
              dnt="";
              return null;
             line = "";
             while((c=bin.read())!='\n' && c!=-1) line = line + (char) c;
             if(c==-1)// (line == null)
              return null;
             if (!phpSerialize)
              results.add("Dump's Date and Time stamp: " + dnt + "\n==========================\n"+"hubname: " + line);
             else
              results.add("$" + dnt +"\n"+"|" + line);
             if(hubname!=null && !line.trim().toLowerCase().contains(hubname.toLowerCase().subSequence(0, hubname.length()))){
              results.add("No hits.");
              return results;
             while((c=bin.read())!='\n' && c!=-1);
             FilelistHandler handler = new FilelistHandler(srfor,type,size,showTTH,phpSerialize,hubname,results);
             try{
              parser.parse(bin, handler);
             }catch(org.xml.sax.SAXParseException saxe){
              saxe.printStackTrace();
             if(results.size()==1){
              results.add("No hits.");
         } catch (FileNotFoundException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
         } catch (IOException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
         } catch (ParserConfigurationException e) {
             e.printStackTrace();
         } catch (SAXParseException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
             System.err.println("Line: "+e.getLineNumber()+"; Col:"+e.getColumnNumber());
         } catch (SAXException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
         return results;
    private class FilelistHandler extends DefaultHandler {
         static final int USER = 0;
         static final int FILE = 1;
         static final int DIR = 2;
         static final int ANY = 3;
         static final int UNKNOWN = 4;
         private Vector<String> results;
         Vector<String> dirs = new Vector<String>();
         private String srfor;
         private int type;
         private int level = -1;
         private long size;
         private boolean showTTH;
         private boolean phpSerialize;
         private String hubname;
         private String currentUser;
         private String currentIP;
         public FilelistHandler(String Srfor, int Type, long Size, boolean ShowTTH, boolean PhpSerialize, String Hubname, Vector<String> res) {
             srfor = Srfor.trim().toLowerCase();
             type = Type;
             size = Size;
             showTTH = ShowTTH;
             phpSerialize = PhpSerialize;
             hubname = Hubname;
             results = res;
         public void startElement(String uri, String lname, String qname, Attributes attrs) throws SAXException {
             String result = null;
             long currsize = 0L;
             String TTH = "";
             String value = "";
             int currType = UNKNOWN;
             if (qname.equalsIgnoreCase("Directory")) {
              value = attrs.getValue("Name");
              dirs.add(attrs.getValue("Name"));
              currType = DIR;
             } else if (qname.equalsIgnoreCase("user")) {
              currentUser = attrs.getValue("username");
              currentIP = attrs.getValue("ip");
              currType = USER;
             } else if (qname.equalsIgnoreCase("File")) {
              value = attrs.getValue("Name");
              currsize = Long.parseLong(attrs.getValue("Size"));
              TTH = attrs.getValue("TTH");
              currType = FILE;
             if (currType == FILE || currType == DIR) {
              // Searching.
              boolean found = false;
              result = currentUser + ":" + currentIP + ":" + (currType == FILE && showTTH ? TTH + ":" : "") + getPwd(dirs);
              if (result.trim().toLowerCase().contains(srfor.subSequence(0, srfor.length())) || currType == FILE && TTH.equalsIgnoreCase(srfor)) {
                  found = true;
              if (type != ANY && currType != type)
                  found = false;
              if (size >= 0 && currType == FILE)
                  if ((size == 0 && currsize != size) || (size != 0 && (((double) (Math.abs(currsize - size))) / size) > 0.1))
                   found = false;
              if (found) {
                  if (!phpSerialize) {
                   if (currType == FILE)
                       result = result + "/" + value;
                  } else {
                   int index = 0;
                   result = serializeEntity(index++, currType == FILE ? "f" : "d");
                   result = result + serializeEntity(index++, currentUser);
                   result = result + serializeEntity(index++, currentIP);
                   if (currType == FILE && showTTH)
                       result = result + serializeEntity(index++, TTH);
                   result = result + serializeEntity(index++, getPwd(dirs));
                   if (currType == FILE)
                       result = result + serializeEntity(index++, value);
                   result = "a:" + index + ":{" + result + "}";
                  results.add(result); // ADDING THE RESULT.
         public void endElement(String uri, String lname, String qname) throws SAXException {
             if (qname.equalsIgnoreCase("Directory")) {
              dirs.remove(dirs.size() - 1);
         private String getPwd(Vector<String> dirs) {
             String pwd = "";
             for (String dir : dirs) {
              pwd = pwd + "/" + dir;
             return pwd;
         private String serializeEntity(int index, String s) {
             return "i:" + index + ";s:" + s.length() + ":\"" + s + "\";";
         public Vector<String> getParsedData() {
             return results;
        }

  • I need answers about the iCloud - Please help

    Hi guys, well I have a few iOS devices, 2 ipads, and an iphone. Well, I got a few questions to ask.
    1. Ok, on my iphone on settings on the icloud bit, I have my iphone back up aswell as the 2 ipads. What will happen if I delete the back up for 1 of the ipads. Like, I don't know whats on the back up. And If I want a new back up for the ipad, how to I create 1?
    2. On the icloud section with all 3 ios devices, my 5gb of storage is full, and each device has a bit of storage used up by it. The iphone - 1.7gb, ipad 1 - 600 mb... And it all adds up to around 5gb. But what I don't understand is, on 1 of the ipads it says I've used up 17gb of storage (not icloud), so why has the icloud only stored 600 mb of it? Shouldn't it store like the whole 5gb? I really don't know... I need all the info about the icloud. And yes I've read all of it on this website but none of it helps.
    3. Since it say the icloud storage is full, how do i get more storage, should I just buy more, or is there another way?
    All I know is, if I have icloud set up on all 3 of my devices, what ever i buy on 1 devices it goes on the other 3.
    And that, i have a back up with all my music n stuff in, just incase something goes wrong. Please help! Thanks!

    iCloud Support
    http://www.apple.com/support/icloud/
    iCloud Help
    http://help.apple.com/icloud/?lang=en

  • How do I complain about the way a support issue was handled?

    I'm very grateful that a long standing and reoccuring issue with the disabling of my account seems to have been solved.  What I am NOT happy about is the email I received at the end of the long battle accusing me of violating the ITunes Store agreement or maybe even having bought an ID and password online somewhere.  I didn't even know you could DO that.  I've had the same old Classic IPod for years and a Shuffle I don't use, and I'm seriously not savvy enough to bypass the legal methods of buying things--nor would I ever try!
    So to get this really insulting letter warning me not to do things I never thought of or knew I could do before anyone even talked to me or told me about what they'd discovered was a total shock.  I talked to several support techs by phone, and none of them ever mentioned anything to me about any viiolations or anything else.  I sat while the tech chatted with a higher up, and I was told that I would receive an email soon.  And BOY, did I receive an email!
    Perhaps some people who cheat the system would call and brazenly ask to have their account investigated and re-enabled...nothing surprises me anymore.  But I wouldn't.  And I feel as if someone should've told me what they suspected or asked me if I myself might've noticed anything odd about my account, before they just assumed that I had done something "illegal."
    I'm wondering if I need to change my ID and password again, for my OWN protection, and to keep my account from being compromised.  But most of all, I feel as if should there be another issue with my account, I should be allowed to speak to someone before I'm permanently "banished," so that I can at least try to plead my case.
    Right now, Apple is assuming I'm guilty of things I don't even know how to do.  What a slap in the face after years of buying from the ITunes Store without any problems, and buying several IPods and more for friends and family!

    IT seems you are wound up over nothing.
    They do not know you.  It is the same letter they would send to anyone in this instance.
    Not sure why you are taking it personally.
    Relax.  Let it go.  Your issue is resolved.
    No one at Apple is assuming anything.  You simply got the letter everyone gets in this situation.  No one at Apple is sitting around discussing you at all.

Maybe you are looking for

  • New Video iPod will not connect

    I have a new video ipod that will connect on one computer but not the one I want to use. I have reloaded itunes several times and checked firewall. When I plug the ipod in the computer makes three dings. Is this an error code of some type? It will no

  • IPhone not showing up in iTunes or shows up as "imaging device" - Win XP

    SOOO glad I waited in line for several hours today!!! Anyone having issues with getting the iPhone to show up on a Win XP Pro machine??? I have tried to get the iphone working on two separate laptops, one a Dell M70 and the other a Dell M60, both Win

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

  • Custom Subtypes for IT0021 not appearing in ESS

    We are in ECC 6.0 and using custom subtypes like FM01 - FM06 for IT0021 (Family Member/Dependents). Now we are doing ESS implementation and we are not able to display Family details through ESS. I have maintained the subtypes in table V_T7XSSPERSUBTY

  • Anyone used PL/FLOW with APEX in Oracle 11g?

    Greetings. I'm trying to find out if any of you have successfully used SourceForge's PL/FLOW with APEX in an 11g environment. References to PL/FLOW seem to be limited to 9i and I need to have some assurance that it would be compatible in a more updat