Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ElementCoder

Pages: 1 ... 41 42 [43] 44 45 46
631
This would surely be interesting. I think lots of good stuff will come out of it. And like cooliojazz said, getting everyone to start on the same time would be that hard indeed if the contest is announced a good amount of time (1-3 months?) before the contest. In any case, you have my support :D

632
News / Re: nRemote : Control your TI-Nspire from your computer !
« on: August 22, 2012, 10:12:38 am »
Greate :D Going to download it right now :)

633
News / Re: nRemote : Control your TI-Nspire from your computer !
« on: August 20, 2012, 10:54:36 am »
And what does that have to do with the topic? This is about the nspire, not HP.

634
News / Re: nRemote : Control your TI-Nspire from your computer !
« on: August 20, 2012, 03:45:35 am »
Well this is certainly interesting! Too bad I'm going to university this year, because one of my old teachers in middle school would find this extremely useful since he does a ton of classroom activities and such. Good job (again :P)  ;D

[edit] Achievement get: Omnom IRC unlocked :P

635
TI-Nspire / Re: Cool game to port to nsdl?
« on: August 18, 2012, 10:50:45 am »
This will be one epic game if you succeed, good luck soiidus :D

636
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: August 17, 2012, 11:50:51 am »
3363: You can't resist posting in this topic.

637
Computer Programming / Re: Multiple objects
« on: August 17, 2012, 08:31:23 am »
Note to self:
doing
Code: [Select]
static JPanel shipTab, planetsTab, forumTab, ircTab, wikiTab, mtGeneralTab = new JPanel();does NOT create an object for everyone of them.

Well since I need to repeat this process lots of times, I'm currently using the following which saves me a lot of typing when using large amounts of tabs ;)
Code: [Select]
static JPanel[] generalTabs = {shipTab, planetsTab, forumTab, ircTab, wikiTab, mtGeneralTab};
for (int j =0; j < comp.length; j++){
generalTabs[j] = new JPanel();
}

As for the static. I really don't know.
It's done like this:
Code: [Select]
MainScreen: --Creates frame to hold everything as well as the initial layout
      private class ActionHandler for button presses.
      if the event is from the general button, InfoPanel.setInfoPanelGeneral() is called.
This keeps giving me an error "cannot make a static reference to the non-static method setInfoPanelGeneral()". Subsequently, when I make setInfoPanelGeneral static, it makes me make everything else static too. It can very well be that I'm just not writing my code correctly. It works now, but as I haven't made that much progress yet, I am considering rewriting it.

Code is available should you wish

638
Im sure i have applied and stored the config: base frequency@300mhz, cpu@150mhz, ahb@150mhz... but everything, including the speed, seems normal, just like i never overclock it... What happened? Or maybe i should read the readme of nover more carefully?

*northern_snow realized he spell the wrong word

Well first of all, setting your AHB frequency to 150 is (for what I understood) EXTREMELY dangerous  :o. It is recommended you do not deviate from the standard of 66, 70 tops. Overclocking the AHB can lead to file system corruption or even permanently brick you calc.
Oh, I did not know that, thanks for pointing that out. Do we have any idea why?

Wrong - that's only on CX.

On a ClickPad/TouchPad, you can set base/CPU/AHB to the maximum without any problem.
nCaster was doing this.
Oh I didn't know that. Thanks for pointing it out to me. Any idea why it is dangerous on a CX and not on a clickpad?

639
Computer Programming / Re: Multiple objects
« on: August 16, 2012, 11:32:18 am »
Thanks the code will be a lot more readable like this. I've modified it a bit to be like this:

Code: [Select]
public void loader(JTabbedPane tabPane, Component[] comp, String[] names){
    for(int i = 0; i < comp.length; i++){
        if(comp[i] != null && tabPane != null)
            tabPane.add(comp[i], names[i]);
    }
}
But I ran into a problem. It only adds the final tab, all the others won't show up.
Here is the entire java file if it would help:
Code: [Select]
package launch;

import java.awt.BorderLayout;
import java.awt.Component;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

import org.jdesktop.swingx.JXEditorPane;

