Aug
25
2009

Java programming

Hey all you wonderful people out there who have come far and wide across the vastness of cyberspace to reach this paragraph and website, I applaud you. LOL well this is going to be my diary for my Java programming class I am taking at Santa Barbara City College. In this class we are required to make a serious of applications using JAVA so I though I might make them available here and maybe make some tutorials on what I am up to in class we shall see it is a work in progress and I am very ecstatic to do this! Thanks for coming and I hope it was  worth your time! there is a lot available here at Dedicated Traveler and I hope you take the time to look around and perhaps join our network. It is very similar to Facebook after you join. There is a whole backside to this site that well take some time to get use to, but I am in the process of making a whole blog dedicated to making it easy and fun It is created but not fully done. I’ll post a link when I feel like it is giving some value to people. Until then just use the Forum to ask any questions about anything! Thanks and see you online!

Alucard

Oct
20
2009

Flash mask and nesting with fun animation

This was my 6th assignment for my flash class and I of course have obsession with penguins and thought about making an animation with my favorite little dude. Flash nesting is most brilliant Because when I got started in flash I would create something into a symbol and then get a little frustrated because i dint think you could go any further to animate a symbol or tween. I thought the layout was very limited. My thoughts couldn’t of been more off. I am ecstatic to now know how easy and FUN it is to “nest” an animation within an animation. And I do believe it doesn’t end there. SO without further ado the silliness of my mind into an animation. Get the Flash Player to see this player.

Oct
20
2009

Inheritance flash project for my Java class

This was a group project on Inheritance. Our group made up a chart for weapons, We started today at 12:45 and came up with a nice little hierarchy for it. And I made this flash animation for the class presentation for next Tuesday and i though t i may upload it here since it is for my Java class and made in flash, Not the coolest or really using everything flash is capable of but it was quick and easy not to mention we well receive some extra credit for making it a little bit more fun then just a text page of the hierarchy chart. So here it is Get the Flash Player to see this player.

Oct
14
2009

Northwest Indians Flash

Hey everybody I got to working in flash again when my little step sister decided she wanted a go at it so I helped her ( and just recently mentioned group hmm?) make this silly but educational flash animation for The northwest Indian tribes, It is childish but was defiantly fun creating and honed in on those basic skills. Get the Flash Player to see this player.

Oct
14
2009

Sunset and moonrise in flash

I started this for one of my assignments but it didn’t quite work out because I didn’t really do anything I was suppose to accomplish for my assignment Like making nested motions and adding some masks to the timeline. So instead I started on something cooler that I’ll post up here in a couple of days when I finish it entirely. anyways hope you rnjoy this little sunrise, sunset moonrise, and ??? ( best to pause it and let it load a little bit so it doesn’t keep stopping to load)
Get the Flash Player to see this player.

Oct
6
2009

Flash animation using shape tweens

This is my second animation (short) that I made using shape tweens instead of motion tweens. This doesn’t have as cool of a story as the first one but it defiantly looks cool. And it was just an experiment to get use to shape tweens so by no way is this a final version or the last of them.  Hope you enjoy and see you online,

Alucard

Get the Flash Player to see this player.

Oct
6
2009

First Flash animation using motion tweens

Hehe I spent the last couple of nights making this silly (short) animation for my Flash class at Santa Barbara City College. It is my first one like I mentioned so don’t be too judgmental but I am still learning so any constructive criticism is helpful thanks everyone and hope it makes you laugh as It made me several times.
I am currently working on a player for it so it can be embedded into my posts but for now this well have to do.
Enjoy,
Alucard
Get the Flash Player to see this player.

Sep
29
2009

Java applet product ID using a switch

Today after school I spent catchup and tried to catchup on some of my lingering homework assignments. One of which is this one below. the main focus was to use the switch syntax to achieve multiple prices for one variable. I am still working on getting these to be displayed as well either in the sidebar if at all possible or below the post of the code. I am having difficulty embedding the applet code in wordpress posts because wordpress strips my tags and changes them, most likely for security reasons. I am going to look into this more thoroughly tonight and come up with a solution soon to show these silly applets that I have been making. For now I guess I am just going to post the syntax and let you decide what is going to happen. =) I’ll leave an update below the code if I find anything out. Please feel free to comment and let me know some of your idea’s.

-Alucard at Night

package switc;

/**
 *

Title: Switch

 *
 *

Description: Cs120 assignment#5

 *
 *

Copyright: Copyright (c) 2009

 *
 *

Company: 

 *
 * @author aaron Lamar D5
 * @version 1.0
 */
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;

public class Switch extends Applet implements ActionListener {

