shashikant.v 0 Newbie Poster

hi

I have to create a help menu in my project for that i had made html pagesand my problem is I cannot connect that html pages from help menuitem. pls helpme and guide me for that.

thanks for ur response
shashikant.v

shashikant.v 0 Newbie Poster

dear friends,

I am working on small project for that i am making a setup from install creator and launch 4j after creating a jar file. But in that step .exe file is needed . pls help me to create a .exe file.
thanks & regards
shashikant

shashikant.v 0 Newbie Poster

use

fd.setVisible(true);

instead of fd.show();

dear mr topest1

thanks for reply. your given code really work and now my problem is solved .
thanks for such cooperation
shashikant

shashikant.v 0 Newbie Poster

oh! sorry,

I forgot to put - sign before Xlint:deprecation

use:
"javac filename.java -Xlint:deprecation"

Thanx for pointing out my mistake !

dear sir
i had use that also but the same is given as i have given in my previous post . how that deprecation warning will be solved . I had gone through ur link @Deprecated . i had used it in my program also as given in that page of deprecated. but still deprecation warning is flowing.

thanks for such an effort

shashikant.v 0 Newbie Poster

And have you used that option to javac, yet? Using an option on a command line is not a Java issue, and if you do not know how to provide options and arguments to a command on the command line then you need to learn that, first. And, as said, that is not a Java issue.

If it is that you are using an IDE and don't know how to set the options in the IDE, well, read the user documentation for your IDE and find out how.

Once you have the respective issue corrected, then do that. If you still don't understand what's wrong, then post here what that compilation attempt gave you and we will help you further.

P.S. PM's asking for help are summarily ignored.

Edit: If you simply want the warning to "go away" then use the "@Deprecated" annotation (Google that) or use the "-nowarn" or "-Xlint:none" options to javac.

So, as I said, post what it was you got.

P.S. You hopefully did not actually type javac -Xlint deprecated file name.java but rather javac -Xlint:deprecation filename.java which is what the initial message said (for the option) and only common sense (for the argument) besides the fact that I had already explicitly posted that.

sir
sorry for wrong sentence.
after wriitnig the javac -Xlint:deprecation filename.java i got the warning
"[deprecation] show() in java.awt.Dialog has been deprecated fd.show()"
in open and save dialog box.
pls reply as soon as possible.

shashikant.v 0 Newbie Poster

And have you used that option to javac, yet? Using an option on a command line is not a Java issue, and if you do not know how to provide options and arguments to a command on the command line then you need to learn that, first. And, as said, that is not a Java issue.

If it is that you are using an IDE and don't know how to set the options in the IDE, well, read the user documentation for your IDE and find out how.

Once you have the respective issue corrected, then do that. If you still don't understand what's wrong, then post here what that compilation attempt gave you and we will help you further.

P.S. PM's asking for help are summarily ignored.

Edit: If you simply want the warning to "go away" then use the "@Deprecated" annotation (Google that) or use the "-nowarn" or "-Xlint:none" options to javac.

dear sir

i have eneterd the following on command prompt :
javac filename.java
but it is giving deprecated warning. for the overcome of deprecated warning where my code is deprecated i had given the following command
javac -Xlint deprecated file name.java
after putting the command 2 step were shown where the method is deprecated. but i am not able to solve the deprecated problem.
so pls help how it is solved.
if necessary i can forward my code to u .
thanks
shashikant

shashikant.v 0 Newbie Poster

It is just a warning !
http://www.j2ee.me/j2se/1.5.0/docs/api/java/lang/Deprecated.html


use "javac filename.java Xlint:deprecation"

It will tell you which method is deprecated
Search the Java Docs for the better equivalent

dear sir
i have gone through ur given reply but as a beginer in java i cant able to solve the problem of deprecation. so pls help me how the problem will be solved.
thanks
shashikant

shashikant.v 0 Newbie Poster

dear sir
thanks for ur reply
i am beginer in java and working on a project , and i am unable to solve the deprecation warning so pls help me how that warning will be solved. if necessary i can forward my code.
pls give reply as soon as possible.
thanks
shashikant

shashikant.v 0 Newbie Poster

It is just a warning !
http://www.j2ee.me/j2se/1.5.0/docs/api/java/lang/Deprecated.html


use "javac filename.java Xlint:deprecation"

It will tell you which method is deprecated
Search the Java Docs for the better equivalent

dear sir,

I am beginer in java and I am working on a project so that i am unable to solve the deprecation warning. so pls help how that warning will be solved.
pls help me.

thanks for ur reply

shashikant.v 0 Newbie Poster

hi friends

when i am running my programe on cmd in C:\Programe File\jdk1.6.0_14\bin I got the message that file name.java uses or overrides a deprecated API . Recompile with -Xlint: deprecation for details . what it meant how it will solved . please help me