@SuppressWarnings("serial")
public class InfoPanel extends MainScreen{
//General section
static JPanel shipTab, planetsTab, forumTab, ircTab, wikiTab, mtGeneralTab = new JPanel();
static JPanel[] generalTabs = {shipTab, planetsTab, forumTab, ircTab, wikiTab, mtGeneralTab};
static String[] generalNames = {"Ship", "Planets", "Forum", "IRC channel", "Wiki", "MotionTwin"};
//MotionTwin section
static JPanel mtTab = new JPanel(new BorderLayout());
static JPanel twinoidTab = new JPanel();

static JXEditorPane mtLabel = new JXEditorPane();

/**
* This method will quickly add all components to the JTabbedPane specified.
* @author ElementCoder (with help from HOMER-16)
* @param tabPane - the JTabbedPane to which the tabs will be added
* @param comp - array of panels to add
* @param names - names for the tabs
* @since Alpha
*/
public static void createTabs(JTabbedPane tabPane, Component[] comp, String[] names){
for (int i = 0; i < comp.length; i++){
if (comp[i] != null && tabPane != null){
tabPane.add(comp[i], names[i]);
}
}
}

/**
* Change the tabs to display the info associated with the general button.
* @author ElementCoder
* @param none
* @since Alpha
*/
public static void setInfoPanelGeneral(){
tabPane.removeAll();
tabPane.addTab("Galaxy55 Application", infoTab);
infoTab.add(introLabel, BorderLayout.CENTER);
introLabel.setLineWrap(true);
introLabel.setWrapStyleWord(true);
introLabel.setBackground(null);
introLabel.setEditable(false);
createTabs(tabPane, generalTabs, generalNames);
}
/**
* Change the tabs to display the info associated with the twinoid button.
* @author ElementCoder
* @param none
* @since Alpha
*/
public static void setInfoPanelMT(){
tabPane.removeAll();
tabPane.add("MotionTwin", mtTab);
mtTab.add(mtLabel);
mtLabel.setBackground(null);
mtLabel.setEditable(false);
mtLabel.setContentType("text/html");

mtLabel.setText("Besides Galaxy55, MotionTwin has other services too. The main service connecting all of their " +
"games is Twinoid. On the next tab you will find a link to visit twinoid." +
" Below you can find some other services/games provided by MotionTwin." +
"<ul type=\"square\">" +
"<li>KadoKado</li>" +
"</ul>");


}
}

640
Im sure i have applied and stored the config: base frequency@300mhz, cpu@150mhz, ahb@150mhz... but everything, including the speed, seems normal, just like i never overclock it... What happened? Or maybe i should read the readme of nover more carefully?

*northern_snow realized he spell the wrong word

Well first of all, setting your AHB frequency to 150 is (for what I understood) EXTREMELY dangerous  :o. It is recommended you do not deviate from the standard of 66, 70 tops. Overclocking the AHB can lead to file system corruption or even permanently brick you calc.
Second, weird that nothing changed. Are you sure Pokemon Gold didn't run faster than before you overclocked?

641
Computer Programming / Multiple objects
« on: August 15, 2012, 11:15:30 am »
I'm working on a project with a lot of tabs and was wondering if is there a faster way then this (I'm pretty sure there is):
Code: [Select]
JTabbedPane tabPane = new JTabbedPane();

tabPane.add(panel1);
tabPane.add(panel2);
.....
tabPane.add(panelX);

642
TI-Nspire / Re: Duke Nukem 3D for Nspire
« on: August 14, 2012, 08:55:45 am »
Well, would the sdl version be easy to port?
It would certainly be easier to port then assembly, but it still would require quite some work I think.

643
News / Re: nCleaner: even more free space on your TI-Nspire
« on: August 14, 2012, 08:49:13 am »
Alright, from now on no more useless stuff on my nspire. Good job  ;D

P.S. How do you get to browse the system files from the normal documents screen  ???

[edit] I especially like the quite huge free space increase for clickpad models (but what's up with the clickpad CAS gaining more free memory then the NON-CAS, or am I misunderstanding the diagram?)

644
News / Re: Game Boy Advance emulation reaches TI-Nspire CX
« on: August 08, 2012, 11:01:27 am »
What does gpSP do when you exit. My nspire 'freezes' for a few seconds and then becomes usable again. Is it saving or writing to files or something like that? Or am I having something weird going on. Other than that, it works great  ;D
Do you have the new version released on ticalc? The old one refreshed the documents screen upon exit (thus showing any new files created), but I removed that feature due to the exact problem you're talking about.
Oh no, I didn't see the new version on ticalc (usually check it every day  :-[), I'll download it instantly :)

645
News / Re: Game Boy Advance emulation reaches TI-Nspire CX
« on: August 08, 2012, 10:13:17 am »
What does gpSP do when you exit. My nspire 'freezes' for a few seconds and then becomes usable again. Is it saving or writing to files or something like that? Or am I having something weird going on. Other than that, it works great  :thumbsup:

Pages: 1 ... 41 42 [43] 44 45 46