Help needed in getting applet working

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class murali1 extends JApplet{
     private Container contain;
     private GridBagLayout grid;
     private GridBagConstraints c;
* Create the GUI and show it.
public murali1() {
          //super("Assignment 1");
//Create and set up the window.
JFrame frame = new JFrame("Assignment 1");
          //Menu
          JMenuBar bar = new JMenuBar();
          JMenu file = new JMenu("File");
          bar.add(file);
          JMenuItem open = new JMenuItem("Open");
          file.add(open);
          open.addActionListener(new ActionListener(){
          public void actionPerformed (ActionEvent e)
          JMenuItem save = new JMenuItem("Save Random");
          file.add(save);
          save.addActionListener(new ActionListener(){
          public void actionPerformed (ActionEvent e)
          JMenuItem exit1 = new JMenuItem("Exit");
          file.add(exit1);
          exit1.addActionListener(new ActionListener(){
          public void actionPerformed (ActionEvent e)
               System.exit(0);
          //Create 4 panels
          JPanel panel1,panel2,panel3,panel4;
          /*Adding components to Panel 1
          Panel 1 contains one Label and a ComboBox
          Panel 1 is a GridLayout
          panel1=new JPanel();
          String method[] = {"Random","Ascending","Descending"};
          JComboBox combo = new JComboBox(method);//Combo Box
          combo.setMaximumRowCount(3);
          combo.addItemListener(new ItemListener(){
          public void itemStateChanged(ItemEvent comboevent)
          JLabel combolabel;
          combolabel = new JLabel("Choose Prioritization Heuristic");
          //panel1.setLayout( new GridLayout (2,1));
          panel1.add(combolabel);
          panel1.add(combo);
          /*Adding components to panel 2
          Panel 2 contains one label and one text area
          Panel 2 is a GridLayout
          panel2 = new JPanel();
          JLabel textlabel = new JLabel("Evaluator Results");
          JTextArea evalarea = new JTextArea();
          panel2.add(textlabel);
          //panel1.setLayout( new GridLayout (2,1));
          panel2.add(evalarea);
          /*Adding components to panel 3
          Panel 3 contains 5 labels,3 textfields, 1 button
          Panel 3 is a GridLayout
          panel3 = new JPanel();
          JLabel label1,label2,label3,label4,label5;
          label1 = new JLabel("Use the Fields only for Random Heuristic");
          label2 = new JLabel("Enter Maximum # of Tries");
          label3 = new JLabel("Enter # of Tests in TS");
          label4 = new JLabel("Enter ID# of Tests in TS(d) (Separated by Comma)");
          label5 = new JLabel("Please Press SUBMIT");
          JTextField tf1,tf2,tf3;
          tf1 = new JTextField();
          tf2 = new JTextField();
          tf3 = new JTextField();
          JButton submit = new JButton("Submit");
          //panel1.setLayout( new GridLayout (9,1));
          panel3.add(label1);
          panel3.add(label2);
          panel3.add(tf1);
          panel3.add(label3);
          panel3.add(tf2);
          panel3.add(label4);
          panel3.add(tf3);
          panel3.add(label5);
          panel3.add(submit);
          /*Adding components to panel 4
          Panel 4 contains 4 labels,1 textfields, 3 button
          Panel 4 is a GridLayout
          panel4 = new JPanel();
          JLabel label6,label7,label8,label9;
          label6 = new JLabel("Press RUN to start evaluation");
          label7 = new JLabel("Press Exit to Terminate Program");
          label8 = new JLabel("MLP(d) and RP(d) are:");
          label9 = new JLabel("Press CLEAR to start new evaluation");
          JButton run = new JButton("Run");
          JButton exit = new JButton("Exit");
          JButton clear = new JButton("Clear");
          JTextArea area1 = new JTextArea();
          panel4.add(label6);
          panel4.add(run);
          panel4.add(label7);
          panel4.add(exit);
          panel4.add(label8);
          panel4.add(area1);
          panel4.add(label9);
          panel4.add(clear);
          /*panel1.setVisible(true);
          panel2.setVisible(true);
          panel3.setVisible(true);
          panel4.setVisible(true);*/
          /* set Grid Bag Layout
          Add all the panels to the GridBag Layout
          contain = frame.getContentPane();
          grid = new GridBagLayout();
          contain.setLayout(new GridBagLayout());
          c = new GridBagConstraints();
          addComponent(panel1,0,0);
          addComponent(panel2,0,4);
          addComponent(panel3,4,0);
          addComponent(panel4,4,6);
          //setSize(1200,100);
          this.setVisible(true);
          /*Method to Add Components*/
          private void addComponent(Component co,int row,int column)
                    c.gridx = column;
                    c.gridy = row;
                    grid.setConstraints(co,c);
                    contain.add(co);
/*Set up the content pane.
addComponentsToPane(frame.getContentPane());*/
//Display the window.
//frame.pack();
//frame.setVisible(true);
public static void main(String[] args) {
murali1 g = new murali1();
               //g.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
The Compliation is totally fine,applet loads, but the gui components are not diaplyed.Any suggestions.
Thank you.

That's not really an applet. Or it's a half-done one. It looks like you just took a standalone app (with its own frame and everything), added "extends JApplet", commented out a few things that absolutely shouldn't work, and otherwise changed almost nothing.
The browser won't invoke the applet's main() method. I guess that's not a problem, but are you aware that it's not being invoked?
An applet is a kind of panel. You shouldn't be creating frames. You should put all the GUI elments in the panel...which it appears you did, but can you actually get rid of the irrelevant code? Furthermore, when you post code on these forums, you should wrap it in [code][/code] tags; it makes it much easier to read.
An applet shouldn't call System.exit(). You'll probably get a security exception if you try running that.
That addComponent method looks suspicious to me. You're changing the columns and row of the same object over and over again. I'm not a GUI expert, so maybe I'm wrong, but that seems really wrong.
You shouldn't need to call this.setVisible(true) for an applet.
I'd suggest cleaning your code up, and maybe moving some of that stuff out of the constructor anyway. In an applet it might be better placed in init().
Message was edited by:
paulcw

Similar Messages

  • I have an airport express (802.11n) which download do I need to get it work on Windows 8.1?

    I have an airport express (802.11n) which download do I need to get it work on Windows 8.1?

    That one doesn't work.
    Verstuurd vanaf mijn iPhone
    Op 19 nov. 2014 om 13:55 heeft "Apple Support Communities Updates" <[email protected]<mailto:[email protected]>> het volgende geschreven:
    http://www.apple.com/support/assets/images/external/emails/logo.gif
    You received a reply
    Bob Timmons<https://discussions.apple.com/people/Bob+Timmons?ac_cid=op123456> has replied to your question. You can view the full discussion<https://discussions.apple.com/message/27128939?ac_cid=op123456#27128939> in Apple Support Communities.
    I have an airport express (802.11n) which download do I need to get it work on Windows 8.1?<https://discussions.apple.com/message/27128939?ac_cid=op123456#27128939>
    It has been some time since Apple updated AirPort Utility for Windows. The current version is 5.6.1.
    It runs on Windows 7, but I have not checked on Windows 8.
    AirPort Utility 5.6.1 for Windows<http://support.apple.com/kb/dl1547>
    Correct Answer <https://discussions.apple.com/email/thread/6679920/correct/27128939> Helpful Answer <https://discussions.apple.com/email/thread/6679920/helpful/27128939>
    Use the buttons above to tell Bob Timmons and the rest of the community if this reply solved your question or helped you get closer to finding a solution.
    To reply to Bob Timmons, go to the discussion<https://discussions.apple.com/message/27128939?ac_cid=op123456#27128939> in Apple Support Communities.
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile<https://discussions.apple.com/user-preferences!input.jspa>.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.
    All Rights Reserved<http://www.apple.com/legal/> | Privacy Policy<http://www.apple.com/legal/privacy/> | Terms of Use<https://discussions.apple.com/docs/DOC-5952> | Apple Support<http://www.apple.com/support/>

  • Help needed in getting file url

    Hi,
    I work in a project where i need to get the url of the specified file. The code for that is as,
    URL fileURL = Thread.currentThread().getContextClassLoader().getResource();
    The required resource is available in the concerned path. But the file url returns null
    Can you please help in solving the problem.
    Thanks and Regards,
    Mclaren

    Where (text area, label, button) do you want it to do it.
    What do you want it do (browse within the local text area, open the default browser...)
    Text area, use above, JButton (or alike) and open default browser, use ActionListener and JDIC.

  • Need to get internet working on X3 00

    HEY
    I need to know what are the settings to get internet working with my Nokia X3 00, I have AT&t  services. Please help

    I got my X3 working with AT&T Prepaid plan (which is really expensive).  I'm not 100% sure of all these steps are necessary due to tinkering around, but at least I'm online.
    Settings -> Connectivity -> Packet data -> Packet data settings -> Packet data acc. pt. 
    Set this to: wap.cingular
    Settings -> Configuration -> Personal config. sett. -> Add new -> Access point -> Access point settings -> Bearer settings 
    Packet data acc. pt. -> wap.cingular
    If that doesn't work, I tinkered with the settings from this site: http://www.howardforums.com/printthread.php?t=1630604
    HTH,
    -will

  • Help needed in getting the previous Quarter Data

    Hello folks,
    I have this procedure where i have to modify the current procedure in the following manner:
    I need to get rid of the variables p_start and p_end so that i cannot see them in the crystal report and include the Frequency in the procedure to get the Data based on the Dates.
    and Main requirement is" If the Frequency is Quarterly " it should get the previous quarter Data, if "Frequency is monthly" it should return the previous month data.Can anyone please let me know where shud i make changes. Am including the procedure for refernce. Any help is appreciated
    Thanks a millioin,
    CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h(report_record in out cr_return_types.gen_cursor,
    p_start       string,
    p_end         string)
    IS
    v_startdate date;
    v_enddate date;
    BEGIN
    v_startdate := to_date(p_start, 'YYYY/MM');
    v_enddate := last_day(to_date(p_end, 'YYYY/MM'));
    open report_record for
    select --distinct r.recovery_id
    r.event_id,
    r.event_case_id,
    c.client_id,
    c.client_code,
    c.client_name,
    b.branch_group_code,
    b.branch_group_description,
    g.employer_group_code,
    g.employer_group_name,
    e.client_policy_identifier,
    e.date_of_incident,
    e.event_type_code,
    sum(nvl(r.amount, 0)) as amt_received,
    nvl(sum(case
    when r.amount >= 0 then
    rd.fees
    else
    rd.fees * (-1)
    end),
    0) as fees,
    ec.close_date, *001* commented
    (case
    when ec.close_date <= to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
    'MMDDRRRR HH24MISS') then
    ec.close_date
    else
    null
    end) as close_date, --*001*  added
    get_case_value(ec.event_id, ec.event_case_id, v_enddate) as case_value,
    nvl(etl.fee_percent_flag, 'N') workmans_comp,
    max(to_char(r.recovery_date, 'FMMonthYYYY')) Year_Month,
    max(to_char(r.recovery_date, 'YYYYMM')) Y_M,
    max(to_date(to_char(r.recovery_date, 'MMYYYY'), 'MM/YYYY')) date_MY
    from recovery r,
    recovery_detail rd,
    event e,
    client c,
    branch_group b,
    employer_group g,
    event_case ec,
    event_type_lookup etl
    where r.event_id = e.event_id
    and r.event_case_id = ec.event_case_id
    and ec.event_id = e.event_id
    and rd.recovery_id(+) = r.recovery_id
    and r.recovery_date between v_startdate and
    to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
    'MMDDRRRR HH24MISS')
    and e.client_id = c.client_id
    and g.client_id = c.client_id
    and b.client_id = c.client_id
    and g.employer_group_id(+) = e.employer_group_id
    and b.branch_group_id(+) = g.branch_group_id
    and e.event_type_code = etl.event_type_code -- SST 130852 04/14/09
    group by r.event_id,
    r.event_case_id,
    c.client_id,
    c.client_code,
    c.client_name,
    b.branch_group_code,
    b.branch_group_description,
    g.employer_group_code,
    g.employer_group_name,
    e.client_policy_identifier,
    e.date_of_incident,
    e.event_type_code,
    ec.close_date,
    get_case_value(ec.event_id, ec.event_case_id, v_enddate),
    nvl(etl.fee_percent_flag, 'N')
    having sum(nvl(r.amount, 0)) <> 0
    order by c.client_code,
    b.branch_group_code,
    g.employer_group_code,
    r.event_case_id;
    Edited by: user11961230 on Oct 20, 2009 9:02 AM

    user11961230 wrote:
    1. I want to get rid of the p_start and p_end. So how do i declare the v_startdate and v_enddate in the following part?
    v_startdate := to_date(p_start, 'YYYY/MM');
    v_enddate := last_day(to_date(p_end, 'YYYY/MM'));I'm not sure what you mean by "declare".
    In PL/SQL, "declare" means state (at the beginning of a block) that there will be a certain variable with a certain name (such as v_startdate) and datatype (such as DATE). You're already declaring the variables v_startdate and v_enddate correctly, right before the BEGIN statement.
    Declaring a variable is not the same as initializing it, that is, giving it a value for the first time. Your next question seems to be about initializing..
    2. where exactly shud i include the logic that u have mentioned. sorry a dumb questionIn place of the two assignment statments that reference p_start and p_end.
    3. This time am gonna use frequency instead of report_type so that i will get rid of the p_start and p_end from the procedure.Do you mean you want to pass an argument (called frequency) that tells if you want a quarterly or a mionthly report, just like the variable report_type in my example?
    If so, replace report_type in my example with frequency.
    I think you want something like this:
    CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h
    (      report_record         in out     cr_return_types.gen_cursor
    ,      frequency         IN           VARCHAR2
    IS
         -- Declare local variables:
         v_startdate     date;
         v_enddate      date;
    BEGIN
         -- Initialize v_startdate and v_enddate, depending on frequency
         IF  frequency = 'QUARTERLY'
         THEN
              v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -3)
                                           , 'Q'
              v_enddate := TRUNC (SYSDATE, 'Q');
         ELSIF  frequency = 'MONTHLY'
         THEN
              v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -1)
                             , 'MM'
              v_enddate := TRUNC (SYSDATE, 'MM');
         END IF;
         --   Subtract one second from v_enddate
              v_enddate := v_enddate - ( 1
                                            / (24 * 60 * 60)
         open report_record for
         select --distinct r.recovery_id
                r.event_id,
         and     r.recovery_date  BETWEEN  v_startdate     
                         AND       v_enddate
         ...When you post formatted text on this site (and code should always be formatted), type these 6 characters:
    (small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
    Edited by: Frank Kulash on Oct 20, 2009 2:37 PM
    Changed query to use BETWEEN                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Help needed, M getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem but instead I cannot login I to my itune account.

    Help needed,
    I am getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem , and i triyed it but still  I cannot login I to my itune account. Same message keeping. Popping up,  this problem started supricly today.

    Take a look at the instructions here.
    http://www.technogal.net/2012/03/this-is-not-test-user-account-please.html

  • My 7th gen ipod nano wil not show up on my laptop when I plug it in and neither will my brothers new ipad,they don't come up in my computher either and I've installed the new itunes twice but still no change,I really need to get this working,Please help

    I need help

    Thanks for a reply
    The cable that I'm using came with my 5th gen nano. The 6th gen Ipod shows that it's connected but the computer doesn't see it, so I don't think that it's the cable.
    I did try this before when looking at the troubleshooting guide and nothing happens. It just resets and then the Ipod screen tells me that it's connected to the computer. It still is unseen by Itunes and no where to be found in my computer.
    I don't have another computer to plug it into at the moment but I may be able to visit a friend that owns a decent PC in a few days. If that doesn't work out I will be getting a new lap top in a week and I'm hoping that it will work on that, but it won't be a Mac. So, let's say it works when I plug it into one of these computers, should I reset my Ipod from there or is there something else I should do?

  • Actionscript help needed with getting Next Page to work

    I just have a simple question (hopefully).
    Question is:
    I have a web page that displays a flash file that zooms and
    pans, but I cant get the Next Page link to display. (will also want
    1st, last and previous page)
    1. Can the next page work and load the next or previous
    numbered file?
    2. Does it have to have all pages in one file, then it calls
    the next frame?
    Snippet below, or I can e-mail example files.
    Please help, Thank you, Mike
    ============SNIPPET==========
    <!--[if IE]>
    <object id="movie" type="application/x-shockwave-flash"
    width="300" height="500">
    <param name="movie" value="1.swf">
    </object>
    <![endif]--><!--[if !IE]> <-->
    <embed name="movie" type="application/x-shockwave-flash"
    src="1.swf" width="300" height="500">
    </embed>
    <!--> <![endif]-->
    <form name="f" onsubmit="return false;">
    <button name="button" onclick="next()">Next
    Page</button>
    <button onclick="zoom()">Zoom In</button>
    <button onclick="zoom2()">Zoom Out</button>
    <button onclick="pan()">Pan</button>
    <button onclick="setzoomrect()">Rect</button>
    </form>
    function next() {
    var flash = window.movie || document.movie; // Get Flash
    object.
    flash.Zoom(50);

    Use the same method you are currently using. The Zoom and Pan
    methods just happen to be exposed to the ActiveX control and
    Plug-in. So to use the the GotoFrame() method for example, just
    change your code from:
    function next() {
    var flash = window.movie || document.movie; // Get Flash
    object.
    flash.nextpage();
    To this:
    function next() {
    var flash = window.movie || document.movie; // Get Flash
    object.
    flash.GotoFrame(20); // This will jump to frame 19 of your
    main timeline.
    It goes to frame 19 because the method you are using is
    zero-based. Meaning to get to the first frame of your movie you
    would pass the number zero.
    To use the TCallLabel() method it would look like this:
    function next() {
    var flash = window.movie || document.movie; // Get Flash
    object.
    // to target the main timeline, use
    flash.TCallLabel("/", "labelName");
    // to target a movieclip on the main timeline use:
    flash.TCallLabel("/MovieClip", "lableName");
    Also, just so you know. These methods are getting antiquated.
    To keep up with the current versions and methods of communicating
    between JS and Flash you should really look into the
    ExternalInterface class in Flash 8.
    Tim

  • New to iCloud and need help please with getting it working

    I've got an iPad 2 and an iPhone 5 and have decided that it's about time to set up iCloud on my devices. I have followed the instructions on the website and in the icloud settings on both devices have switched on mail, contacts, calendars, reminders, safari, notes, photostream (my photo stream-on), documents and data, find my iphone, and icloud backup on. I have ensured that both devices have been backed up and automatic downloads on iTunes & App stores have all been switched on.
    I have not yet set up my PC for iCloud.
    My understanding is that icloud will sync new downloads and photos etc so I have just tried taking a picture on my iphone, expecting it to appear in my camera roll on my iPad and nothing has happened.
    Please can someone advise me if I am doing something wrong or how to resolve this.
    Many thanks.

    Welcome to the Apple Community.
    Photostream only syncs photos over Wi-Fi, make sure you are connected to Wi-Fi to begin with.
    Photostream only syncs when the camera app is closed, ensure it is closed.
    Photostream only syncs when the battery is above 20%, try recharging the device
    Try disabling photo stream on your device (settings > iCloud), restarting your device and then re-enabling photo stream.
    If this doesn't help you may need to reset photo stream. You can do this at icloud.com by clicking on your name in the top right corner and then the advanced settings in the pop-up dialogue box that appears.
    Note: disabling photostream and re-enabling it will result in any photos that are currently in the photostream album on your device, that are older than 30 days old, not being added back.

  • Help needed in getting my Alesis Multimix Firewire 16 to work with Audition CS6

    I've just bought a new Fujitsu AH 532 Lifebook Laptop with a Windows 8, 64 bit OS. I've installed my Adobe Audition CS6 on it and I've connected my Alesis Multimix 16 Firewire to it via my StarTech 34mm Firewire Express Card which has a Texas Instrument Chipset. AA CS6 sees the mixer but only allows a stereo track input but it also does not want to record. I've attached some images of the audio channel mapping, audio hardware setup, and also the multitrack recording view. Also I'm using the Alesis Windows 7 driver for the mixer. You will also see that I cannot select the sample rate in the audio hardware setup panel, the sample rate is stuck on zero. In the multitrack view there's no signal when I press the record button.
    All suggestions and help will be highly appreciated.
    Regards,
    Donovan.

    It's probably nothing but this is from the Windows Dev Center
    "In Windows Vista, Windows Server 2003, Windows XP, Windows 2000, Windows Millennium Edition (Me), and Windows 98, audio drivers conform to the Windows Driver Model (WDM) and make use of the kernel streaming (KS) components, which operate in kernel mode and are part of the operating system."
    I don't see any mention of Windows 8 - maybe nothing?
    Just a thought - why not try the asio4all driver just to see if it makes a difference?
    You can install it and then select that driver in Audition - you can always switch back
    http://www.asio4all.com/

  • Help need in getting thread join to actionperformed event.

    Hi,
    I am trying to building a small application which should give me the following functionality.
    My main function should span two windows. One window(1) will be receiving the input from the user and after the user enter a string and press the OK butten, the other window(2) should display this string and first window should set unvisible.
    To have this function working my window(2) should wait for the window(1) ActionPerform event complete and receive the message from it.
    Can any of you please help me getting some hints or sample codes for this action to be done.
    Thanks.

    Varad,
    Not sure what you are suggesting is what I am looking to do. I believe with your example here that I would need to create a new item table in my current DB in order to recall this data. This table would be populated with the items I selected (checkbox) from the original page. This is one solution, but the issue is that this is dynamic and these values would change as a new search is generated or different values are selected.
    Is there anyway in which to make (code) in ApEx so as that the values (i.e. P1_items 123 : 234 : 456) (note that these items are defaulted to colon delimitation by ApEx) are properly formatted so as SQL can read them as independent items. Note if I simply rewrite the original SQL script and replace the :P1_item with generic values (123 , 234 , 456) the SQL operates as intended.
    Thank you for your support and help,
    Randy

  • Help needed regarding getting jnlp

    Hi all,
    we need help regading java web start. We are downloadng some set of jar files to the client side using JNLP. With these jar files jnlp launches a swing base application in the client side and interacts with server application depoyed in WebSphere. In order to launch this application IBM Jre is needed in the client side. But IBM Jre can not install in non IBM meachines. So, we planing to make jar file of Jre and download it along with the rest of the jar files. After that we want to install in some directory in the client meachine and use that JRE to launch application. Now we are couple of problems with this approach.
    1) To extract the Jre from the jar file we need the path, where these jars are downloaded.Even though we know the path "C:\Documents and Settings\Administrator\Application Data\IBM\Java\Deployment\cache" we can't hard code this, because user may change this location. The extraction program of this jar file in the client side is in one of the jar file that is downloaded. But here in the it is not able to recongnize relative path. So what we need is, is there any api to get this location of this path.
    2)Second, In order to launch the application with downloaded Jre we need to set the classpath for jars that are downlaoded with Jnlp. But after downloading these jar files to the client side they are renamed(prefixed with RM and RT). Now, how to set the classpath to these jar files.
    Here instead of JNLP if we use applet our problem will be solved. But we can't use applet because of client requirements.
    Anybody, please try to suggest me some thing with this problem.
    thanks,

    You might want to try posting your question to the Grid Control Forum.
    Enterprise Manager

  • HELP needed with LG monitor working

    I was given a 22" LG external monitor to use with my MacBook Pro. Once I got a minidisplay port to VGA adapter, it worked, but only as a mirror. I could not get it to act as a separate monitor to move programs and the cursor between. For dual display, it kept saying I needed LG's Dual Smart Solution program installed. It was software that was only in Windows. I called support and they said the software was not written for Mac and I couldn't use it that way. That doesn't sound right to me. Not being able to use it as a second monitor screen pretty much eliminates a lot of the market, it seems to me. I could be wrong. So I'm wondering if anyone knows if there are settings on the Mac side to make it work, or other solutions. Or if there is a better monitor maker that does not break the bank. The support guy didn't really seem like the brightest bulb. I'm not a geek, so if anyone can help in laymen's terms, I would be very grateful.

    Hey rodthomson,
    It sounds like you want to use the Extended Desktop feature instead of the Mirror:
    Set up the displays as an extended desktop
    Choose Apple menu > System Preferences, click Displays, then click Arrangement.
    Follow the onscreen instructions.
    You can read more about using multiple monitors here (depending on which operating system you're using):
    OS X Mavericks: Connect multiple displays to your Mac
    http://support.apple.com/kb/PH13814
    OS X Mountain Lion: Connect multiple displays to your Mac
    http://support.apple.com/kb/PH10688
    Have a good one,
    Delgadoh

  • Can't get applet working in Sun Java Studio Enterprise 8

    Hi!
    I'm just learning Sun Java Studio Enterprise 8, and I'm trying to develop and test my first applet within the IDE.
    I have code from a Core Java book that creates a simple applet with buttons and a picture.
    I want to test the applet using the IDE's applet viewer, and then test it through a browser.
    I've followed the instructions I can find in the IDE, but keep getting an error... Class Not Found.
    Does anyone have a simple applet that works within the IDE and instructions for creating and testing an applet within the IDE?
    I know there's sample applet code, but I need to specifically learn how to develop and deploy it within the IDE.
    Thanks.
    Michael O'Neal
    Houston TX USA

    Hi! Thanks for the reply!
    Sorry for the delay in responding here... this is just a "free time" project for me while I"m at work.
    Based on your comment, I've downloaded the "Sun Java Studio Creator 2" IDE, since that sounds like it might be more suited to simple things like applets.
    I'll work with that and I'll post further replies to this thread if I have any questions.
    Thanks for your assistance!

  • Help - Need to Get Max(Date) from An Unrelated Table in PowerPivot

    I have two tables in my Power Pivot model:
    Table A (a many table)
    Asset    
    SerialNumber                   
    User
    CTUT111                             
    YC112233                                            
    Bob
    CTUT222                             
    ZZ221144                                            
    Susy
    CTUT222                             
    ZZ221144                                            
    Larry
    CTUT333                             
    AB332244                                           
    Bob
    Table B (a many table, a CSV import from another system)
    Asset                    
    SerialNumber                                   
    CheckIn_Date
    CTUT111                             
    YC112233                                            
    6/15/2014
    CTUT111                             
    YC112233                                            
    6/20/2014
    CTUT222                             
    ZZ221144                                            
    6/18/2014
    CTUT333                             
    AB332244                                           
    6/20/2014
    I know it appears odd that Table B would have two entries for the same Asset (CTUT111), but it does.
    I know I could write a SQL query that gave me the MAX(CheckIn_Date), but I’m not staging these datasets in a SQL server first. 
    I’m pulling directly from CSV tables.
    I don’t want to have bridge tables either, if possible. 
    So, I’m left with a many-to-many situation in Power Pivot.
    I want to add a Calculated Column to Table A, called ‘Latest CheckIn Date’ – which I get from Table B, matching on Serial Number.
    So, when I’m done, I would expect the value for Asset=CTUT111 to be 6/20/2014 (since it’s the MAX of a value of dates)
    I’m trying this pattern from Marco Russo in which you don’t need to relate two tables to exchange information, but it doesn’t appear to be working.
    =CALCULATE (
    MAX ( VALUES ( TableB[CheckIn_Date] ) ),
    FILTER (
    TableB,
    'TableA'[SerialNumber]
    = TableB[SerialNumber]
    I’ve also tried to use LOOKUPVALUE, but I can’t seem to figure it out.
    Would appreciate the help.
    Thanks in advance.
    -Eric

    Hi Eric,
    Please, try this one formula:
    =CALCULATE (
                MAXX ( VALUES( TableB[CheckIn_Date] ); TableB[CheckIn_Date] );
                FILTER (
                    TableB;
                    'TableA'[SerialNumber] = TableB[SerialNumber]
    P.S. In my locale I use ";". According to your locale you should use ",".
    Truly yours,
    Paul

Maybe you are looking for