thanks in advance for reply
shashikant

shashikant.v 0 Newbie Poster

HI Friends i am preparing for scjp 6 and i have started studying kathy sierra
plz tell me that what more should i study and how should i study to crack scjp 6
plz reply with ur suggestion and experience...

hi
fiends if u r preparing for scjp6 go through the books of java certification not with kathy sierra . it will help u much better than kathy sierra but if ur concept is not clear then took help from kathy sierra also .
thanks

shashikant.v 0 Newbie Poster

hi.
i want to call a new frame on clicking on treeview .
pls help.
thanks

shashikant.v 0 Newbie Poster
public class OpenMenuListener implements ActionListener
{
    public void actionPerformed(ActionEvent ev)
{
if(ev.getSource() == b)
{

    f2 = new JFrame("shashikant verma");
    p2 = new JPanel();
    f2.getContentPane().add(p2);


    String str = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"2. Definition of Function<br>"+"<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = \"5\">"+"2.1 "+"<u>"+"Mathematical Definition <br>"+"</u>"+"<P ALIGN=\"LEFT\">"+ "<font size = \"4\">"+
    " The nineteenth century has named as the century of theory of functions (Volterra(1894) and (1881)). From the point of view of  <br>"+
    "mathematicians we first state the definition of a function .<br>"+"<br>"+
                "A function "+"<i>"+" f "+"</i>"+" as assigning to each element "+"<i>"+" x "+"</i>" +"of some set S an element"+ "<i>"+"<font size =\"4\"> "+" f(x) "+"</i>" +"of another set T. The element"+"<i>"+"<font size =\"4\"> "+" f (x)"+"</i>"+"is called the value of  <br>"+
    "<i>"+"<font size =\"4\"> "+" f "+"</i>"+"at "+"<i>"+"<font size =\"4\"> "+" x "+"</i>" +". However, this is not a satisfactory definition of function because of the ambiguity of the word assign. Mathematicians were <br>"+
    "well known about the said unsatisfactory definition of function. Moreover,they describe another definition so called "+ "&#34"+"Cartesian product sets"+"&#34"+" <br>"+
    "which is given below<br>"+"<br>"+
    "<font size = \"5\">"+"2.1.1 "+"<u>"+"Cartesian product sets <br>"+"</u>"+"</font>"+"<P ALIGN=\"LEFT\">"+ "<font size = \"4\">"+
    "If S and T are two sets, then the Cartesian product set S "+"&#215"+" T is formed by taking all ordered pairs (p, q) where p"+ "<font size =\"4\"> "+"&#8712"+"<font size =\"4\"> "+ "Sand q"+"&#8712"+" T.<br>"+
    "For example, if S = {1,2,3,..............n} and T = { 1,2,3,................,m}, then the elements of …
shashikant.v 0 Newbie Poster

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 0 Newbie Poster
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 = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"<br>"+"3. Logical structure of Schwartz Distribution<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = \"4\">"+"..................................."+"&#8594"+"<br>"+"</html>";
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);
}
}

all the code is right.Al unicode value is converting appropriate but it is not converting the value of unicode value RIGHTWARD arrow. although it is given in HTML 4.0 character entity "&#8594"---- RIGHTWARD arrows .
pls help me why it is not converting is there any syntax problem or what
waiting for reply
thanks and regard
shashikant verma

shashikant.v 0 Newbie Poster

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 = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"CORRECT DEFINITION AND<br>"+"STRUCTURE OF FUNCTION y = f(x) "+"<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = \"6\">"+"<u>"+"Introduction <br>"+"</u>"+"<P ALIGN=\"LEFT\">"+ "<font size = \"4\">"+
"It is a well-known fact that the Logicians,Mathematicians and Physicists have been pointing out about deficiencies in the definition<br>"+
"and structure of a function.This will lead us to the conclusion that in many physical phenomena there are failure processes <br>" +
"of Physics -Technology. In other words, Experimenters arrive at conclusions on experimental data and disconcern their reliability<br>"+
"which is related with errors and uncertainity associated with experimental results. The present work provides an account of the<br>"+
"deficiencies in the definitions and its value and limit about a point. This work leads to an important conclusion about an answer <br>"+
"to the failure process of Physics-Technology in terms of its correct measurements in the experiments.<br>"+"<br>"+"<P ALIGN =\"LEFT\">"+
"However, Distribution Theory (Schwartz (1996) ) generalizes Physicist's intuition (Dirac(1930)) about point particles which are <br>"+
"represented as"+"<font size =\"4\"> "+"&#948 -"+"<font size =\"4\"> "+ " Dirac function. Indeed, the definition and properties of "+"<font size =\"4\"> "+"&#948 -"+"<font size =\"4\"> "+"Dirac function in the sense of function are not eventually <br>"+
"true as pointed out by Mathmaticians. …