Help on Borland JBuilder

can JBuilder 2005 Enterprise run on a PC with this following specifications?
HP Vectra Intel Celeron 366 Mhz, 64mb memory, 4.3 gb harddisk
pls help me. thanks

They have the minimum specs required on this page
http://www.borland.com/jbuilder/pdf/jb2005_techview.pdf
For myself when looking at any of the modern tools, I wouldn't really want to go below 1ghz and 256MB memory - absolute minimum - and preferably more.
Java apps like Eclipse et al are notoriously memory hungry.

Similar Messages

  • BEA and Borland to Offer Borland JBuilder, BEA Weblogic Edition

    It's coming lads, the N.1 IDE targeted for N.1 App Server. See all details
    at :
    http://www.theserverside.com/home/thread.jsp?thread_id=14979
    [Guillaume Lasnier.vcf]

    Hi,
    Instead of Ping,Try telnet command to specific DB port from Weblogic Server to DB server
    You should get
    $ telnet ipaddress port
    Trying ipaddress...
    Connected to ipaddress.
    Escape character is '^]'.
    Regards
    Fabian

  • Need help with JBuilder

    Hello.
    Such problem happened with me.
    I've reinstalled JBuilder in a new directory c:/JBuilder4
    and the old version in c:/Program Files/JBuilder4
    i didn't kill.
    So i worked this way for some time. But today i cleared some directories from the old version (by the way the system didn't allow me to delete some directories ; why?)
    And when i tried to run an application which worked well
    from new JBuilder i received following:
    -- IOException starting Java runtime process --
    java.io.IOException: CreateProcess: C:\Program Files\JBuilder4\jdk1.3\bin\javaw -classic -classpath "C:\JBuilder4\MyProjects\data\classes;C:\JBuilder4\lib\jas.jar;C:\Program Files\JBuilder4\jdk1.3\demo\jfc\Java2D\Java2Demo.jar;C:\Program Files\JBuilder4\jdk1.3\jre\lib\i18n.jar;C:\Program Files\JBuilder4\jdk1.3\jre\lib\jaws.jar;C:\Program Files\JBuilder4\jdk1.3\jre\lib\rt.jar;C:\Program Files\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;C:\Program Files\JBuilder4\jdk1.3\lib\dt.jar;C:\Program Files\JBuilder4\jdk1.3\lib\tools.jar" data.Read1 error=2
    I am not very familiar with -JBuilder but it seems to me that it tries to use the old jdk1.3 ??
    Yes it so, because when i restored jdk1.3 on the old place everything is ok.
    Where i can change path to jdk ?
    I tried in project/project properties/paths/jdk but i can't chage it there, no possibility to chose.
    If you have idea , post it please , thank you.

    Try this link:
    http://community.borland.com/article/0,1410,22017,00.html
    I found it on the borland JBuilder site. This should take care of the problem. If not do a search on their site using the following keywords:
    "changing jdk in JBuilder"
    This produced many articles in the results.
    Stephan

  • I'm new and I REALLY need help

    Hi, my name is Chris, I'm new to java.sun.com and I'm a beginner programmer seeking a degree in Comp Sci. I've been writing some code and I've stumbled on some problems that I can't troubleshoot, (run-time?) error seems to be way over my head, the program should work, i don't know why not? Can someone please please give me a clue as to what's going on?
    Here's the program;
    I have to greate a Coins class that will define the different coins (dime, nickelsk, etc.) that will be used in the main .java file. The main .java file has to randomly generate some "change" and sort it out in the least amount of coins possible.
    The problem:
    There are no compilation errors; however, when I run the program I receive this run-time error:
    Exception occurred during event dispatching:
    java.lang.NullPointerException
         at cs130project3.Project3.paint(Project3.java:48)
         at sun.awt.RepaintArea.paint(RepaintArea.java:298)
         at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:196)
         at java.awt.Component.dispatchEventImpl(Component.java:2663)
         at java.awt.Container.dispatchEventImpl(Container.java:1213)
         at java.awt.Component.dispatchEvent(Component.java:2497)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    What does this mean?
    Some things I've tried are sticking a g.drawOval() into the paint method, it works just fine, so i assumed there must a problem passing the g object into the coins.draw(g) method, is there a file placement problem or an object passing problem? I'm using Borland JBuilder 7 and i'm assuming that it places the files in the right location, its all in a package called cs130Project3.
    Here is the code:
    Coins class:
    import java.awt.*;
    public class Coins {
    private final int DIAMETER = 30;
    private int coinsAmount = 0;
    private String coinsType = "";
    private int coinsPosX = 0;
    private int coinsPosY = 0;
    public Coins(int coinAmount, String coinType, int coinPosX, int coinPosY) {
    coinsAmount = coinAmount;
    coinsType = coinType;
    coinsPosX = coinPosX;
    coinsPosY = coinPosY;
    public void draw(Graphics screen){
    for(int i = 0; i < coinsAmount; i++)
    screen.drawOval(coinsPosX,coinsPosY,DIAMETER,DIAMETER);
    coinsPosX += 5;
    coinsPosY += 5;
    if(i == (coinsAmount - 1))
    screen.drawString(coinsType,(coinsPosX+10),(coinsPosY+10));
    Here is the main class:
    import java.awt.*;
    import java.util.Random;
    import java.applet.Applet;
    public class Project3 extends Applet {
    private Coins Pennies, Nickels, Dimes, Quarters;
    public void init() {
    int randomChange = 0;
    int numPenny = 0, numNickel = 0, numDime = 0, numQuarter = 0;
    String Penny = "1c", Nickel = "5c", Dime = "10c", Quarter = "25c";
    Random generator = new Random();
    randomChange = generator.nextInt(100);
    while(randomChange > 0)
    while(randomChange >=1)
    while(randomChange >= 5)
    while(randomChange >= 10)
    while(randomChange >= 25)
    numQuarter++;
    randomChange -= 25;
    if(randomChange >= 10)
    numDime++;
    randomChange -= 10;
    if(randomChange >= 5)
    numNickel++;
    randomChange -= 5;
    if(randomChange >= 1)
    numPenny++;
    randomChange -= 1;
    } // End while loop
    Coins Pennies = new Coins(numPenny,Penny,10,10);
    Coins Nickels = new Coins(numNickel,Nickel,100,10);
    Coins Dimes = new Coins(numDime,Dime,150,10);
    Coins Quarters = new Coins(numQuarter,Quarter,200, 10);
    public void paint (Graphics g)
    Pennies.draw(g);
    Nickels.draw(g);
    Dimes.draw(g);
    Quarters.draw(g);
    help me!!
    Thank you,
    Chris

    Chris, I can't even compile your stuff because you didn't post all your classes (Coin is missing), but the runtime error is telling you a lot:
    java.lang.NullPointerException
    at cs130project3.Project3.paint(Project3.java:48)It says you're dereferencing an object that's null at line 48 of your Project3 class. Turn on line numbering in your text editor, go to line 48, and see what you've missed. One of your objects wasn't initialized. I'll bet you declared a reference type in a class but never initialized it properly in a constructor. The JVM will set those references to null unless you provide a value. - MOD

  • Please, If you can help me in XML-DBMS

    I just want to convert a big xml file to mysql database. every thing is customized well in xml-DBMS technique in JBuilder 2005.
    this erorr mesage had came when I started to transfere into the database.
    Transfer to DBMS Failure -
    de.tudarmstadt.ito.xmldbms.KeyException: Can't call commit when autocommit=true
    in mysql environment, I have wrote in my.ini file under [mysqld]
    init_connect='SET AUTOCOMMIT=0'
    I don't know if this error is related to the mysql or to java (/jbuilder). and what is the solution?
    I would be gratefull to you for any help.

    this is the class, the packages have already defined
    import com.borland.jbuilder.xml.database.template.*;
    import com.borland.jbuilder.xml.database.xmldbms.*;
    import com.mysql.jdbc.Driver;
    public class trans {
    XMLDBMSTable xMLDBMSTable1 = new XMLDBMSTable();
    public trans(){
    try {
    jbInit();
    } catch (Exception ex) {
    ex.printStackTrace();
    public static void main (String arg[])
    {trans t = new trans();
    private void jbInit() throws Exception {
    xMLDBMSTable1.setDriver("com.mysql.jdbc.Driver");
    xMLDBMSTable1.setMapFileName("F:/textxml/files/uniprot.map");
    xMLDBMSTable1.setMode(XMLDBMSData.XML_TO_DB);
    xMLDBMSTable1.setPassword("bazallh");
    xMLDBMSTable1.setUrl("jdbc:mysql://localhost/jbuilder");
    xMLDBMSTable1.setUserName("root");
    xMLDBMSTable1.setXmlFileName( "F:/JavaProject/files/xmlfiles/uniprot_sprot.xml");
    xMLDBMSTable1.transfer();
    }

  • Should I use Borlands Basic Wizard class?

    Hi,
    I am just about to start programming a wizard for my Swing application. I am using Borland JBuilder as an IDE and in the help file found a class called "Basic Wizard". Is this not an official class? If the answer is yes, is it advisable to use this class, and other 3rd party classes.
    cheers
    David

    hm I do not know the JBuilder (like seen once, deinstalled and stayed on Forte4Java g) but it seems like the "Basic Wizard" is just one other "Borland specific" Class in it�s own IDE.
    I did never see this class anywhere in Java 1.4.x and so it seems, its one of Borland�s own things, and there�s one way:
    "Use at own risk..."

  • Number Guessing Game Help

    this is my current code it works ok, but i need a bit of help with when they get it right, and I have to start converting it to graphical in Borland Jbuilder.
    import java.io.*;
         import java.util.*;
    public class Numb{
         public static void main (String [] args){
              //Game State     
              int magicNumb = Math.abs(new Random().nextInt() % 100) + 1;
              //Output instructions
              System.out.println("I Feel Numb!");
              System.out.print("Do you feel Loved? Y/N");
              //Read from input
              InputStreamReader inStream = new InputStreamReader(System.in);
              BufferedReader keyboard = new BufferedReader(inStream);
              String line = null;
              try{
                   line=keyboard.readLine();
              }catch(IOException ioe){}
              boolean acrobat = true;
              //If they pressed y let them play
              if(line.equalsIgnoreCase("y")){
                   //Game stuff goes here
                   System.out.println("Don't Expect Suggest a NUMBer between 1 and 100");
                   System.out.print("Enter a guess:");               
                   //LOOP
                   while (acrobat=true){
                   //Read user input
                   {try{
                        line=keyboard.readLine();
                   }catch(IOException ioe){}
                   //Convert the inpt to an int value
                   int guess = (int)Integer.parseInt(line);
                   //If Right
                   if (guess==magicNumb)
                        System.out.println("Green Light Seven Eleven You stop in for a pack of cigaretes");
                        acrobat=false;               
                   //If too High
                   if (guess>magicNumb)
                        System.out.println("Too Much is Not Enough");
                   //If too Low
                   if (guess<magicNumb)     
                        System.out.println("Gimme Some more, Gimme some more");}
    }

    Ok what i need help with is when they get the
    integer, i need to either state another message and
    quit, or give them the option to play again?Okay, so, your overall code structure will look something like this: do {
        play();
        again = askIfPlayAgain();
    } while again;
    void play() {
        do {
            ask for a guess
            give answer
        } while (incorrect);
    } You don't have to use do/while. Plain old while will work.
    The main points are:
    1) You need two loops. The inner one keeps going within one round until they guess correctly, and the outer one keeps starting new rounds until they quit.
    2) You should break the problem down into smaller, more elemental pieces, rather than stuffing everything into one big blob in main.
    #1 will help you solve this problem, but #2 is an absolutely essential skill to learn.

  • Some very basic problem PLEASE HELP ME :(

    hi,
    im just new to EJB's and WebLogic. i have integrated JBuilderX with BEAweblogic 8.1 and then made simplest ejb.
    started the server.
    server successfuly startedthen made test client and while running test client i got following error...
    "EJBModule.jar": Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.
    "EJBModule.jar": Spaces in the classpath may cause WebLogic APPC utility to produce fatal compile errors.
    "EJBModule.jar": C:\bea\jdk142_04\bin\javaw -classpath "C:\bea\weblogic81\server\lib\weblogic_sp.jar;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\server\lib\webservices.jar;C:\Documents and Settings\Administrator\jbproject\ejbsess\EJBModule.jar;" weblogic.appc -keepgenerated -forceGeneration -compiler C:/bea/jdk142_04/bin/javac "C:/Documents and Settings/Administrator/jbproject/ejbsess/EJBModule.jar.jar" -output "C:/Documents and Settings/Administrator/jbproject/ejbsess/EJBModule.jar"
    AND
    "EJBModule.jar": <Nov 3, 2004 10:47:15 PM GMT+05:00> <Warning> <EJB> <BEA-010054> <EJB Deployment: WebLogicSes has a class ejbsess.WebLogicSesBean that is in the classpath. This class should only be located in the ejb-jar file.>
    "EJBModule.jar": <Nov 3, 2004 10:47:16 PM GMT+05:00> <Warning> <EJB> <BEA-010054> <EJB Deployment: WebLogicSes has a class ejbsess.WebLogicSesHome that is in the classpath. This class should only be located in the ejb-jar file.>
    "EJBModule.jar": <Nov 3, 2004 10:47:16 PM GMT+05:00> <Warning> <EJB> <BEA-010054> <EJB Deployment: WebLogicSes has a class ejbsess.WebLogicSes that is in the classpath. This class should only be located in the ejb-jar file.>
    "EJBModule.jar": [J2EE:160127]ERROR: Could not delete previous archive: C:\Documents and Settings\Administrator\jbproject\ejbsess\EJBModule.jar
    PLEASE HELP ME WAT TO DO....
    WAITING...
    :-(

    hi,
    i again made the whole thing with C:\project\weblogicsessproject
    i just simply made session bean and one method getMessage() which simply return String message.
    i compile that code and get following warning..
    "EjbsessModule.jar": Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.
    then i run the server from JBuilder which runs correctly and gives the message to client that...
    <Nov 10, 2004 1:09:41 PM GMT+05:00> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 7001, ip address *.*>
    AND ON RUNNING TEST CLIENT OF JBUILDER I GET NAMING EXCEPTIONS...
    C:\bea\jdk142_04\bin\javaw -classpath "C:\project\weblogicsessproject\classes;C:\bea\weblogic81\server\lib\weblogic_sp.jar;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\server\lib\webservices.jar;C:\bea\jdk142_04\jre\lib\charsets.jar;C:\bea\jdk142_04\jre\lib\ext\dnsns.jar;C:\bea\jdk142_04\jre\lib\ext\ldapsec.jar;C:\bea\jdk142_04\jre\lib\ext\localedata.jar;C:\bea\jdk142_04\jre\lib\ext\sunjce_provider.jar;C:\bea\jdk142_04\jre\lib\im\indicim.jar;C:\bea\jdk142_04\jre\lib\im\thaiim.jar;C:\bea\jdk142_04\jre\lib\jce.jar;C:\bea\jdk142_04\jre\lib\jsse.jar;C:\bea\jdk142_04\jre\lib\plugin.jar;C:\bea\jdk142_04\jre\lib\rt.jar;C:\bea\jdk142_04\jre\lib\sunrsasign.jar;C:\bea\jdk142_04\lib\dt.jar;C:\bea\jdk142_04\lib\htmlconverter.jar;C:\bea\jdk142_04\lib\tools.jar" weblogicsessproject.WebLogicSesTestClient1
    -- Initializing bean access.
    javax.naming.NameNotFoundException: Unable to resolve 'WebLogicSes' Resolved [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'WebLogicSes' Resolved ]; remaining name 'WebLogicSes'
         at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
    -- Failed initializing bean access.
         at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
         at weblogic.jndi.internal.ServerNamingNode_813_WLStub.lookup(Unknown Source)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:369)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:357)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at weblogicsessproject.WebLogicSesTestClient1.initialize(WebLogicSesTestClient1.java:34)
         at weblogicsessproject.WebLogicSesTestClient1.<init>(WebLogicSesTestClient1.java:19)
         at weblogicsessproject.WebLogicSesTestClient1.main(WebLogicSesTestClient1.java:270)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'WebLogicSes' Resolved
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:897)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:230)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:154)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:188)
         at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    IM DOING ALL THAT WITH HELP OF BORLAND WHITE PAPERS...
    please help me
    waiting

  • Please help with this error message

    java.lang.UnsatisfiedLinkError: C:\j2sdk1.4.1_01\jre\bin\J3D.dll: One of the library files needed to run this application cannot be found
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1389)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:832)
         at javax.media.j3d.MasterControl$20.run(MasterControl.java:848)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:845)
         at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:229)
         at RandyClasses.Buzz3D.Buzz3D.init(Buzz3D.java:625)
         at com.borland.jbuilder.runtime.applet.AppletTestbed.startApplet(Unknown Source)
         at com.borland.jbuilder.runtime.applet.AppletTestbed.main(Unknown Source)
    Exception in thread "main"

    Apart from what the exception already tells you (your Applet needs a library called J3D.dll but cannot find it), this always happens when the JVM tries to call native methods but is not provided with the libraries these native methods are implemented in.
    If you know where to find J3D.dll you could try to start your JVM with the additional parameter -Djava.library.path=[pathToJ3D.dll].
    If you can't find J3D.dll, make sure you have installed the Java3D Runtime.
    If you have more than one SDK or JRE version installed on your system, make sure you use the correct one, that means, the one you installed your Java3D Runtime in.
    I hope this helps.

  • An intro programming freshman needing help..

    I'm a computer science freshman student and just starting out in my OOP class in JAVA. My class is using the Deitel book "How to Program in JAVA" 3rd ed. Although we are just beginning the course and have jst started working on arrays, I really wanted to get ahead of the class and work on the final project which is due in December. I wanted to create a page wizard that makes JSP pages, although the page wizard would be web-based. The page wizard would have templates like a main page, a form page and other types of content pages. Based on what I was reading in the New to JAVA technology posts.. I installed
    Apache and Tomcat on my computer. I'm using broadband and have made my local machine a temporary host for this purpose. I am asking for advice as to how I should do my project. My professor isn't really helpful, which leads me to believe he doesn't really know the subject matter. I've heard I should use XML somehow but I don't know XML. Can anyone help me? Also, if anyone knows any good books or websites specifically on this subject I would really appreciate it!Thank you
    Sincerely
    Jose
    PS. I'm also using Borland JBuilder 3(comes w/ book), but my professor is telling me to use Forte for JAVA, which I don't know to use and how to use it for my project as well. Which one should I use? And he suggested using a database to keep the templates of my pages and if people want to store their templates with a profile that includes login and passwords. What does that mean? Then how would I connect to a database? I only have Access on my computer and I don't know have SQL, Oracle, or mySQL nor do I know how to use any of them?

    Actually I'm Filipino and don't speak spanish, sorry. That's ok abt. >those electronic books, if you know of any books or references >available in bookstores that would be helpful as well.
    I looked at the link you gave me in the Sun WebSite. However can you >guide me a little further as to what topics I should look into?
    Thanks
    JoseBecaus eof your name I though you may be Spanish, as I'm. About the link it's to help you starting with XML, first try:
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/IntroXML.html
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXPSAX.html
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXPDOM.html
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXPIntro.html
    In the order stated above, I think it's the logical order. After that you'll have enought criteria to know which path follow to know "the XML you need".
    About electronical books, franklty, a good part of them I got them from from a website, which even I can't remember it, whwere I've got a password which allows you to see full books, the we employ an aracnic to automatize the download process, skip filters the have... blablabla
    To short: you won't be able to download them (even now I can't download more).
    Jose, you seem a good guy, if you sent me a FTP I wold send you books about XML, Java, and almost anything you were interested in. I can't allow you to download from my computeR: I'm under a firewall...
    Tell me.
    Abraham.

  • Array of buttons help please

    Hi,I'm creating a calendar/diary program and i need help with the following:
    I have 3 classes. One called Calendar_Notetaker.java. This one is the main applet class. The other called MonthDate.java. This class figures out the number of days in month, leap year ect. using the java.util.date. Then another class called CalendarPanel.java. This class creates the actual caladar.
    I used a button array to print the days. However i'm having problems accessing the buttons. i need to put an actionlister on them so when a user clicks on them it opens a new window. i know how to open a new window from a button but i cant figure out how to do it from a button array. Do i need need to create an instance from the main applet or can i do it in the class that generates the buttons?
    here are my classes..note these are all in sepearte files.
    any suggestions would be appreciated
    thanks
    Kevin
    PS. These were done in Borland Jbuilder 7 Enterprise
    package calendar_notetaker;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class Calendar_NoteTaker extends Applet {
    private int currentYear;
    private int currentMonth;
    private MonthDate myMonth;
    CalendarPanel monthPanel;
    private boolean isStandalone = false;
    //Get a parameter value
    public String getParameter(String key, String def) {
    return isStandalone ? System.getProperty(key, def) :
    (getParameter(key) != null ? getParameter(key) : def);
    //Construct the applet
    public Calendar_NoteTaker() {
    //Initialize the applet
    public void init() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    setLayout(new BorderLayout());
    myMonth = new MonthDate();
    currentYear = myMonth.getYear();
    currentMonth = myMonth.getMonth() + 1;
    monthPanel = new CalendarPanel(myMonth);
    add("Center", monthPanel);
    Panel panel = new Panel();
    panel.add(new Button("Previous Year"));
    panel.add(new Button("Previous Month"));
    panel.add(new Button("Next Month"));
    panel.add(new Button("Next Year"));
    add("South", panel);
    show();
    public void setNewMonth()
    myMonth.setMonth(currentMonth - 1);
    myMonth.setYear(currentYear);
    monthPanel.showMonth();
    public boolean action(Event event, Object obj)
    if(event.target instanceof Button)
    if("Previous Month".equals(obj))
    if(--currentMonth < 1)//goes before january
    currentYear--;
    currentMonth = 12;
    if(currentYear < 70)//year < 1970
    currentYear = 70;
    } else
    if("Next Month".equals(obj))
    if(++currentMonth > 12)//if you go past 12 months
    currentYear++;//set to next year
    currentMonth = 1;//set back to january
    if(currentYear > 137)//137 years from current year.
    currentYear = 137;
    } else
    if("Previous Year".equals(obj))
    if(--currentYear < 70)
    currentYear = 70;
    } else
    if("Next Year".equals(obj) && ++currentYear > 137)
    currentYear = 137;
    setNewMonth();
    return true;
    //Start the applet
    public void start() {
    //Stop the applet
    public void stop() {
    //Destroy the applet
    public void destroy() {
    //Get Applet information
    public String getAppletInfo() {
    return "Applet Information";
    //Get parameter info
    public String[][] getParameterInfo() {
    return null;
    package calendar_notetaker;
    import java.awt.*;
    import java.util.Date;
    public class CalendarPanel extends Panel
    private MonthDate myMonth;
    Label lblMonth;//month label
    Button MonthButtons[];//button arrary for month names
    public CalendarPanel(MonthDate monthdate)
    lblMonth = new Label("",1);//0 left 1 midele 2 right side
    MonthButtons = new Button[42];//42 buttons 7x6 some wont be used
    myMonth = monthdate;
    setLayout(new BorderLayout());
    add("North", lblMonth);
    Panel panel = new Panel();
    panel.setLayout(new GridLayout(7, 7));//7rows x 7cols
    for(int i = 0; i < 7; i++)
    panel.add(new Label(MonthDate.WEEK_LABEL));
    //0 to 42 monthbuttons above is 42
    for(int j = 0; j < MonthButtons.length; j++)
    MonthButtons[j] = new Button(" ");
    panel.add(MonthButtons[j]);//add the butttons to the panel
    showMonth();
    add("Center", panel);
    show();
    public void showMonth()
    lblMonth.setText(myMonth.monthYear());//monthyear is built in util.date
    int i = myMonth.getDay();//get current day
    if(myMonth.weeksInMonth() < 5)//if month has less than 5 weeks
    i += 7;//we still want to have a 7x7 grid
    for(int j = 0; j < i; j++)
    {//add the begging set of empty spaces
    MonthButtons[j].setLabel(" ");
    MonthButtons[j].disable();
    // k<days in month user picks
    for(int k = 0; k < myMonth.daysInMonth(); k++)
    {//add days in month + empty spaces
    MonthButtons[k+ i ].setLabel("" + (k + 1));
    MonthButtons[k+ i ].enable();
    for(int l = myMonth.daysInMonth() + i; l < MonthButtons.length; l++)
    {//add ending number of empty spaces
    MonthButtons[l].setLabel(" ");
    MonthButtons[l].disable();
    package calendar_notetaker;
    import java.util.Date;
    public class MonthDate extends Date
    //week header
    public static final String WEEK_LABEL[] = {
    "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
    //days in month assuming feburary is not a leap year
    final int MonthDays[] = {
    31, 28, 31, 30, 31, 30, 31, 31, 30, 31,
    30, 31
    //label to print month names
    public static final String MONTH_LABEL[] = {
    "January", "February", "March", "April", "May", "June", "July", "August", "September", "October",
    "November", "December"
    //create constructor
    public MonthDate()
    this(new Date());
    public MonthDate(Date date)
    {//get the current system date and month add one cause its off one
    this(date.getYear(), date.getMonth()+1);
    public MonthDate(int year, int monthName)
    super(year,monthName-1,1);//year, monthname,start day posistion
    public boolean isLeapYear()
    int year;
    Date date = new Date();
    year=date.getYear();
    return ( ((year % 4 == 0) && (year % 100 != 0))
    || (year % 400 == 0) );
    public int daysInMonth()
    int i = getMonth();
    if(i == 1 && isLeapYear())
    return 29;
    } else
    return MonthDays;//return the array declared above
    public int weeksInMonth()
    { //finds howmany weeks are in a month
    return (daysInMonth() + getDay() + 6) / 7;
    public String monthLabel()
    { //method to return the month names for printing later
    return MONTH_LABEL[getMonth()];
    public String monthYear()
    {//method to return the month and year for printing later
    return monthLabel() + " " + (1900 + getYear());

    add a listener and do it from there.

  • Newbie Java programmer needs help

    Everytime I go to run my program, I get the error
    "the class welcome.Welcome does not exist" and it's right, there is no such thing, nor will there ever be. There is a Welcome.class though, but it doesn't want to see it. Is there some setting I'm missing(i'm using Borland JBuilder 5 Personal) or is my code wrong. Here it is though, please help!
    import javax.swing.JOptionPane;
    public class Welcome
    public static void main( String args[] )
    JOptionPane.showMessageDialog(
    null, "Welcome to Java Programming" );
    System.exit( 0 );
    }

    Your code compiled and ran perfect on my machine.
    Your problem lays in either:
    1) your WYSIWYG (JBuilder or whatever)
    2) your class path
    I may be wrong. I have never used this program that you are talking about. but it seems to me that if you were able to get this program(IDE) running in the first place it should aready have some kind of JRE installed.
    You may wan't to just download the newest JDK if you don't already have it. Or try to locate the path for the command named "java" and try it like this:
    C:\whatever\path\it\is\java Welcome
    while in the same directory of the Welcome class.
    Hope this helps,
    Ian

  • How to integrate JBuilder 5 with Oracle9iAS

    I am just wondering if it is possible to integrate JBuilder 5
    with Oracle9iAs, since in my project, my developing ide is
    JBuilder 5, but my deploy application server is Oracle9iAS, not
    JBuilder 5 default application servers, such as BAS, Weblogic,
    or WebSphere.
    Any help is appreciated.
    Thanks
    Frank

    Hi,
    I believe that there will soon be a plugin built for Borland
    JBuilder and Oracle9iAS. When it is ready it will be posted to
    technet.
    Andy

  • How to connect crystal report 10  to Borland JDataStore?

    Post Author: badong
    CA Forum: Data Connectivity and SQL
    i am new to crystal reports for Borland JBuilder. Does anyone knows how to connect it to the database created in
    Borland JDataStore? i would appreciate if you could provide the configurations.

    Crystal Reports AdHoc / Explorer has limited connectivity support, and Universes aren't exposed.
    Crystal Reports Designer is the tool used to create CR against Universes.
    Sincerely,
    Ted Ueda

  • [b]1 OC4J JBUILDER Deployment Problem[/b]

    I cant use the admin.jar from oracle to jbuilder for make a deploy in IAS, i was catching a error ...
    I need to remotely deploy some applications with Oracle, but until now i haven't succeed at all. Every time i try to deploy with
    D:\Borland\JBuilder\jdk1.4\bin\javaw -classpath
    "D:\ora10i\j2ee\home\admin.jar" com.evermind.client.orion.Oc4jAdminConsole ormi://mydomain:XXXX ias_admin ***** -deploy -file untitled2
    i get this exception:
    Could not connect to the remote server, server could be down. Error isconnected user/password invalidate (but i can use this same user and to make a deploy directly in the web saite administrator for oc4j in my server)
    Error: Unable to look up server administrator (java:comp/ServerAdministrator): java:comp/ServerAdministrator not found
    I know this mine that java-rmi dont lookup but why?

    Hi, im sure the server is up,
    i think the OC4J plugin for JBuilder only work for the localhost, because only fail when i try to make a deploy in a remote server, i see how jdeveloper run a deploy and the jar is very different and that have many parameters that the plugin for jbuilder, and the problem is the plugin was make for Oracle, Borland dont have any responsability about this

Maybe you are looking for

  • Need Docs of Product Costing

    Hi Gurus ,                 I need some document for Configuring Product Costing ... Please can anybody help me for it . Thanks in advance Regards Shankar

  • Acrobat Pro Calculating form fields lose functionality after enabling document for Reader

    I have a problem that continues to come up increasingly. I thought I had found a work-around on some forums, but it is still causing trouble. Im hoping you can answer the question. I am creating a form that requires simple calculations (sum and add).

  • Troubleshooting echo

    1751v Router w/2 2port DID VIC's I'm attempting to troubleshoot the sporadic voice issues one of my remote offices are having, but I've read so many support docs that I?ve got myself confused. The most common issue reported is echo. The people on the

  • Mail for iOS

    Mail has gotten worse over the years, in my opinion. I'm looking for a decent email app for iOS that supports IMAP. Mail is the best of a bad lot, but Apple isn't likely to improve it. Yahoo Mail is a joke. I'm glad that my iPad and iPhone could prob

  • New version airport express and music drop-outs

    Does the new version of Airport Express (802.11n) solve the problem of AirTunes audio stream drop-outs? My existing Express suffered so badly, I stopped using it!