I wish to create an IDE for java based on scratch it will be written in java. it will have all the windows of scratch except the stage in the place of the stage will be a results window. every block we have will have a Java Line it compiles to.
if you wish to help please tell me in the comments.
Offline
Maybe you could just use ToJar?
Offline
jji7skyline wrote:
Maybe you could just use ToJar?
He wants to make a Java IDE, not compile a Scratch project to .jar file.
Offline
I'm beginning java but I can maybe help, I have a simple java window calculator and other apps that work for other operations. So if your looking for a sample results code, here is mine: (in a clas/.java file titled "GUI"(.java)
import java.awt.FlowLayout;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class GUI extends JFrame{
private JLabel item1;
public GUI(){
super("Results");
setLayout(new FlowLayout());
item1 = new JLabel("Texttexttexttexttexttext");
item1.setToolTipText("No Really!");
add(item1);
}
}
---------------------and in another .java file titled "GUIr"(.java)---------------------------------
import javax.swing.JFrame;
class apples{
public static void main(String[] args) {
GUI bucky = new GUI();
bucky.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
bucky.setSize(800,800);
bucky.setVisible(true);
}
}
Hope that helped
Offline
I meant .class
Offline
And ignore the random green thing! + to test it, after compiling it, run the GUIr!
Offline
TRocket wrote:
hi, Zeroluck and i are making something very similar at Jblocks i'll ask him to look at this thread
that is cool do you guys want to help me
Offline
slayerrobe7 wrote:
that is cool do you guys want to help me
No. We have worked on JBlocks many month now and the project has gotten really advanced so we don't want to rewrite over 25.000 lines of code... I hope you understand me/us. You have to know that programming a block editor (like in Scratch) is very hard, especially moving a block over the whole GUI was hard to implement for me. But you may join our team if you are good enough.
Offline
MathWizz wrote:
Harakou wrote:
I can't even imagine sorting through a list of blocks containing every single method in the Java API. O_O
Ikr?
It would be impossible to scroll because the scroll bar would be 1 pixel. XD
Offline
poopo wrote:
MathWizz wrote:
Harakou wrote:
I can't even imagine sorting through a list of blocks containing every single method in the Java API. O_O
Ikr?
It would be impossible to scroll because the scroll bar would be 1 pixel. XD
hmm not quite i was going to replace scratch blocks with java code and then just add some need blocks such as import blocks
Offline
poopo wrote:
MathWizz wrote:
Harakou wrote:
I can't even imagine sorting through a list of blocks containing every single method in the Java API. O_O
Ikr?
It would be impossible to scroll because the scroll bar would be 1 pixel. XD
Why not have a search bar or filters?
Offline
slayerrobe7 wrote:
poopo wrote:
MathWizz wrote:
Ikr?It would be impossible to scroll because the scroll bar would be 1 pixel. XD
hmm not quite i was going to replace scratch blocks with java code and then just add some need blocks such as import blocks
Hmm... that would require quite a lot of already pre-built Java code for the graphics/sprite aspect.
Offline
ZeroLuck wrote:
slayerrobe7 wrote:
that is cool do you guys want to help me
No. We have worked on JBlocks many month now and the project has gotten really advanced so we don't want to rewrite over 25.000 lines of code... I hope you understand me/us. You have to know that programming a block editor (like in Scratch) is very hard, especially moving a block over the whole GUI was hard to implement for me. But you may join our team if you are good enough.
alright if you could give me a link to your dev thread i will take a look
Offline
slayerrobe7 wrote:
ZeroLuck wrote:
slayerrobe7 wrote:
that is cool do you guys want to help me
No. We have worked on JBlocks many month now and the project has gotten really advanced so we don't want to rewrite over 25.000 lines of code... I hope you understand me/us. You have to know that programming a block editor (like in Scratch) is very hard, especially moving a block over the whole GUI was hard to implement for me. But you may join our team if you are good enough.
alright if you could give me a link to your dev thread i will take a look
Because there's only two of us we don't have a dev thread so we use email instead.
Offline
TRocket wrote:
slayerrobe7 wrote:
ZeroLuck wrote:
No. We have worked on JBlocks many month now and the project has gotten really advanced so we don't want to rewrite over 25.000 lines of code... I hope you understand me/us. You have to know that programming a block editor (like in Scratch) is very hard, especially moving a block over the whole GUI was hard to implement for me. But you may join our team if you are good enough.alright if you could give me a link to your dev thread i will take a look
Because there's only two of us we don't have a dev thread so we use email instead.
okay my false email that i can use here is jimmyboy798@gmail.com
Offline
Harakou wrote:
I can't even imagine sorting through a list of blocks containing every single method in the Java API. O_O
I can. The problem is writing said list.
You should look a little into how the web Java player works, that might help. I honestly have no idea whether a project is immediately compiled to Java code, or the player itself interprets the .sb directly.
Offline