Learning Java but have problem displaying dialog

I am learning Java by building a Platform based application. I have build the basic structure with several menu items and successfuly build two set of modules (an XML file reader and a set of initilization rouitnes. I amnow branching into a module to execute when a menu item is selected. I want to display a new window/dialog that contains a table showing the user options. However, I never get anythng displayed. The following code is from the menuitem handler. I commented out the logic I want to start working with, in an attempt to get something displayed. No Luck. I really need some help.
public final class EditPreferences implements ActionListener {
     @Override
     public void actionPerformed(ActionEvent e) {
          JFrame frame = new JFrame("User and Project Preferences");
          JPanel panel = new JPanel();
//          JTable table = new JTable( new PrefTableModel() );
//          table.setRowSelectionAllowed(false);
//          JScrollPane pane = new JScrollPane(table);
//          table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
//          panel.add(pane);
          frame.add(panel);
          frame.setVisible(true);
}I have been looking and reading all over the web and cannot figure this out. I think it should work, but is does not.

If "frame" is a JFrame, as it is in your code, then (as of Java 5) frame.add(panel) is the same as frame.getContentPane().add(panel) . See Javadoc for JFrame.add . So, that's not your problem here.
Try calling:
frame.pack();before you call frame.setVisible. And, of course, uncomment the lines. Right now, your JFrame will still look empty, because your JPanel is empty.
If you just want to see if a JFrame will display, you could replace the commented lines with something very simple:
// Default layout of content pane is BorderLayout, default location is BorderLayout.CENTER
panel.add(new JLabel("This is just a test."));

Similar Messages

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Can i connect thunderbolt duo hard drive to the mini display port of a late 2008 macbook pro which do not have thunderbolt port, but have mini display port.

    hi, i have a late 2008 15 inch macbook pro, which have a mini display port.
    I noticed that thunderbolt and mini display port looks a like. So, my question is :
    can i connect thunderbolt duo hard drive to the mini display port of a late 2008 macbook pro which do not have thunderbolt port, but have mini display port.
    thank you

    ken94538,
    no, you’d need a Thunderbolt-to-FireWire adapter or Thunderbolt-to-USB adapter to be able to access your Thunderbolt hard drive from your 2008 MacBook Pro.

  • HT2242 Is it possible to keep the local country but have it display in my language?

    Is it possible to keep the local country but have it display in my language?
    For example I live in Sweden but am English so would like to have the local setting still for Sweden but all text displayed as English.

    Sorry but no, not if you're referring to the iTunes Store. The iTunes Store for Sweden displays only in Swedish; English is not an option.
    Regards.

  • No compilation error but have problems when running.

    Hello all,
    After implementing the examples given from the TextComponentJavaDemo in Java Tutorials I tried to get the fonts to change text in the JEditorPane but to no avail.
    The problem I am having now is some java.lang.Null.PointerException .
    The errors are shown as follows:
    Exception in thread "main" java.lang.NullPointerException
    at guiClient.createActionTable<guiClient.java :191>
    at guiClient.<init> <guiClient.java:52>
    at guiClient.main <guiClient.java:308>
    Here is the whole code for the syntax but it cannot be compiled:
    /* * My GUI Client */
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    //for HTML Headers
    import javax.swing.text.StyledEditorKit.*;
    import javax.swing.text.html.HTMLEditorKit.*;
    import javax.swing.text.html.*;
    import javax.swing.event.HyperlinkListener;
    import javax.swing.event.HyperlinkEvent;
    import javax.swing.event.HyperlinkEvent.EventType;
    import javax.swing.text.html.HTMLFrameHyperlinkEvent;
    import javax.swing.text.*;
    //for layout managers
    import java.awt.event.*;
    //for action and window events
    import java.io.*;
    import java.net.*;
    import java.awt.GraphicsEnvironment;
    import java.util.HashMap;
    public class guiClient extends JFrame implements ActionListener {
    protected static final String textFieldString = "JTextField";
    protected static final String loadgraphicString = "LoadGraphic";
    protected static final String connectString = "Connect";
    static JEditorPane editorPane;
    static JPanel layoutPanel = new JPanel(new BorderLayout());
    static JPanel controlPanel = new JPanel(new BorderLayout());
    static PrintStream out;
    static DrawPanel dPanel;
    static DrawControls dControls;
    static AnimationButtons aControls;
    static String userString;
    static JTextField userName = new JTextField();
    public static JMenuBar menuBar;
    private static JButton connectbutton = new JButton("Connect");
    static boolean CONNECTFLAG = false;
    AbstractDocument doc;
    HashMap actions;
    //create the gui interface
    public guiClient() {
         super("My Client");
    //Create a regular text field.
         JTextField textField = new JTextField(10);
         textField.setActionCommand(textFieldString);
         textField.addActionListener(this);
    //Create an editor pane.
        createActionTable(editorPane); //From TextComponentDemo
        editorPane = new JEditorPane();
         editorPane.setContentType("text");
         editorPane.setEditable(true);
    //set up HTML editor kit
         HTMLDocument m_doc = new HTMLDocument();
         editorPane.setDocument(m_doc);
         HTMLEditorKit hkit = new HTMLEditorKit();
         editorPane.setEditorKit( hkit );
         editorPane.addHyperlinkListener(new HyperListener());
    //Create whiteboard
            dPanel = new DrawPanel();
            dControls = new DrawControls(dPanel);
            aControls = new AnimationButtons (dPanel);
            JPanel whiteboard = new JPanel();
            whiteboard.setLayout(new BorderLayout());
            whiteboard.setPreferredSize(new Dimension(300,300));
            whiteboard.add("Center",dPanel);
            whiteboard.add("South",dControls);
           // whiteboard.add("North",aControls);
         JScrollPane editorScrollPane = new JScrollPane(editorPane);
         editorScrollPane.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
         editorScrollPane.setPreferredSize(new Dimension(250, 145));
         editorScrollPane.setMinimumSize(new Dimension(50, 50));
    //     StyledDocument styledDoc = editorPane.getStyledDocument();
    //put everything in a panel
         JPanel contentPane = new JPanel();
         contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
    //add whiteboard
         contentPane.add(whiteboard);
    //add editor box
         contentPane.add(editorScrollPane);
    //add spacer
         contentPane.add(Box.createRigidArea(new Dimension(0,5)));
    //add textfield
         contentPane.add(textField);
    //set up layout pane
         layoutPanel.add(BorderLayout.WEST,new Label("Name: ")); //add a label
         layoutPanel.add(BorderLayout.CENTER, userName ); //add textfield for user names
         layoutPanel.add(BorderLayout.SOUTH, connectbutton);//add dropdown box for fonts
         contentPane.add(layoutPanel);
         contentPane.add(controlPanel);
         contentPane.add(aControls);
    //Create the menu bar.
            menuBar = new JMenuBar();
            setJMenuBar(menuBar);
    //Build the first menu.
         JMenu menu = new JMenu("File");
         JMenu styleMenu = createStyleMenu();
         menu.setMnemonic(KeyEvent.VK_F);
         menuBar.add(menu);
         menuBar.add(styleMenu);
    //a group of JMenuItems
         JMenuItem menuItem = new JMenuItem("Load Graphic", KeyEvent.VK_L);
         menu.add(menuItem);
            menuItem.setActionCommand(loadgraphicString);
         menuItem.addActionListener(this);
            connectbutton.setActionCommand(connectString);
            connectbutton.addActionListener(this);
         setContentPane(contentPane);
    protected JMenu createStyleMenu() {
            JMenu menu = new JMenu("Style");
            Action action = new StyledEditorKit.BoldAction();
            action.putValue(Action.NAME, "Bold");
            menu.add(action);
            action = new StyledEditorKit.ItalicAction();
            action.putValue(Action.NAME, "Italic");
            menu.add(action);
            action = new StyledEditorKit.UnderlineAction();
            action.putValue(Action.NAME, "Underline");
            menu.add(action);
            menu.addSeparator();
            menu.add(new StyledEditorKit.FontSizeAction("12", 12));
            menu.add(new StyledEditorKit.FontSizeAction("14", 14));
            menu.add(new StyledEditorKit.FontSizeAction("18", 18));
            menu.addSeparator();
            menu.add(new StyledEditorKit.FontFamilyAction("Serif",
                                                          "Serif"));
            menu.add(new StyledEditorKit.FontFamilyAction("SansSerif",
                                                          "SansSerif"));
            menu.addSeparator();
            menu.add(new StyledEditorKit.ForegroundAction("Red",
                                                          Color.red));
            menu.add(new StyledEditorKit.ForegroundAction("Green",
                                                          Color.green));
            menu.add(new StyledEditorKit.ForegroundAction("Blue",
                                                          Color.blue));
            menu.add(new StyledEditorKit.ForegroundAction("Black",
                                                          Color.black));
            return menu;
         protected SimpleAttributeSet[] initAttributes(int length) {
            //Hard-code some attributes.
            SimpleAttributeSet[] attrs = new SimpleAttributeSet[length];
            attrs[0] = new SimpleAttributeSet();
            StyleConstants.setFontFamily(attrs[0], "SansSerif");
            StyleConstants.setFontSize(attrs[0], 16);
            attrs[1] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setBold(attrs[1], true);
            attrs[2] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setItalic(attrs[2], true);
            attrs[3] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setFontSize(attrs[3], 20);
            attrs[4] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setFontSize(attrs[4], 12);
            attrs[5] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setForeground(attrs[5], Color.red);
            return attrs;
        private void createActionTable(JTextComponent textComponent) {
            actions = new HashMap();
            Action[] actionsArray = textComponent.getActions();
            for (int i = 0; i < actionsArray.length; i++) {
                Action a = actionsArray;
    actions.put(a.getValue(Action.NAME), a);
    private Action getActionByName(String name) {
    return (Action)(actions.get(name));
    static private void insertTheHTML(JEditorPane editor, String html, int location) throws IOException {
         HTMLEditorKit kit = (HTMLEditorKit) editor.getEditorKit();
         Document doc = editor.getDocument();
         StringReader reader = new StringReader(html);
         try {
              kit.read(reader, doc, location);
         } catch (BadLocationException e) {}
    //listen for actions being performed and process them
    public void actionPerformed(ActionEvent e) {
    //if the action is from the textfield (e.g. user hits enter)
         if (e.getActionCommand().equals(textFieldString)) {
              JTextField fromUser = (JTextField)e.getSource();
         if (fromUser != null){
    //place user text in editor pane
    //send message to server
                   if (userName.getText() != null) {
                        userString = userName.getText().trim();
                   out.println(userString + ": " + fromUser.getText());
              fromUser.setText("");
         } else if(e.getActionCommand().equals(connectString)) {
              CONNECTFLAG = true;
    } else if (e.getActionCommand().equals(loadgraphicString) ) {
              final JFileChooser fc = new JFileChooser();
              int returnVal = fc.showOpenDialog(this);
              if (returnVal == JFileChooser.APPROVE_OPTION) {
                   File file = fc.getSelectedFile();
                   dPanel.loadImage(file.getAbsolutePath());
                   sendImage(file);
    //append text to the editor pane and put it at the bottom
    public static void appendText(String text) {
         if (text.startsWith("ID ") ) {
              userString = text.substring(3);
         } else if (text.startsWith("DRAW ") ) {
              if (text.regionMatches(5,"LINE",0,4)) {
    dPanel.processLine(text);
         }else if (text.regionMatches(5,"POINTS",0,5)) {
         dPanel.processPoint(text);
         } else if (text.startsWith("IMAGE ") ) {
    int len = (new Integer( text.substring(6, text.indexOf(",")))).intValue();
    //get x and y coordinates
         byte[] data = new byte[ (int)len ];
         int read = 0;
    try {
         while (read < len) {
         data = text.getBytes( text.substring(0, len) );
    } catch (Exception e) {}
         Image theImage = null;
         theImage = dPanel.getToolkit().createImage(data);
         dPanel.getToolkit().prepareImage(theImage, -1, -1, dPanel);
         while ((dPanel.getToolkit().checkImage(theImage, -1, -1, dPanel) & dPanel.ALLBITS) == 0) {}
              dPanel.drawPicture(0, 0, theImage);
    } else {
    //set current position in editorPane to the end
              editorPane.setCaretPosition(editorPane.getDocument().getLength());
    //put text into the editorPane
              try {
                   insertTheHTML(editorPane, text, editorPane.getDocument().getLength());
              } catch (IOException e) {}
    } //end of appendText(String)
    public void sendImage(File file) {
    //find length of file
         long len = file.length();
    //read file into byte array
         byte[] byteArray = new byte[(int)len];
         try {
              FileInputStream fstream = new FileInputStream(file);
              if (fstream.read(byteArray) < len) {
    //error could not load file
              } else {
              out.println("IMAGE " + len + ",");
                   out.write(byteArray, 0, (int)len); //write file to stream
         } catch(Exception e){}
    //run the client
    private static void createAndShowGUI() {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    final guiClient frame = new guiClient();
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
         String ipAddr=null, portNr=null;
              if (args.length != 2) {
                   System.out.println("USAGE: java guiClient IP_Address port_number");
                   System.exit(0);
              } else {
         ipAddr = args[0];
              portNr = args[1];
              JFrame frame = new guiClient();
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) { System.exit(0); }
              frame.pack();
              frame.setVisible(true);
              while(CONNECTFLAG == false){}
    //sames as previous client,
    //set up connection and then listen for messages from the Server
              String socketIP = ipAddr;
              int port = Integer.parseInt(portNr);
    //the IP address of the machine where the server is running
              Socket theSocket = null;
    //communication line to the server
              out = null;
    //for message sending
              BufferedReader in = null;
    //for message receiving
              try {
              theSocket = new Socket(socketIP, port );
    //try to connect
              out = new PrintStream(theSocket.getOutputStream());
                   dPanel.out = out;
    //for client to send messages
              in = new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
                   BufferedReader userIn = new BufferedReader(new InputStreamReader(System.in));
                   String fromServer;
                   while ((fromServer = in.readLine()) != null) {
                   appendText(fromServer);
                   if (fromServer.equals("BYE")) {
                        appendText("Connection Closed");
                        break;
              out.close();
    //close all streams
              in.close();
              theSocket.close();
    //close the socket
         } catch (UnknownHostException e) {
    //if the socket cannot be openned
              System.err.println("Cannot find " + socketIP);
              System.exit(1);
              } catch (IOException e) { //if the socket cannot be read or written
              System.err.println("Could not make I/O connection with " + socketIP);
              System.exit(1);
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    Can someone tell me what's the problem with the syntax?

    For your nullPointerException, you have to create your textPane before calling createActionTable          editorPane = new JEditorPane();
              createActionTable(editorPane); //From TextComponentDemoAlso, I would like to point out the following :
    - you're creating your guiClient twice in the main method : at the beginning and at the end through the createAndShowGUI.
    - for no apparent reason, all your member fields are declared static.
    - naming conventions : class names must start with a capital letter.

  • HT2452 i downloaded a new java - but having problems connecting to a remote computer. how can I go back to how my imac was configured 2 hours ago?

    greetings.
    is there a way to restore my iMac to how it was 2 hours ago? kinda like a system restore in PC if I wanted to revert back..  any ideas?  I downloaded a new Java and I dont know how to configure it.  When trying to log into my work computer it said old version of Jave not supported but earlier in the day I had no problems.  Now I can't get past the launch page on my SecureID -  does this sound familiar to anyone or is it foreign??  Not sure if i need to call my comapany's desktop support

    Hi Bill,
    Locate the version of Java that’s installed on your Mac OS X system.
    1. Open the Utilities folder and run the Terminal application.
    2. Type java -version and press Enter.
    (space between java & -v important)
    The version of Java that you have installed will then be displayed on the screen.
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality
    http://support.apple.com/kb/HT5559

  • Why can version 3.16.6 have problems displaying more than nine posts in a forum thread when IE7 does so with ease?

    In a forum that I have been using for the last several years, I posted a problem. When I tried to reply to post #9 in that thread, my post would not appear. I tried again and still my post did not appear.
    I then opened IE7, navigated to that forum and thread. IE7 displayed all 13 posts.
    I have no problems adding to long threads in other forums. If it helps you, I am including a link to the thread I'm having problems with.
    http://www.bt3central.com/showthread.php?t=53395

    The slowness may be caused by background processing after the library update. Are you shooting RAW?
    Also, where is your iPhoto library stored? In your Pictures folder or on an external drive?
    How much free storage do you have on your system drive
    3. Finally when my old folders, books and contents of my old photo gallery appears in the left side of the application I have access to no photo and the program remains as it were unresponsive.
    You may need to repair your iPhoto Library.
    Run the iPhoto library first aid tools and use the options "Repair permissions" and "Repair database".
    To launch the "First Aid Tools" hold down the options-command keys while double clicking your iPhoto Library.
    Then select "Repair Database". Repeat with "Repair Permissions". If this does not help, back up your iPhoto Library and use the option "rebuild".

  • Why am I getting this message: Yahoo! Mail found the original email, but encountered problems displaying it. Please try again later?

    I do not have ghostery but I'm still getting this message. It's been happening for the last few days.
    I cannot reply to or compose yahoo email with the firefox browser.
    I can receive yahoo email in firefox, just can't reply to them.
    What needs to happen to be able to use my yahoo email in firefox like I used to?

    Hi funkiernyou,
    What extension or addon was causing the problem? This is an issue I am investigating right now and any insights would help. Ghostery was only lead we had originally. If you know of something else, please let us know.
    Matt

  • PDF forms have problems displaying text and only appears when the field is selected

    Hello,
    I created some pdf forms to distribute to the company clients. But we are having some people complaining about the text visibility. When they have work in team, the pdf that they receive from a third person often appears unfill or without text, the text is only visible when the field is selected. I need to find a solution for this because our company products are base on this forms.
    If there is any addition information that I should add to understand what is happening and how to fix it, I'll be happy to write it.
    In the company, we all have mac and the forms where created innitially in Adobe acrobat 9 pro, but we have now Adobe acropabt XI pro.
    The users have both Mac and Windows systems.
    Thank you,

    This is usually caused by the form being filled-in and saved by a Mac user who is using the Preview application to view the PDF. More information is here: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html
    It is a good idea to inform your users that Adobe Reader (or Acrobat) should be used to work with the forms.

  • I have purchased numbers with a gift card for my iPad, but have problems doing the same for my iMac. it keeps on telling me unknown error when i press "buy zoo"

    I have purchased numbers for my ipad with a gift card and have sufficient credit. I wanted to aslo buy the version for the imac, but it keeps on telling me "unknown eror" when i press buy app.

    Credit from a gift card is tied to your Apple ID & can be used in the iTunes Store or the Mac App Store. I'm not sure if it works in the online Apple Store, though. You do need to be running at least Snow Leopard 10.6.6 to access the Mac App Store. Click on the buy link on this page to open the Mac App Store to Numbers.

  • I am learning java and have a zipfile question.

    Is it possible to modify the strings in the compressed text files(In Zip format) without extracting them into a seprate directory. If it is would you please post a little example code. Any help would be appreaciated.
    Thanks!!!

    Hi,
    I don't think it's possible to do that or I haven't seen anyone can do that. I think with the zip files, the structure of these files is compressed to make the size of files smaller, so firstly you have to unzip it back to the normal status then you can modify it by coding or something.
    Have a good day.

  • Best way to learn Java. Free resources online?

    Hello. I would like to start to learn Java but have no programming background except for Visual Basic and the basics of PHP. I started to learn about a week ago and now have a good understanding of some of the basic concepts, such as the IF, SWITCH, LOOPS, PRINTLN, ect. I am very interested in developing applications for the Blackberry and was wondering where I should start and what I should learn. Must I learn the entire Java programming language to start to develop mobile applications? Are there any free resources on the Sun Java website that would be able to help me learn?
    Thank you
    Edited by: n3xtgen on May 20, 2010 12:27 PM

    n3xtgen wrote:
    Must I learn the entire Java programming language to start to develop mobile applications?Depends on what you mean by "entire Java programming language". You should probably have a solid understanding of the language and concepts before attempting mobile development.
    The Java language itself is the same when developing for mobile devices (except you may be forced to rely on an older version of the language). But debugging/deployment/running your code becomes more complicated as soon as you target mobile devices.
    Therefore I suggest you take some time to learn "normal" Java development. It will definitely pay of in the long run.
    Are there any free resources on the Sun Java website that would be able to help me learn?There are [the tutorials|http://java.sun.com/docs/books/tutorial/]. They are pretty useful.

  • AS Droplet in XCode - Problem with display dialog with title

    hi,
    i am using XCode to create an AS droplet.
    wondering why i cant set a title to my display dialog code.
    during search in this forum i found this thread:
    http://discussions.apple.com/thread.jspa?messageID=6364939&#6364939
    but to be honest, i didn't expect that i am limited in Xcode too.
    Short code example:
    display dialog "foo"
    works
    but
    this code:
    display dialog "foo" with title "bar"
    not.
    Would be great to find a workaround to get dialogs with titles.
    And on the other hand to understand why i cant use title in Xcode.
    btw: is it possible to format the output of a display dialog ?
    i.e. creating new lines ?
    best regards
    fidel

    Hello
    I'm not sure but you may try 'run script' to invoke 'display dialog' of Standard Additions.
    Something like this.
    --SNIPPET
    set t to "line 1
    line 2
    line 3
    line 4"
    run script "display dialog \"" & t & "\" ¬
    with title \"Testing\" ¬
    buttons {\"OK\"} default button 1"
    --END OF SNIPPET
    As for 'display dialog' in AS Studio, it differs from and overrides 'display dialog' command in Standard Additions. Don't know why it does not have 'with title' which is rather new parameter introduced with AS 1.10 (OSX 10.4).
    cf.
    AppleScript Studio Terminology Reference (pdf)
    Panel Suite > Terminology > Commands > display dialog
    Regards,
    H
    Message was edited by: Hiroto

  • Oaf requirement:have to display the order number but save the order id

    this is a standard practice with d2k forms.i have a requirement where in i have to store the order id in the table but have to display the user with the corresponding order numbr at all times..can any1 please help me with this***urgent***

    Hooray! I get to post my daily reply saying the following:
    OA Framework is so radically different than just straight Java coding that Oracle has a separate [url http://forums.oracle.com/forums/forum.jspa?forumID=210] forum for OA Framework.
    That is the appropriate place for this question.

  • Is it worth to start learning Java

    Today I saw a post in JavaRanch (http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=33&t=017317). A guy asked a question for his friend about STARTING to learn Java NOW. Actually, I heard quite same question from people around myself.
    For myself, I've been working on Java more than 7 years(already SCEA, hehe). However, the Java passion is getting away ;-((, I am looking around for other stuff like Ruby.
    I have same confusion as that guy, and I'd like to learn from you guys for same question - for the current market situation, it is late/okay to touch Java?

    thank for all the input.
    my concerns are, particularly for newcomer, the
    learning curve and the market trend.
    my understanding is Java is losing its powder in web
    application development comparing with other emerging
    language like Ruby/Python, conversely, Java's powser
    is going to server side(business/integration layer).Don't be so sure about that.
    Java's not losing powder [sic] in web app development. It's mature and considered a standard for enterprise scale problems. Ruby and Python are gaining traction for smaller CRUD-like Web apps, but neither is up to snuff in the areas of security and transactions. Ruby is gaining popularity because of Rails, which makes creating simpler web apps easy.
    Criticism of Java for complexity and a dearth of tools is fair. But are Trails, Grail, and AppFuse strong enough answers to Rails such that Java EE can be more agile for smaller apps? Time will tell. I think Spring and Hibernate are helping a great deal, more than EJB 3.0 will.
    everybody knows it is hard thing to learn java,It's hard to learn anything, period. Programming in any language is a long learning curve, because it's so much more than just language syntax. You don't do enterprise apps just by learning Java, even if you stick to the EE platform. You have to know SQL and relational databases, messaging, XML, HTML, JavaScript, HTTP...the list is pretty long. All those technologies carry over to .NET and Ruby and anything else, so it's not just Java that's complex. Enterprise problems are complex.
    And once you know all that, there's the problem of designing elegantly. It's a long climb no matter which language is on top.
    regarding to server side programming for a java
    newbie, it would be much harder to learn, further, it
    will take you long long time to learn server side
    java programming.
    however, the job market (java) is still hot, and
    seems to keep hot. and people still wanna jump in.It's still good, just not crazy like it was at the end of the 90's. There is the problem of competition from China, India, Vietnam, etc. that won't go away. But what field hasn't been affected by global competition? Only those areas where you have to touch the client, like auto mechanics. Even medicine has been affected - x-rays can be read anywhere in the world.
    So, still confused to tell people whether or not to START java...;-((If you like programming, jump in. Learn Java, but it's more important to learn those bedrock technologies (e.g., data structures, compilers, parsers, finite automata, decomposition, relational databases, etc.) and learn how to learn. Languages will come and go. When I jumped into this field ten years ago C++ and Corba were the rage and Java didn't exist. Now I make a living writing Java. I'm reading about Ruby and Rails now, just dipping my toes into the water.
    None of us are any better prophets than you are. I don't know what will happen or if Java will still be here ten years from now. COBOL and FORTRAN were born in the 50s, and both are very much with us today.
    Just stop whining about it. Do what makes you happy, and stop worrying about what other people think.
    %

Maybe you are looking for

  • "Access denied" when opening report on RAS Server

    I'm sure I'm doing something wrong, but I've only been able to open a report using the rassdk protocol from the server where my java code is running.    This is fine, but I was hoping for efficiency sake that I could have reports reside on the RAS se

  • Value must be of type integer (between -2147483648 and 2147483647)

    Hi, Does anyone knows how to overcome this issue? NW7.01.05 My Table in the View uses as dataSource a node called "DumpReport" - This has been created using a Structure type Zwd_S_Dumpage_Data. The structure has some elements, and my issue is in the

  • Bonjour Wont start (Error 6)

    I seem to be yet another person having trouble getting bonjour to install correctly. I am currently running on windows 7 64 bit, i can get itunes to install fine but i get warnings about bonjour not starting resulting in not being able to access remo

  • Using Table types in RFC

    Hi All, I am trying to create one RFC. But in that RFC, I wish to use Table types as import and export parameters completly avoiding Tables tab. Will that effect the performance of RFC if I use Table types. If Yes, Please give clear clarification whe

  • How to Get Millisec from Sysdate

    Hello all How to get millisec from sysdate. Pls let me know da query ..