  Label Prompt1; // prompt user to input first value
  TextField Input1; // input first value here
  Label Prompt2;    //prompt user to input second value
  TextField Quantity;  // input second value here
  double gtotal = 0;
  double product = 0; // add variable and declare a price for it
  int products,pid,quan;
  double total = 0;

  public void init() {
    Prompt1 = new Label("Enter a Product number");
    add(Prompt1);

    Input1 = new TextField(10);
    add(Input1);

    Prompt2 = new Label("Quantity");
    add(Prompt2);

    Quantity = new TextField(10);
    add(Quantity);
    Quantity.addActionListener(this);

  }

  public void paint(Graphics g) {

    g.drawString("Total Product Price $" +  +total, 20, 115);

    g.drawString("Grand Total $" + gtotal,20, 130);
  }

  public void actionPerformed(ActionEvent e) {
    pid = Integer.parseInt(Input1.getText());
    switch (pid) {
      case 1:
        product =  2.98;
        break;
      case 2:
        product =  4.50;
        break;
      case 3:
        product =  9.98;
        break;
      case 4:
        product =  4.49;
        break;
      case 5:
        product =  6.87;
        break;
    }

    quan = Integer.parseInt(Quantity.getText());
    total = product*quan;
    gtotal += total;
    repaint();
  }

}
Sep
28
2009

Java 101

I have been trying to add these applets to this site for way too long now and every time I do it isn’t working which frustrates like none other. I try and try again and then gave up and thought shoot now I started this blog and haven’t posted anything I said I would which makes me feel even worse so I am here now to relieve myself of these thoughts and post something educational instead right now until are Java class gets to the applet section of adding applets to the WWW. I am literally stumped with it and haven’t found a solution of why they are not working. I well however keep those silly first applets I made for fun and when I get them right I well add them to the site, but for now I guess I’ll give some history to the creation to Java.

Java is a high-level object-oriented programming language. Though it is associated with the World Wide Web, it is older than the origin of Web. the programming language Java was developed by Sun Microsystems in the year 1995. Earlier, it was only used to design and program small computing devices but later adopted as one of the platform independent programming language. Java can make an application which is run independent of a browser or any programs, like Microsoft word or notepad it doesn’t need another program to run it. Also Java can be written in an applet form which is dependent of a browser meaning you need to use Internet explorer or firefox (whatever browser you like) to see the outcome and data. Most People would agree with me that Java is more powerful making applets instead of applications because it is not as efficient as other programming languages. An example of some of the syntax (syntax = The study of the rules whereby words or other elements of sentence structure are combined to form grammatical sentences.) would look something like this

class  Comparing{
public static void main(String[] args) {
int a=24, b=25;
if (a == b){
System.out.println("Both are equal");
}
else if(a>b){
System.out.println("a is greater than b");
}
else{
System.out.println("b is greater than a");
}
}
}

This well do basically what it is saying compare the two variables in this case they are a AND b. Where a is 24 and b is 25.

One thing I have noticed is that Learning a programing language isn’t difficult after you learn the language or syntax. Just like learning anything new in life you are not good at it until you practice and learn. I well keep up now with my Java and when I figure out why these applets are not showing up I well add most of them to this website and hopefully you’ll enjoy the silly simplicity of them they are nothing complicated, for now at least.

Sep
5
2009

Expanding your limits

Collectively putting together and pushing this site to reach its potential daily has been an immense amount of my time lately. I really want this to be a source for fun and hours of sharing, learning and educating individuals one by one. Everyday is exciting and is bringing a smile to my face even in it’s darkest times (Last month when I accidentally deleted a wrong file and lost 95% of this site). But all in all I always go back to how the process is so much more satisfying then the final outcome. Then your done, sitting there thinking what’s next? I enjoy what is being created here and am looking forward to the many nights of sharing, educating and learning that well come from Dedicated Traveler.
I have seen this snip of code for an iframe but never gone deeper or found out much about it, But I’ll try it out here and see if it is worth looking into and some of its uses might be worth it.

Awesome so what the iframe does is exactly above another website adress, in this case dedicatedtraveler’s forum, on this site like a mini browser with limited funcions. In any case I can see some tremendous use out of it. Oh the power of code! Well to use the iframe on Dedicated Traveler simply activate the plugin “Embed Iframe” and then add the following code into a post or page but with [ and ] instead of quotes.

:example:

“iframe http://example.com 400 500″
I’ll be back a little later to finalize thoughts, See you Online,

UPDATE:

I have used iframes for a little bit now and They definitely have a very nice upside to them of course because you can show another custom frame of virtually any other site. I have heard a lot of negative things about them as well too. mainly security reasons which make since cause you could potentially have a harmful site framed on your site. But I tend to look more on the brighter side of things. Enjoy,
Alucard

Site Wide Posts