By Trainz Railz
Well, the Halloween party is over now. And since I have to go to school in a few minutes, I can't post pictures of the NINJA SHADOWS! Yes, They have made a reappearance. They are back in the Ski Lodge and lighthouse and places again. Any theories??? I think it is because Sensei is offering donuts to all the good little black belts and they want their's first! LOL See Ya Later!
Oh ya! How many pounds of candy did you each get? I got almost EIGHT POUNDS of candy!
By Trainz Railz
Because Club Penguin has been down almost all day, and people haven't been able to get into CP because of the downings. So the CP people are gonna extend the party for another day. So for you penguins not able to get the special hat, you are in luck. I think those are all the updates for today, so have a good weekend!!! :)
By Trainz Railz
Sorry about this late update! The new pin is the 4th Anniversary Cake pin. Does anybody else like these new hat colors? I think they are pretty cool, purple and blue is always a good combo.
Anyway, the new pin is in the Boiler Room.

By Trainz Railz
Hi guys! Well, I said i would start posting again, so here it goes! To get the new Anniversary Hat go to the coffee shop and move your mouse over the pinata a couple times and it will break. The hat will fall directly under the pinata, so GO GET IT! ;-P Anyway, the new year book is out in the Book Room and it's pretty cool. For all the pin locations go to Clubpenguingang.com. I have to go soon, so I can't post them.
Well, that is all for today. I'll post again for the Halloween party as well. <_______<
By Trainz Railz
well hi everyone! i noticed we are getting lots and lots of hits! almost 25 a day. now we dont have internet yet, but i have an aircard so i kinda do. i will start posting thing again tomorrow night! i will have cheats and everything again so just bear with me. thank you all the loyal people who come here still! if you want, leave ur penguin name in a comment, and we can meet up on CP. we can have a private party and you guys will all be featured, and i will have links on the top of the sidebar to your blogs. (CP only LOL) so thank you for staying. ALSO: GO TO MY YOUTUBES. I WILL START MAKING VIDEOS SOON!!!!!
By Trainz Railz
hey guys! newspaper 2nite! cheats morrow! THNX TO THE PEOPLE THAT STILL COME HERE PLZ KEEP COMING!!!!!
By dembikova
/*
* CaesarCipher.java
* Encrypts/Decrypts text using the Caesar Cipher method
* Made by MountainDew
*/
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class CaesarCipher extends JFrame implements ActionListener {
private static JLabel msgLabel = new JLabel("Message: ");
private static JLabel keyLabel = new JLabel("Key: ");
private static JLabel actionLabel = new JLabel("Action: ");
private static JLabel resultLabel = new JLabel("Result: ");
private static JTextField msgTextField = new JTextField(20);
private static JTextField resultTextField = new JTextField(20);
private static JSpinner keySpinner = new JSpinner( new SpinnerNumberModel(3, 1, 25, 1) );
private static JRadioButton encryptRadio = new JRadioButton("Encrypt");
private static JRadioButton decryptRadio = new JRadioButton("Decrypt");
private static JButton actionButton = new JButton("Encrypt Message");
private static JPanel panel = new JPanel();
private static ButtonGroup group = new ButtonGroup();
public static void main(String[] args) {
new CaesarCipher();
}
public CaesarCipher() {
this.setSize(310, 192);
this.setTitle("Caesar Cipher");
this.setLocationRelativeTo(null);
this.setDefaultCloseOperation(EXIT_ON_CLOSE);
this.setResizable(false);
panel.setLayout(new GridBagLayout());
addComponent(panel, msgLabel, 0, 0, 1, 1, GridBagConstraints.LINE_START);
addComponent(panel, msgTextField, 1, 0, 2, 1, GridBagConstraints.LINE_START);
addComponent(panel, keyLabel, 0, 1, 1, 1, GridBagConstraints.LINE_START);
addComponent(panel, keySpinner, 1, 1, 1, 1, GridBagConstraints.LINE_START);
addComponent(panel, actionLabel, 0, 2, 1, 1, GridBagConstraints.LINE_START);
group.add(encryptRadio);
group.add(decryptRadio);
addComponent(panel, encryptRadio, 1, 2, 1, 1, GridBagConstraints.LINE_START);
addComponent(panel, decryptRadio, 2, 2, 1, 1, GridBagConstraints.LINE_START);
encryptRadio.setSelected(true);
encryptRadio.addActionListener(this);
decryptRadio.addActionListener(this);
addComponent(panel, resultLabel, 0, 3, 1, 1, GridBagConstraints.LINE_START);
addComponent(panel, resultTextField, 1, 3, 2, 1, GridBagConstraints.LINE_START);
resultTextField.setEditable(false);
addComponent(panel, actionButton, 1, 4, 1, 1, GridBagConstraints.CENTER);
actionButton.addActionListener(this);
this.add(panel);
this.setVisible(true);
}
private void addComponent(JPanel p, JComponent c, int x, int y, int width, int height, int align) {
GridBagConstraints gc = new GridBagConstraints();
gc.gridx = x;
gc.gridy = y;
gc.gridwidth = width;
gc.gridheight = height;
gc.weightx = 100.0;
gc.weighty = 100.0;
gc.insets = new Insets(5, 5, 5, 5);
gc.anchor = align;
gc.fill = GridBagConstraints.NONE;
p.add(c, gc);
}
private void encryptMessage(String msg, int k) {
String result = "";
resultTextField.setText("");
for (int i = 0; i < msg.length(); i++)
result += encryptChar(msg.charAt(i), k);
resultTextField.setText(result);
}
private char encryptChar(char c, int k) {
if (Character.isLetter(c))
return (char) ('A' + (c - 'A' + k) % 26);
else
return c;
}
public void actionPerformed(ActionEvent e) {
if (e.getSource() == encryptRadio)
actionButton.setText("Encrypt Message");
if (e.getSource() == decryptRadio)
actionButton.setText("Decrypt Message");
if (e.getSource() == actionButton) {
String str = msgTextField.getText();
int k = (Integer) keySpinner.getValue();
int key = 0;
String message = "";
if (str.equals("")) {
JOptionPane.showMessageDialog(null, "Please enter a message!", "Error!", JOptionPane.ERROR_MESSAGE);
msgTextField.requestFocus();
return;
}
message = str.toUpperCase();
if (encryptRadio.isSelected())
key = k;
else
key = 26 - k;
encryptMessage(message, key);
}
}
}