Why do we intialize other classes in constructor ????

Please see the question below:
class MThread extends Thread {
private Abc mfact = null;
private Xyz mo = null;
private Pro sts = null;
* Constructor.
public MThread(Abc mfact, Xyz mo ) { *// do i have to pass Pro here from calling method so that i can initialize in constructor in order to use its method like record ???*
this.mfact = mfact;
this.mo = mo;
public somemethod() {
sts.record();
public void somemethod1() {
mo.create();
***************************************************Another Class******************************************************
public class Xyz{
// Some code here
// this class calls Mthread and creates 10 such Threads sth like
for (int i = 0; i < 10; i++) {
mThreads[i] = new MThread(mfact, mo;
***********Another Class ****************
public class Pro {
// some code
public synchronized record() {
rat ++;
Explanation :
Xyz calls Mthread 10 times to create such threads.
Mthread has method that class Pro for stats recording
Mthread also uses other class files to do some functioning of its own.
Question:
Please see the question in the constructor of Mthread ??
for using method like record in Pro. do i have to initialize that in the constructor of Mthread ??
because other class like Abc initializes itself in the construtor??
Why do we have to initialize some class in constructor ?? I don't get it ?? Also when i press F3 (Open declaration ) on record call in somemethod ()
.. it properly opens the file of class Pro and points to my sychronized method in that class ??
CONFUSED... Please help ..
Thank you

javanewbie83 wrote:
To morgair:
thats right..so actually my question was do i need to change the requiremensts of the constructor so i can pass in the value of class Pro from the calling method.
Do i need to do that. is that compulsory to use one of its methods
ThanksYes, somehow you have to get visibility to your object that you want to use. If it's not passed in, then you have to have it in some global context with reference to where you want to use it.
class myClass{
  A a;
  B b;
  C c;
  myClass(A a, B b, C c){
    this.a = a;
    this.b = b;
    this.c = c;
  public void myMethod(){
    c.doSomething(a, b);
// This can be done since a and b are supplied as arguments to the constructor
// but also consider this:
class myClass{
  A a;
  B b;
  C c;
  myClass(A a, B b){
    this.a = a;
    this.b = b;
    c = new C();
  public void myMethod(){
    c.doSomething(a, b);
//this will also work but c is a local variable
//also consider this:
class myOuterClass{
  A a;
  B b;
  C c;
  myOuterClass(){
    a = new A();
    b = new B();
    c = new C();
    //do stuff
  public void someStuff(){ 
    myInnerClass p = new myInnerClass(a, b);
    p.myMethod();  //this will also work since c is defined in myOuterClass
  class myInnerClass{
    A a;
    B b;
    myInnerClass(A a, B b){
      this.a = a;
      this.b = b;
    public void myMethod(){
      c.doSomething(a, b);
}Note: this example is supplied off the top of my head without being tried in my IDE, but should show the concepts even if my fat fingers have hit the wrong keys.

Similar Messages

  • Static nonstatic class object constructor

    I was wonderring what is the use of non static constructors??
    we all know about static constructors, they are used for initializing the class.
    we all know about constructos, they are used for initializing an object from a given class.
    what I dont know is the use of non static constructors such as this
    class A{
         static{
              System.out.println ("Class A Static Constructor");
              /*What is the use of this???????
               *why dont we put this inside the constructor??
              System.out.println ("Class A NON static constructor");
         A(){
              System.out.println ("Class A Constructor");
    class B extends A{
         static{
              System.out.println ("Class B static constructor");
              System.out.println ("Class B NON static Constructor");
         B(){
              System.out.println ("Class B Constructor");
    public class Test{
         public static void main(String[]args){
              new B();
              new B();
    }I would appreciate understaind this!! I can only see that if there was no other constructor, it can be used instead of the default constructor() with no arguments,
    any clarification?

    They are called static and non static intializer.
    The non static initializer was introduced in the language subsequently with inner classes.
    It's used the give an anonymous inner class a feature that behaves like a constructor (though with no args).
    It's useless for other kinds of class.
    abstract class A{
         A(){
              System.out.println("A constructor");
         abstract void exec();
    class B{
         static A getA(){
              return new A(){
                             System.out.println("the cool implementation");
                        void exec(){
                             System.out.println("exec()");
         public static void main( String[] args){
              A a = B.getA();
              a.exec();
    }Cut and paste in a new text file, call it B.java, then javac B.java, and java B.

  • Using Class and Constructor to create instances on the fly

    hi,
    i want to be able to create instances of classes as specified by the user of my application. i hold the class names as String objects in a LinkedList, check to see if the named class exists and then try and create an instance of it as follows.
    the problem im having is that the classes i want to create are held in a directory lower down the directory hierarchy than where the i called this code from.
    ie. the classes are held in "eccs/model/behaviours" but the VM looks for them in the eccs directory.
    i cannot move the desired classes to this folder for other reasons and if i try to give the Path name to Class.forName() it will not find them. instead i think it looks for a class called "eccs/model/behaviours/x" in the eccs dir and not navigate to the eccs/model/behaviours dir for the class x.
    any ideas please? heres my code for ye to look at in case im not making any sense:)
    //iterator is the Iterator of the LinkedList that holds all the names of the
    //classes we want to create.
    //while there is another element in the list.
    while(iterator.hasNext())
    //get the name of the class to create from the list.
    String className = (String) iterator.next();
    //check to see if the file exists.
    if(!doesFileExist(className))
    System.out.println("File cannot be found!");
    //breake the loop and move onto the next element in the list.
    continue;
    //create an empty class.
    Class dynamicClass = Class.forName(className);
    //get the default constructor of the class.
    Constructor constructor = dynamicClass.getConstructor(new Class[] {});
    //create an instance of the desired class.
    Behaviour beh = (Behaviour) constructor.newInstance(new Object[] {});
    private boolean doesFileExist(String fileName)
    //append .class to the file name.
    fileName += ".class";
    //get the file.
    File file = new File(fileName);
    //check if it exists.
    if(file.exists())
    return true;
    else
    return false;
    }

    ok ive changed it now to "eccs.model.behaviours" and it seems to work:) many thanks!!!
    by the following you mean that instead of using the method "doesFileExist(fileName)" i just catch the exception and throw it to something like the System.out.println() ?
    Why don't you simply try to call Class.forName() and catch the exception if it doesn't exist? Because as soon as you package up your class files in a jar file (which you should) your approach won't work at all.i dont think il be creating a JAR file as i want the user to be able to create his/her own classes and add them to the directory to be used in the application. is this the correct way to do this??
    again many thanks for ye're help:)

  • Abstract Class and Constructors

    Why is it that Constructors are permitted within an abstract class?

    But how is it possible to create/instantiate Abstract
    classes?It's not. The only class that gets instantiated is the concrete child class.
    As somebody already said, invoking a constructor does NOT create the object.
    When you do new Foo(), the constructor does NOT instantiate the Foo. The new operator does. It allocates the memory, sets default values for member variables, and then it invokes the constructor. If that ctor invokes a chain of other ctors in itself and its parent, and so on up the chain, you're NOT creating more and more objects. You're just running additional constructors on the one object that has already been created.
    What is the use of a constructor in an abstract class?Just like in any other class: to initialize fields.

  • Abstract classes having constructors?

    InputStream is an abstract class. But then according to API it has a public constructor. Well, since it cannot be instantiated, why does it need to have a constructor? What's the point? Thanks!

    I don't know why it would have a public constructor, but it definitely needs at least one c'tor. Usually abstract classes' c'tors are protected.
    A constructor does not create an object, it only initializes an already created object to a valid initial state. When creating an instance of a subclass, the ancestors' constructors, starting with Object, are run first, before the descendants'. This way a child knows that the "parent portion" of the object is in a valid state before its constructor starts.
    Constructor rules:
    1) Every class has at least one ctor.
    1.1) If you do not define an explicit constructor for your class, the compiler provides a implicit constructor that takes no args and simply calls super().
    1.2) If you do define one or more explicit constructors, regardless of whether they take args, then the compiler no longer provides the implicit no-arg ctor. In this case, you must explicitly define a public MyClass() {...} if you want one.
    1.3) Constructors are not inherited.
    2) The first statement in the body of any ctor is either a call to a superclass ctor super(...) or a call to another ctor of this class this(...) 2.1) If you do not explicitly put a call to super(...) or this(...) as the first statement in a ctor that you define, then the compiler implicitly inserts a call to super's no-arg ctor super() as the first call. The implicitly called ctor is always super's no-arg ctor, regardless of whether the currently running ctor takes args.
    2.2) There is always exactly one call to either super(...) or this(...) in each constructor, and it is always the first call. You can't put in more than one, and if you put one in, the compiler's implicitly provided one is removed.

  • How to access variables from other class

        public boolean inIn(Person p)
            if  (name == p.name && natInsceNo == p.natInsceNo && dateOfBirth == p.dateOfBirth)
                 return true;
            else
                 return false;
        }//returns true if Person with same name/natInsceNo/dateOfBirth as phello,
    here am trying to compare the existing object with another object.
    could you please tell me how to access the variables of other class because i meet this error?
    name cannot be resolved!
    thank you!

    public class Person
        protected String name; 
        protected char gender;      //protected attributes are visible in the subclass
        protected int dateOfBirth;
        protected String address;
        protected String natInsceNo;
        protected String phoneNo;
        protected static int counter;//class variable
    //Constractor Starts, (returns a new object, may set an object's initial state)
    public Person(String nme,String addr, char sex, int howOld, String ins,String phone)
        dateOfBirth = howOld;
        gender = sex;
        name = nme;
        address = addr;
        natInsceNo = ins;
        phoneNo = phone;
        counter++;
    public class Store
        //Declaration of variables
        private Person[] list;
        private int count;
        private int maxSize;
    //constructor starts
        public Store(int max)
             list = new Person[max];//size array with parameters
             maxSize = max;
             count = 0;
        }//end of store
    //constructor ends
    //accessor starts  
        public boolean inIn(Person p)
           return (name == p.name && address == p.address && natInsceNo == p.natInsceNo);
        }//returns true if Person with same name/natInsceNo/dateOfBirth as phope it helps now!

  • Why java file name and class name are equal

    could u explain why java file name and class name are equal in java

    The relevant section of the JLS (?7.6):
    When packages are stored in a file system (?7.2.1), the host system may choose to enforce the restriction that it is a compile-time error if a type is not found in a file under a name composed of the type name plus an extension (such as .java or .jav) if either of the following is true:
    * The type is referred to by code in other compilation units of the package in which the type is declared.
    * The type is declared public (and therefore is potentially accessible from code in other packages).
    This restriction implies that there must be at most one such type per compilation unit. This restriction makes it easy for a compiler for the Java programming language or an implementation of the Java virtual machine to find a named class within a package; for example, the source code for a public type wet.sprocket.Toad would be found in a file Toad.java in the directory wet/sprocket, and the corresponding object code would be found in the file Toad.class in the same directory.
    When packages are stored in a database (?7.2.2), the host system must not impose such restrictions. In practice, many programmers choose to put each class or interface type in its own compilation unit, whether or not it is public or is referred to by code in other compilation units.

  • Abstract class extends other class?

    What happens when a abstract class extends other class?
    How can we use the abstract class late in other class?
    Why do we need an abstract class that extends other class?
    for example:-
    public abstract class ABC extends EFG {
    public class EFG{
    private String name="";
    private int rollno="";
    private void setName(int name)
    this.name=name;
    private String getName()
    return this.name;
    }

    shafiur wrote:
    What happens when a abstract class extends other class?Nothing special. You have defined an abstract class.
    How can we use the abstract class late in other class?Define "Late". What "other class"?
    Why do we need an abstract class that extends other class?Because it can be useful to define one.

  • Passing instance to other classes

    Hi,
    I have the following class
    public class myApp extends SingleFrameApplicationWhen I pass the instance like as given below, the instance of SingleFrameApplication is passed. How can I pass the instance of myApp along with this, so that I can access the variables of myApp class from other classes and packages.
    new TreeTableView(this);Please help.
    Any help in this regard will be well appreciated with points.
    Warm Regards,
    Rony

    Hi,
    i think the constructor of TreeTableView looks sth. like TreeTableView(SingleFrameApplication app), so the TreeTableView takes a SingleFrameApplication and not a myApp. you have two possibilities to access your methods and variables.
    1. Extend TreeTableView with a constructor TreeTableView(myApp app)
    or
    2. You cast the SingleFrameApplication to a myApp everytime you have to access myApp
    =>
    a = ((myApp)singleFrameApplicationInstance).variable;

  • How to get data from textfield from an other class

    Hello everyone,
    I have a problem with an application I am writing for school. I want to get the data from a textfield into an other class.
    I have two classes: KlantGui and KlantMenuGui
    Some Codes from KlantGui:
    public String klantNummer;
    //knr
    knr = new JTextField(10);
    p2.add(knr);
    //getValue
    public String getValue() {
         return knr.getText();
    //getKlantNummer
    public String getKlantNummer(){
         klantNummer = getValue();
         return klantNummer;
    }And this one is from KlantMenuGui:
    private KlantGui kg = new KlantGui();
    //This is where I want the data to display
    String klantnr = kg.getKlantNummer();
    p2.add(new JLabel (" Klantnr: "));
    tf4 = new JTextField (10);
    p2.add(tf4);
    tf4.setEditable(false);
    tf4.setText(klantnr);I don't know why but it seems like the getValue() doesn't sends the data. For example if I write klantNummer = "2" instead of klantNummer = getValue(); it does work and I see 2 in the other class.
    Thanks!

    Does knr ever get populated?
    From the code below, you create an instance of a KlantGui, but this will have no values set, then straight away call getValue, which returns "", which is correct since the textfield for the instance of KlantGui just created would be empty?

  • How  add buttons to Jframe from other class

    Hi, a have a little problem;)
    I want make a JFrame, but i want to add JButtons from other class. Now I have something like that:
    My JFrame class:
    package windoow;
    import javax.swing.*;
    import java.awt.*;
    public class MyWindow extends JFrame {
           Butt buttons ;
            public Window(String s) {
                     super(s);
                    this.setSize(600, 600);
                    this.setVisible(true);
                    Buttons();
                public void Buttons(){
                    setLayout(null);            
                   buttons = new Butt();
                   buttons.mywindow =this;
    } My class with buttons:
    package windoow;
    import javax.swing.JButton;
    public class Butt {
            MyWindow mywindow;
            JButton b1;
            Butt(){
                      b1 = new JButton("Button");
                      b1.setBounds(100,100,100,20);
                      mywindow.add(b1);  
    } and i have NullPointerException.
    When i try to make new MyWindow in Butt clas i have something like StackOverFlow.
    what should i do?

    Your null pointer exception is occuring because, in your Butt() constructor, you are calling mywindow.add(b1), but you don't set mywindow until after you call the constructor in the MyWindow::Buttons() method.
    And, if you try to create a new MyWindow() in your Butt() constructor, and, assuming that you are calling the MyWindow::Window(String s) method from the MyWindow() constructor (which is not clear from the code fragment you posted), then Butt() calls new MyWindow() which calls Window(String s) which calls Butt() which calls ... and so on, until the stack overflows.
    One possible solution ... pass your MyWindow reference into your Butt() constructor as this, as so:
    public void Buttons()
       // stuff deleted
      buttons = new Butt( this );
       // stuff deleted
    // AND
    Butt( MyWindow mw )
       // stuff deleted
      mywindow = mw;
      mywindow.add( b1 ); // b1 created in stuff deleted section  
    }Also, I would call setVisible(true) as the last thing I did during the construction of the frame. This realizes the frame, and from that point forward, most changes to the frame should be made on the event thread.
    ¦ {Þ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Why do we import a class

    Why do we import the class TestFile and not call the class instead like in the code given below
    package test;
    import testing.TestFile;
    import java.util.StringTokenizer;

    "import" basically just defines aliases for class names. It lets you specify just the class name, without the full path. It makes the code easier to read.
    You don't really call classes at all in Java. You call methods. You can do that later in the code.

  • Why a non static member class can be defined in an interface

    Non-static member classes are defined as instance members of other classes, just like fields and instance methods are defined in a class. An instance of a non-static member class always has an enclosing instance associated with it.
    An interface can't be instantiated then how a non static member class will have an enclosing instance associated with it.
    interface outer
            public  class inner{
            public void p()
                System.out.println("inside interface's non static member class");
        public  static class inner1{
                public void p(){System.out.println("inside interface's  static member class");
    public class Client {                                           // (11)
        public static void main(String[] args) {                    // (12)
        outer.inner nonStatic = new outer.inner();
            nonStatic.p();
        outer.inner1 stat = new outer.inner1();
          stat.p();
    }inner is a non static member class even then " outer.inner nonStatic = new outer.inner();" working fine ?????????????

    class outer
            public  class inner{
            public void p()
                System.out.println("inside interface's non static member class");
    public class Client {                                           // (11)
        public static void main(String[] args) {                    // (12)
        outer.inner nonStatic = new outer.inner();
        nonStatic.p();
    }on compiling the above code the error message i got is
    "not an enclosing class: outer"
    the reason of this compilation error is "outer.inner nonStatic = new outer.inner();
    it should be "outer.inner nonStatic = new outer(). new inner();"
    now my question is
    interface outer
            public  class inner{
            public void p()
                System.out.println("inside interface's non static member class");
    public class Client {                                           // (11)
        public static void main(String[] args) {                    // (12)
        outer.inner nonStatic = new outer.inner();
        nonStatic.p();
    }on compiling the above code why compilation error is not coming??????????
    i think now it is more clear what i am asking

  • Delete scroller from other class

    Hi.
    I have FlashSite class where after clicking to button i see page with text and with scroll.
    If i click to 'close' button i want removeChild this page, text and scroll.
    But for scroll i use code from other class. (i insert this class like: import classes.Scroller.*;)
    So, how i can remove this scroller?
    code:
    public function lilyContent():void
                   // create a sample pane
                   addChild(lilyPageScroll);
                   lilyPageScroll.x = 360;
                   lilyPageScroll.y = 400;
                   // then attach a new scroller to the pane
                   var lilyScroller = new Scroller(lilyPageScroll, lilyPageScroll.width, 540, new scrollerFace(),"vertical");
    i use this line:
    var lilyScroller = new Scroller(lilyPageScroll, lilyPageScroll.width, 540, new scrollerFace(),"vertical");
    to add scroller.
    all code for FlashSite class:
    package
         import flash.display.*;
         import flash.text.*;
         import flash.events.*;
         import classes.Scroller.*;
         public class FlashSite extends MovieClip 
              var lilyDeskBack:LilyDescriptionBackground = new LilyDescriptionBackground();
              var lilyPageScroll = new LilyContent();
              //constructor
              public function FlashSite()
                   stop();
                   addEventListener(Event.ENTER_FRAME, flashSiteLoading);
              public function flashSiteLoading(event:Event)
                   var mcBytesLoaded:int=this.root.loaderInfo.bytesLoaded;
                   var mcBytesTotal:int=this.root.loaderInfo.bytesTotal;
                   var mcKLoaded:int=mcBytesLoaded/1024;
                   var mcKTotal:int=mcBytesTotal/1024;
                   flashSiteLoading_txt.text="Loading: "+mcKLoaded+"Kb of "+mcKTotal+"Kb";
                   if (mcBytesLoaded>=mcBytesTotal)
                        removeEventListener(Event.ENTER_FRAME, flashSiteLoading);
                        gotoAndPlay('welcomeSite');
                        lilyBtn.addEventListener(MouseEvent.CLICK, lilyDescription);
                        roseBtn.addEventListener(MouseEvent.CLICK, roseDescription);
                        jasmineBtn.addEventListener(MouseEvent.CLICK, jasmineDescription);
                        irisBtn.addEventListener(MouseEvent.CLICK, irisDescription);
              public function lilyDescription(event:MouseEvent):void
                   trace("Lily description goes here.");
                   roseBtn.visible = false;
                   jasmineBtn.visible = false;
                   irisBtn.visible = false;
                   addChild(lilyDeskBack);
                   lilyDeskBack.x = 350;
                   lilyDeskBack.y = 330;
                   lilyContent();
                   lilyDeskBack.LilyDesckClose_btn.addEventListener(MouseEvent.CLICK, closeLilyDescription);
              public function closeLilyDescription(event:MouseEvent):void
                   trace("close Lily description");
                   removeChild(lilyDeskBack);
                   removeChild(lilyPageScroll);
                   lilyScroller.visible = false;
                   roseBtn.visible = true;
                   jasmineBtn.visible = true;
                   irisBtn.visible = true;
              public function roseDescription(event:MouseEvent):void
                   trace("Rose description goes here.");
              public function jasmineDescription(event:MouseEvent):void
                   trace("Jasmine description goes here.");
              public function irisDescription(event:MouseEvent):void
                   trace("Iris description goes here.");
              public function lilyContent():void
                   // create a sample pane
                   addChild(lilyPageScroll);
                   lilyPageScroll.x = 360;
                   lilyPageScroll.y = 400;
                   // then attach a new scroller to the pane
                   var lilyScroller = new Scroller(lilyPageScroll, lilyPageScroll.width, 540, new scrollerFace(),"vertical");
    Thanks for help

    Make the lilyScroller object a class level object.
    Add to 'closeLilyDescription' method 'removeChild(lilyScroller);'
    package
         import flash.display.*;
         import flash.text.*;
         import flash.events.*;
         import classes.Scroller.*;
         public class FlashSite extends MovieClip 
              var lilyDeskBack:LilyDescriptionBackground = new LilyDescriptionBackground();
              var lilyPageScroll = new LilyContent();
              var lilyScroller;
              //constructor
              public function FlashSite()
                   stop();
                   addEventListener(Event.ENTER_FRAME, flashSiteLoading);
              public function flashSiteLoading(event:Event)
                   var mcBytesLoaded:int=this.root.loaderInfo.bytesLoaded;
                   var mcBytesTotal:int=this.root.loaderInfo.bytesTotal;
                   var mcKLoaded:int=mcBytesLoaded/1024;
                   var mcKTotal:int=mcBytesTotal/1024;
                   flashSiteLoading_txt.text="Loading: "+mcKLoaded+"Kb of "+mcKTotal+"Kb";
                   if (mcBytesLoaded>=mcBytesTotal)
                        removeEventListener(Event.ENTER_FRAME, flashSiteLoading);
                        gotoAndPlay('welcomeSite');
                        lilyBtn.addEventListener(MouseEvent.CLICK, lilyDescription);
                        roseBtn.addEventListener(MouseEvent.CLICK, roseDescription);
                        jasmineBtn.addEventListener(MouseEvent.CLICK, jasmineDescription);
                        irisBtn.addEventListener(MouseEvent.CLICK, irisDescription);
              public function lilyDescription(event:MouseEvent):void
                   trace("Lily description goes here.");
                   roseBtn.visible = false;
                   jasmineBtn.visible = false;
                   irisBtn.visible = false;
                   addChild(lilyDeskBack);
                   lilyDeskBack.x = 350;
                   lilyDeskBack.y = 330;
                   lilyContent();
                   lilyDeskBack.LilyDesckClose_btn.addEventListener(MouseEvent.CLICK, closeLilyDescription);
              public function closeLilyDescription(event:MouseEvent):void
                   trace("close Lily description");
                   removeChild(lilyDeskBack);
                   removeChild(lilyPageScroll);
                   removeChild(lilyScroller);
                   lilyScroller.visible = false;
                   roseBtn.visible = true;
                   jasmineBtn.visible = true;
                   irisBtn.visible = true;
              public function roseDescription(event:MouseEvent):void
                   trace("Rose description goes here.");
              public function jasmineDescription(event:MouseEvent):void
                   trace("Jasmine description goes here.");
              public function irisDescription(event:MouseEvent):void
                   trace("Iris description goes here.");
              public function lilyContent():void
                   // create a sample pane
                   addChild(lilyPageScroll);
                   lilyPageScroll.x = 360;
                   lilyPageScroll.y = 400;
                   // then attach a new scroller to the pane
                   lilyScroller = new Scroller(lilyPageScroll, lilyPageScroll.width, 540, new scrollerFace(),"vertical");

  • Using one class into other class??

    Hey,I need to pass one class's object to another class's constructor.problem is which class I should compile first because both classes are using each other so when i compile any of these file it gives error in refering other as other file is not compiled.I am using as follows:
    package p;
    class test1
    //statements
    test2(this);
    Here is my second class:
    package p;
    class test2
    test2(test1 t)
    //some statements

    surely you can put them on one page/file and compile?? (i m just givin a suggestion, i am by no means an expert! :) )

Maybe you are looking for

  • Officejet pro 8600 not responding

    Hi everyone, I have an HP officejet pro 8600 printer. I was running it wirelessly from my desktopo tru the router. I then installed it in my HP Envy notebook to print also ducuments and it worked. Then, I tried to install the sofware on my Mackbook P

  • Digital Signatures in PI sheets

    Hi Guys;              Can anyone explain how to assign Digital Signatures to PI sheets & what are the settings required. Thanks in Advance; Rajesh

  • Reports Generation in Microsoft Excel using Forms Server

    How can I generate reports in Microsoft Excel from an web-enabled forms application, as using Dynamic Data Exchange invokes Excel on the Application Server? My work-around was to generate the file on the application server, save it ,exit the Excel ap

  • Url called from form question

    HELP! I created a form that allows the user to enter a number (SEATPLAN). The code below is executed on a custom PL/SQL button. It does not seem to work. The url generated runs fine typed directly into the url of a browser. But the called url from th

  • Ibook g4 that does not  display the battery meter, sound volume, tim

    I have an ibook g4 that does not display the battery meter, sound volume, time & day.When i move cursor over the area where they should be I see a spinning beach ball beach ball