954,536 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

java

public class OpenMenuListener implements ActionListener
{
public void actionPerformed(ActionEvent ev)
{
if(ev.getSource() == a)
{
f2 = new JFrame("shashikant verma");
p2 = new JPanel();
f2.getContentPane().add(p2);

String str = ""+""+""+""+""+""+"CORRECT DEFINITION AND
"+"STRUCTURE OF FUNCTION y = f(x) "+"
"+""+"


"+""+""+""+"Introduction
"+""+""+ ""+
"It is a well-known fact that the Logicians,Mathematicians and Physicists have been pointing out about deficiencies in the definition
"+
"and structure of a function.This will lead us to the conclusion that in many physical phenomena there are failure processes
" +
"of Physics -Technology. In other words, Experimenters arrive at conclusions on experimental data and disconcern their reliability
"+
"which is related with errors and uncertainity associated with experimental results. The present work provides an account of the
"+
"deficiencies in the definitions and its value and limit about a point. This work leads to an important conclusion about an answer
"+
"to the failure process of Physics-Technology in terms of its correct measurements in the experiments.
"+"
"+""+
"However, Distribution Theory (Schwartz (1996) ) generalizes Physicist's intuition (Dirac(1930)) about point particles which are
"+
"represented as"+" "+"δ -"+" "+ " Dirac function. Indeed, the definition and properties of "+" "+"δ -"+" "+"Dirac function in the sense of function are not eventually
"+
"true as pointed out by Mathmaticians. Moreover, Henk (2000) has pointed out to the author as to whether Distribution Theory
"+
"possesses such structure and properties to providing an answer to open question in logic to distinguish the value of function"+ ""+" "+"f(x)"+"" +"
"+
" at" +""+" "+"x"+ "" +" and the function " +""+" "+" f "+"" + " itself.
"+
"
"+""+
"Moreover, it is to be remarked here that said deficiencies of the function have indeed led to the fact that the whole sciences, eventually
"+
"depend on function theory"+" "+"up till 20th"+" "+ " century are also based on the "+" "+"defects of mathematical tools."+" "+"For example, two developments
"+
"had the effect of removing certainity even from the findings of science and the meaning of physical laws. First it became clear that most
"+
"scientific knowledge was statistical . Secondly, the Heisenberg uncertanity principle set definite limits to the observational knoweledge one
"+
"could obtain from a system. The Principle, for example, defined the limit of accuracy with which one can simultaneously measure the
"+
"position and position and momentum of an electron . Such finding has quite naturally started scientists as well as philosphers thinking
"+
"very seriously about the problem of what one can know. What are the limitations of scientific knowledge?
"+"
"+"

shashikant.v
Newbie Poster
16 posts since Sep 2009
Reputation Points: 10
Solved Threads: 0
 

Make your frame class as SINGLETON.
getInstance() always return the same instance

package shashikant;

import javax.swing.*;

public class MyFrame {

    private static JFrame f2;
    private static MyFrame thisClass;
    private static final String str = "<html>" + " ... " + "</html>";

    private MyFrame() {

        JLabel strLabel;
        JPanel p2;
        JScrollPane jsp;
        f2 = new JFrame("shashikant verma");
        p2 = new JPanel();
        f2.getContentPane().add(p2);
        strLabel = new JLabel(str);
        p2.add(strLabel);
        jsp = new JScrollPane(strLabel);
        jsp.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
        jsp.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
        f2.getContentPane().add(jsp);
        ////
        f2.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
        f2.pack();
        f2.setVisible(true);
    }

    public static MyFrame getInstance() {
        if (thisClass == null) {
            thisClass = new MyFrame();
        }
        return thisClass;
    }

    public void setVisible(boolean b) {
        f2.setVisible(b);
    }
}

Implementation of OpenMenuListener

package shashikant;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class OpenMenuListener implements ActionListener {

    // a  - definition
    public void actionPerformed(ActionEvent ev) {
        if (ev.getSource().equals(a)) {
            MyFrame.getInstance().setVisible(true);
        }
    }

    //test
    public static void main(String args[]) {
        MyFrame.getInstance().setVisible(true);

    }
}
quuba
Posting Pro
573 posts since Nov 2008
Reputation Points: 123
Solved Threads: 106
 

public class OpenMenuListener implements ActionListener
{
public void actionPerformed(ActionEvent ev)
{

if(ev.getSource() == c)
{

f2 = new JFrame("shashikant verma");
p2 = new JPanel();
f2.getContentPane().add(p2);
String str = ""+""+""+""+""+""+"
"+"3. Logical structure of Schwartz Distribution
"+""+"


"+""+""+"..................................."+"→"+"
"+"

shashikant.v
Newbie Poster
16 posts since Sep 2009
Reputation Points: 10
Solved Threads: 0
 

It works (view for font size = 40). Windows XP, jdk1.7.0

Attachments arrow.gif 10.32KB
quuba
Posting Pro
573 posts since Nov 2008
Reputation Points: 123
Solved Threads: 106
 
It works (view for font size = 40). Windows XP, jdk1.7.0


thanks for ur reply
i m trying with ur given reply
thanks and regard
shashikant verma

shashikant.v
Newbie Poster
16 posts since Sep 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: