Static main methods and run()

I am having trouble with main methods, and how to structure code, im not 100% sure on what static methods are, and im not sure how to use it when calling other methods etc cos its static and stuff - i read that i should put stuff in the constructor - but im not sure how this will work with a run()
I have written a program to draw some objects (just an oval at a certain position)
anyway here is the main method:
public static void main(String[] args) {
        // TODO code application logic here
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                Main game = new Main();
                game.createAndShowGUI();
                //Create some graphics objects at the desired position!
                GOA[0] = new GraphicsObject(300,200);         *
                GOA[1] = new GraphicsObject(350,200);         *
                game.frame.updateGraphics(GOA);            *
    }I am getting "non-static variable GOA cannot be referenced from a static context" at * i cant just make everything static, how should this be structured? where should the run() be?
Thanks for any help

Ok, i might as well include the whole thing - its not too big , and i would like to see if any of it is right really.
ackage joefootball2;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferStrategy;
public class Main {
    GameWindow frame;
    //Create the graphics object array to pass to the painting stuff
    GraphicsObject[] GOA;
    private void createAndShowGUI() {
        //Create and set up the window.
        frame = new GameWindow();
        frame.DrawWindow();
    public static void main(String[] args) {
        // TODO code application logic here
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                Main game = new Main();
                game.createAndShowGUI();
                //Create some graphics objects!
                GOA[0] = new GraphicsObject(300,200);
                GOA[1] = new GraphicsObject(350,200);
                game.frame.updateGraphics(GOA);
class GameWindow extends JFrame
    DrawPanel canvas;
    public void updateGraphics(GraphicsObject[] GOA)
        canvas.updateObjects(GOA);
    public void DrawWindow()
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        canvas = new DrawPanel();
        canvas.setDoubleBuffered(true);
        this.getContentPane().add(canvas);
        this.setVisible(true);
        this.setSize(800, 600);
        this.setResizable(false);
class DrawPanel extends JPanel
    //Create the graphics object array to draw
    GraphicsObject[] GOA;
    public void updateObjects(GraphicsObject[] givenGOA)
        GOA=givenGOA;
    public void paint(Graphics g)
        for (int i=0 ; i<GOA.length ; i++)
            g.drawOval(GOA.x-5, GOA[i].x-5, 10, 10);
class GraphicsObject
//for now, just make the graphics object a point to draw a circle
int x; int y;
}thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Synchronizing methods and a static main method

    I have a class with a static main method, calling 3 different jdbc updates.
    I want to make sure this is thread safe when called for various clients.
    It's goes:
    args[0] = clientI
    update 1:update field1 where clientid = client1
    update 2:update field2 where clientid = client1
    update 3:update field3 where clientid = client1I assume I am in jeopardy of mixing up my data?
    I don't think I can synchronize a main method, nor would it do any good to synchronize the class?
    Should I break the updates into methods, then synchronize them, or synchronize parts of the code?
    you opinion would help greatly.

    You haven't provided enough information.
    Are those updates occurring sequentially? Then it's threadsafe.
    Are they running in different threads? Then to make them threadsafe you'll need proper synchronization, or a database transaction.
    Of course, looking at those particular updates, I don't see any reason why you'd need to worry about thread safety. They look to be independent of each other. Or perhaps you meant you need them to be atomic? That is, any query will see either the old values of all three fields, or the new values of all three fields. Nobody will be able to see the new values for fields 1 and 2, but the old value for field 3. If that's the case, then those three updates need to be in a database transaction.

  • Does not contain a static 'Main' method suitable for an entry point_

    Hello
    I want to to do a project with Entiity Framework . I add a project to my solution for my domain class and it's name is 'LinkModel.DomainClasses'.  when I prees F5 there is an error like bellow.
    Could You help me to solve this? thanks alot
    ..\Documents\Training\LinkCodeFirstLast\LinkCodeFirst\LinkCodeFirst\LinkModel.DomainClasses\obj\Debug\LinkModel.DomainClasses.exe'
    does not contain a static 'Main' method suitable for an entry point

    Hi bkshn,
    This error is caused by the missing "Main" method in your project. it is the entry point of your project.
    If you want to create a EF project, you could follow the way in the aricle below.
    https://msdn.microsoft.com/en-us/data/ee712907#codefirst
    The Main method is like below.
    class Program
    static void Main(string[] args)
    using (var db = new BloggingContext())
    // Create and save a new Blog
    Console.Write("Enter a name for a new Blog: ");
    var name = Console.ReadLine();
    var blog = new Blog { Name = name };
    db.Blogs.Add(blog);
    db.SaveChanges();
    // Display all Blogs from the database
    var query = from b in db.Blogs
    orderby b.Name
    select b;
    Console.WriteLine("All blogs in the database:");
    foreach (var item in query)
    Console.WriteLine(item.Name);
    Console.WriteLine("Press any key to exit...");
    Console.ReadKey();
    And you could start to learn the EF from the following MSDN blogs.
    https://msdn.microsoft.com/en-us/data/ee712907
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Projectname.exe' does not contain a static 'Main' method suitable for an entry point .

    Hi,
    I'm developing a blog reader for windows 8 store app. It was perfectly worked before. But because of some miss behave my coding i get below error. No other errors there.
    Error    1    Program 'c:\Users\.........\Desktop\Blog_Reader\Blog_Reader\obj\Release\intermediatexaml\Blog_Reader.exe' does not contain a static 'Main' method suitable for an entry point    C:\Users\..........\Desktop\Blog_Reader\Blog_Reader\CSC  
     Blog_Reader
    Please help me to figure this.
    Thank You!

    Go to your App.Xaml and R-Click Go to Properties
    Check whether the Build Action is ApplicationDefinition
    If not change it to ApplicationDefinition. Clean the code (solution ) and Deploy..
    Chears....

  • Solution for Windows Store app "projectname.exe" does not contain a static 'Main' method suitable for an entry point . Error.

    Hi,
    I'm developed a blog reader for windows 8 store app. It was perfectly worked before. But suddenly it started to miss behave and I got an
    error. No other errors were there other than that.
    Error 
    Program c:\Users\.........\Desktop\Blog_Reader\Blog_Reader\obj\Release\intermediatexaml\Blog_Reader.exe' does not contain a static 'Main'
    method suitable for an entry point. 
    C:\Users\..........\Desktop\Blog_Reader\Blog_Reader\CSC    Blog_Reader
    But I found the solution while I fixing it.
    Solution for that is like below.
    Go to your App.Xaml and Right-Click thenGo to Properties
    Check whether the Build Action is
    ApplicationDefinition
    If not change it to ApplicationDefinition.
    Clean the code (solution) and Deploy
    Now the error is fiexed.

    Hi Robana, 
    Good sharing on the Technet. 
    This will definitely benefit other who may encounter the same issue as yours.
    Thanks for your sharing again. 
    Kate Li
    TechNet Community Support

  • How to Compile and run a GUI project made in Netbeans from shell

    hi all .....
    I develpoed a java project using Netbeans .The project has GUI also (JFrame and various layout ) . The project is building and running fine through netbeans .But when I tried to compile the source files (*.java files) from shell , I failed .
    The project has two files MainFrame.java (JFrame file and this file has the public static void main method ) and helloworld.java (simple java class file). But the "src" folder created by netbeans (at project location) contains one more file named "MainFrame.form" . Moreover netbeans was using two jar files (AbsoluteLayout.jar and Swing-layout-1.0.jar .
    I tried to compile the two .java files . helloworld.java compiled successfully but the MainFrame.java didnt. I used the command :
    linux:~/netbeans projects/Network tool/src/mytool # javac -classpath ".;AbsoluteLayout.jar;Swing-layout-1.0.jar;" MainFrame.java
    The 14 errors were encountered. MOst of them were like :
    MainFrame.java:138: package org.jdesktop.layout does not exist
    org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
    ^
    Help, suggestion or guidance of any type is welcomed .(Keep in mind that project is running fine when done using netbeansIDE).
    waiting for reply....

    Hello,
    1. The .form file was used by Netbean's GUI builder to create the .java and is not needed for compilation.
    2..../src # javac -classpath "..." mytool/*.java
    I guess the package mytool was not coped with.
    Alternatively it is worth to use the ant build tool also used by Netbeans.
    Then you can make a jar from the class files, indicate in the manifest.mf file:
    1. the main class
    2. the library jars

  • Is it possible to assign a value to args in main method?

    I am trying to understand a class and it has a try { } after the main method and it seems to be checking the length of agrs. I keep getting the exception it throws.
    I don't understand how you can put something into args or when there would ever be a length to it? It's right at the start of the class! Can anyone explain this to me?
    public static void main(String[] args) {
    try {
    // Check the arguments
    if ((args.length != 1) && (args.length != 2))
    throw new IllegalArgumentException("Wrong number of arguments");

    I keep getting the exception it throws.Yes, you will.
    I don't understand how you can put something into args.RTFM... seriously http://java.sun.com/docs/books/tutorial/essential/environment/cmdLineArgs.html
    or when there would ever be a length to it?Allways.
    It's right at the start of the class!It's not is it. Oh golly gosh. Run for the hills everyone... they've put argument processing at the start of the program again. ;-)
    Can anyone explain this to me?Yes millions of people can. But you forgot the magic word.
      public static void main(String[] args) {
        try {
          // Check the arguments
          if ((args.length != 1) && (args.length != 2)) {
            throw new IllegalArgumentException("Wrong number of arguments");
         ....Edited by: corlettk on Oct 1, 2007 11:57 AM

  • Is thread still active after main method exits?

    Hi All,
    Yesterday we were discussing. wether it is possible for a thread to be active even after the main method, from which it was spawned, exits.
    any comments?

    Hello,
    If you start a thread from the main() method and then return from main(), the thread will remain running. Just try it out:
    public class Test
        implements Runnable
        public static void main(String[] args)
            Thread t = new Thread(new Test());
            t.start();
            System.out.println("Returning from main()");
        public void run()
            try
                Thread.sleep(5000);     // Wait for 5 seconds
                System.out.println("Hello, I'm still here!");
            catch (InterruptedException ie)
                ie.printStackTrace();
    }Note: If you exit main() using System.exit(), all threads will be killed!
    Jesper

  • Main method in mulitple classes?

    I'm new to java as some of you might know, and I've been working on a single class. Now I'm trying to add another class. I've tried many ways to do this, and I think I almost have it, but I'm still a little stuck. Here are a few questions:
    1. I only can have one main method, which goes in the main class, right? Then the subclasses just have methods? So, how does the subclass know which methods to call first, and when? If there is a main method in the subclasses, t should be private and the main method in the main class should be public? So if I have multiple methods in a subclass, how do I tell my main method which to call? I've tried:
    new Timer.test();
    new Timer(test);Neither seem to work.
    So, organized in a tree it should be like so:
    Public class mainClass
         public main method
              new subClass
      Private class subClass
          (no main method?)
              private subClassMethod1
              private subClassMethod2I've tried searching, but maybe I'm not searching for the right terms. I can find things on creating classes and methods, but not really on the way multiple classes are set up. Can someone explain so I understand exactly what I'm doing with multiple classes, or give me a link to a good explanation? Thanks
    Also, the subclass ALWAYS extends mainClass right?
    Edited by: LIVE3A17 on Apr 28, 2009 3:13 PM

    LIVE3A17 wrote:
    Ok, so I can use main methods in the other classes, and java knows which is the main class by which one is opened when the program is run. Got it. Don't even put a main method in the other classes, unless you intend on one of them to be an entry point. Otherwise it's just code bloat.
    >
    Now, I have a main method in both classes. When I have the main method in the main class set to public, I get an error in the second class saying "Cannot reduce the visiblity of the inherited method". I gives me the option to change visibilty of my main class to private. However, when I do this, and try to run the main class, I get an error saying main method not public.I don't know what you're talking about. Sounds like you are subclassing something and for whatever reason trying to 'override' the main method. The normal static main method isn't even inherited, being static. So this error you're speaking of doesn't make much sense. Of course without seeing your code, we're left to mindreading exercises which usually don't go so well.

  • Instantiation outside main method

    Why can't you do the following? I get an error message: Java programs\Exp.java:14: non-static variable scan cannot be referenced from a static context
    boxes = scan.nextInt(); I don't understand this message since you can instantiate objects and initialize variables within a class and outside a method with no problem. What's so special about the main method that you cannot do this? By the way, I know how to fix this. I just want to know why you can't do this.
    import java.util.Scanner;
    public class Exp
         Scanner scan = new Scanner(System.in);
         public static void main(String[] args)
              int boxes;
              System.out.println("Enter a number: ");         
              boxes = scan.nextInt();
              if(boxes > 5)
                   System.out.println("So what!");
              else
                   System.out.println("Less than!");
                   System.out.println("I don't know.");
    }

    afried01 wrote:
    Well, if the objects are instantiated outside the main method then none of them could be used inside that method. You would have to use them outside the main method or any other static method, that is, if I'm getting your point correctly.No. You could still use them within the main method, but first you'd have to instantiate an object of the class.
    Keep in mind that your main method should be pretty lightweight. You should only use it to bootstrap your program (i.e., to start it up at the beginning). So generally you'd instantiate the primary classes of your application, maybe call an initialization or start method on one of them, etc. If your main method is more than 15 or so lines of code it's probably too heavy.
    Or you could just make the field (outside the main class) static, so the (static) main method could use them, but as mentioned already that's generally not the right approach.

  • Main Method issues

    import java.util.Scanner;
    public class Orbit
         public static void main(String[] args)
              int n;
              Scanner keyboard = new Scanner(System.in);
              System.out.print("Enter Number: ");
              n = keyboard.nextInt();          
                   double sum = 0.0;
                   for (int i = 1; i <= n; i++)
                        sum += 1.0/i;
                        System.out.println("Harmonic number: " + sum);     
    }So this code works, if you input 6 you get out the harmonic 2.449999997
    import java.util.Scanner;
    public class Orbit
         public static void main(String[] args)
              int n;
              Scanner keyboard = new Scanner(System.in);
              System.out.print("Enter Number: ");
              n = keyboard.nextInt();               
              int x = n;
                   for(int i = 1 ; i <= 10; i++)
                        if(isPali(x))
                             System.out.println("Palindrome number: " + x);
                             break;
                    StringBuffer sb = new StringBuffer(x + "");
                     StringBuffer sb2 = sb.reverse();
                     String s3 = sb2.toString();
                     int x2 = Integer.parseInt(s3);
                     x += x2;
           public static boolean isPali(int l)
                      String longAsString = l + "";
                   int x = longAsString.length();
                   if (x == 1)
                          return true;
                       if(x == 2)
                          char x1 = longAsString.charAt(0);
                          char x2 = longAsString.charAt(1);
                          return x1 == x2;
                   if( (x % 2) == 1)
                          StringBuffer newString = new StringBuffer();
                          int xx = x;
                          int y = (xx / 2);
                          newString.append(longAsString.substring(0, y));
                          newString.append(longAsString.substring(y + 1));
                          String ss = newString.toString();
                          int xxx = ss.length();
                               for(int i = 0; i < xxx/2; i++)
                                  char xFirst = ss.charAt(i);
                                  char xLast = ss.charAt(xxx - (i + 1));
                                       if(xFirst != xLast)
                                            return false;
                                    return true;      
                            if( (x % 2) == 0)
                               int xx = longAsString.length();
                                  for(int i = 0; i < xx/2; i++)
                                           char xFirst = longAsString.charAt(i);
                                       char xLast = longAsString.charAt(xx - (i + 1));
                                       if(xFirst != xLast)
                                              return false;
                                         return true;
                                 return false;
    }And then this code works to output any given number's palindrome, but when I attempt to add the first one onto the end of the second one, i get an error stating that the variable 'n' is not defined as is per this code
    import java.util.Scanner;
    public class Orbit
         public static void main(String[] args)
              int n;
              Scanner keyboard = new Scanner(System.in);
              System.out.print("Enter Number: ");
              n = keyboard.nextInt();               
              int x = n;
                   for(int i = 1 ; i <= 10; i++)
                        if(isPali(x))
                             System.out.println("Palindrome number: " + x);
                             break;
                    StringBuffer sb = new StringBuffer(x + "");
                     StringBuffer sb2 = sb.reverse();
                     String s3 = sb2.toString();
                     int x2 = Integer.parseInt(s3);
                     x += x2;
           public static boolean isPali(int l)
                      String longAsString = l + "";
                   int x = longAsString.length();
                   if (x == 1)
                          return true;
                       if(x == 2)
                          char x1 = longAsString.charAt(0);
                          char x2 = longAsString.charAt(1);
                          return x1 == x2;
                   if( (x % 2) == 1)
                          StringBuffer newString = new StringBuffer();
                          int xx = x;
                          int y = (xx / 2);
                          newString.append(longAsString.substring(0, y));
                          newString.append(longAsString.substring(y + 1));
                          String ss = newString.toString();
                          int xxx = ss.length();
                               for(int i = 0; i < xxx/2; i++)
                                  char xFirst = ss.charAt(i);
                                  char xLast = ss.charAt(xxx - (i + 1));
                                       if(xFirst != xLast)
                                            return false;
                                    return true;      
                            if( (x % 2) == 0)
                               int xx = longAsString.length();
                                  for(int i = 0; i < xx/2; i++)
                                           char xFirst = longAsString.charAt(i);
                                       char xLast = longAsString.charAt(xx - (i + 1));
                                       if(xFirst != xLast)
                                              return false;
                                         return true;
                                 return false;
                   double sum = 0.0;
                   for (int i = 1; i <= n; i++)
                        sum += 1.0/i;
                        System.out.println("Harmonic number: " + sum);     
    }Now the sad thing is I know exactly why this is happening, because the variable n is in the main method but the main method was forced to close to make room for the Boolean isPali, and it would make sense to place the Harmonic code in the main method but the output required for this is such that the harmonic needs to be after the Palindrome - I am currently asking for that to be changed but that never works. Now of course also I could prompt the user again but that is a little tacky and frowned upon.
    ~Thanks

    Ok, sorry let me clarify it a little bit.
    I define n as the user input variable. How I have the code set up currently is to create the palindrome of that number using a boolean expression. I have it set up currently to exit the main method and enter into the boolean expression because it seems to be the only way I can complete that part of code. Now as for my problem, with "int n" being defined in the main method, I can not access it without being in that main method.
    Orbit.java:138 cannot find symbol
    symbol : variable n
    location: class Orbit
    for (int i = 1; 1 <= n; i++)
    *as you would imagine, the '^' is under the sole n in the line of code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Cant call simple method from main method

    hi guys, this maybe a stupid question, im a newbie to java programming. Im trying to call the method calculateArea in main method and its not working.
    Any ideas?
    Thanks.
    package project1;
    public class makePurchase {
        public int calculateArea(int width, int height){
                int myArea = width * height;
                return myArea;
        public static void main(String[] args){
            int vTestResult = calculateArea(1,3);
            System.out.println("The total is:" +vTestResult);
    }

    jverd wrote:
    mishmash wrote:
    Is there a easy way of determining if the method should be static? maybe only if your using a math class and not using the method in any other class?Static means associated with the class as a whole, not with any particular instance. If your method doesn't use or set any state that is part of individual instances, it may be a candidate to be static. Another difference is that static methods cannot be overridden. That is, you can't defer until runtime which class' implementation of a static method to call.
    public class Person {
    private static int numPersonsCreated;
    private String name;
    private Date birthdate;
    public int calculateAgeInYears () {
    // use birthdate to calculate age
    public static int getNumPersonsCreated() {
    return numPersonsCreated;
    }Here, the calc method cannot be static, since it uses the birthdate field that is particular to each Person object created. The number of Person objects created by your program, however, is not associated with any particular Person object, but with the Person class as a whole, so it can be static.Perhaps to expand a bit more...
    Highly reusable methods are candidates for static such as utility methods that may be used multiple times.This is true if this methods API remains consistent and does not care a bout the surrounding class. Usually such a method would require all its fields to be provided by parameters or as static members as any instance variables would not make this methods reusable.
    in jverd's example you can see that many related classes may be interested in finding out how many people have been created and they may wish to know so at the same time. It certainly makes sense to provide such a method as static as it does not change and most likely never will. More importantly all interested classes now are assured of seeing the exact same method because that is what static is: It exposes the same to all interested parties.
    Edited by: Yucca on Oct 19, 2009 6:35 AM

  • Main method question in java, please help

    Guys I have looked all over the internet, and cannot understand any of these questions: I would really appreciate any help on them. The first, and most important thing I would like to know is, what is static: what is a static int, or a static main method? Why is this necessary, and what does it do? Could you please provide an example? Also, why is String[] args necessary within the parameters of the main method? Is this so that it can execute it? Last thing is: objects. Where can I learn about them? I know they are made with the new operator, but don't understand their use? Could you explain why they are useful? Can you give them values? and how do they relate to the dot operator? After these are answered, I will be so happy because I will feel like I actually know a little bit. Right now, I'm just confused... Thank you so, so much in advance!

    The first, and most important thing I would like to know is, what is static'static' means that the item concerned is associated with the class itself rather than an instance: so, it is accessible to all instances.
    Could you please provide an example?
    public static void main(String[] args)is an example, but you knew that. I don't really understand the question.
    Also, why is String[] args necessary within the parameters of the main method?'args' receives the arguments you type on the command line after the class name or jar name, depending on how you invoke the application.
    This is all covered in the documentation, which you should read before asking further questions.
    Last thing is: objects. Where can I learn about them?If you don't know about objects you're not going to learn about them by asking questions on a forum. It's far too large a topic. Get yourself a book.

  • Public main method in a non-public class

    Hi,
    It is said that main method in a java class must be public so that it can be invoked by JVM. This works even if the class itself has default modifier.
    But while programming, any method (be it public) of a class with default access modifier from one package can't be accessed by classes from other packages. For example,
    1. Consider class A in package a.
    package a;
    class A {
    public void methA() {}
    2. Now consider class B in pakage b.
    package b;
    class B {
    void methB() {
    // Here it can't access class A and its method methA()
    So how does JVM invoke the main method of a class with default access modifier. Assume that the class is in some package a.b.c
    Regards,
    Amit

    Hi,
    Maybe this can also be beneficial for you.
    Standalone applications don't necessarily have init and start methods. They must have a public static void main routine to start things off. The main routine typically creates some object of the master class. It can't use any non-static variables or methods in the class with the implied this, since there is no this object. It typically quickly returns. Then the event loop processing starts. Even the static main method must live inside some public class, or at least in the top class, the first class and the class for whom the source file is named. There are no such thing as standalone static methods in Java. The signature of the main class must look exactly like this. Cut and paste it to be sure:

  • Object life in main method after frame created

    hi
    i'm having a slight problem with the life of an object i'm creating in the main method of my application.
    i have a JDesktopPane that is initialised in the main class's main method and constructor. within the main method i also add the first internal frame to the desktop.
    after the user completes the details of the first frame, another is called (from this first frame) and the first frame is disposed.
    the problem is that although all subsequent internal frames added to the desktop outside the main class, they are garbage collected with no problems (i'm using a profiler), however the first frame and the frame created from that first frame are never collected due to the reference maintained in the main class. i've tried adding the creation of these frames outside the main class but given that these methods are called from main the reference is still maintained.
    is there any way to create those first 2 frames without the reference being maintained in the main class such that they become elegible for garbage collection? do i have it all wrong perhaps and my approach is bad?? any help would be greatly appreciated.
    thanks heaps.
    Takis

    hi
    thanks for your reply.
    i tried that and it didn't work. the instance of that first internal frame is still there.
    i really am at a loss with this one.
    any other suggestions would be greatly appreciated.
    Takis

Maybe you are looking for

  • Last date in report

    Hi All, I have a requirement where in i need to show the last transaction date that took place at sales org level. following is my data in the cube Sales org------plant---------transaction date S001...........P100...........01.02.2014 S001...........

  • SSMS crash when creating new database diagram

    For several years I have been unable to create database diagrams from within SSMS.  I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014. I have installed, uninstalled, an

  • HP MIni 110-1030nr - USB Problem!

    Hello! I have 2 HP Mini 110-1030nr netbooks. Mine runs like a charm! I love it!  My dad's however is having major problems! For the first 2 weeks it ran great, but then the hard drive died in it. We sent it back to HP, they turned it around and had i

  • SSD and HDD / TimeMachine and CCC

    I have a 240GB SSD as my main drive and it had all of my data on it. Recently I installed the OWC data doubler and put a 500GB HDD in place of the superdrive. Since then, I copied my "home" folder (under /Users) to the new 500GB HDD. After this I wen

  • SAP Posting to Future Date

    Dear Gurus SAP as an standard allows posting to a future date. Our client requirement is that we need to restrict the same so that  no user can post to a future date. What is the setting required to be done for the same? Regards Rahul Taneja