Forum: Java Sep 14th, 2007 |
| Replies: 4 Views: 1,113 thanks for tht n=but i have got another better method.. |
Forum: Java Sep 13th, 2007 |
| Replies: 4 Views: 1,113 i have a jtextpane now, i want that some text on it become bold, and not all
how can i possibly do this,
for exmple, i want to bold all the word "cool" found in my textpane..
i know that i... |
Forum: Java Sep 5th, 2007 |
| Replies: 4 Views: 2,499 i face a problem here..
i am creating a compiler for java, the compilation part is done,and now i have a problem in the running the class compiled..
i use the runtime.getruntime().exec()... |
Forum: Java Sep 2nd, 2007 |
| Replies: 8 Views: 1,391 i have done the progrm, thanks |
Forum: Java Sep 2nd, 2007 |
| Replies: 8 Views: 1,391 |
Forum: Java Sep 1st, 2007 |
| Replies: 8 Views: 1,391 you really dont understand..
i am making a compiler.and not compiling
any 1 can help me to run the class generated?? |
Forum: Java Aug 31st, 2007 |
| Replies: 8 Views: 1,391 thanks for replying
I have done the compilation part using the Java Compiler Api
but can any 1 know how to run the generated class file??
thanks |
Forum: Java Aug 31st, 2007 |
| Replies: 8 Views: 1,391 i want to do a compiler but, now i am stuck in the compilation part,
suppose that i want to compile "cool.java" that is located in the bin directory, what shold i do??
help please |
Forum: Java Aug 25th, 2007 |
| Replies: 6 Views: 2,875 ok then, actually i am making a notepad like program, i want whenever i press the "New" , "Open", Exit" buttons, it will prompt me for saving, but now i am confused with this.. |
Forum: Java Aug 25th, 2007 |
| Replies: 6 Views: 2,875 it doesnt work, but thanks
i think it is better to changet the hierarchy, i realize that my code is confusing |
Forum: Java Aug 25th, 2007 |
| Replies: 8 Views: 1,441 problem in main
should be
public static void main(String[]args)
{
gui2 myprogram=new gui2();
myprogram.setVisible(true);
myprogram.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);... |
Forum: Java Aug 25th, 2007 |
| Replies: 6 Views: 2,875 this is my code..
class NewAction implements ActionListener
{
public void actionPerformed(ActionEvent e)
{
TArea2.setDocument(new PlainDocument());
}
}
void confirmation() |
Forum: Java Aug 24th, 2007 |
| Replies: 2 Views: 1,156 thanks man, now i can do it, thanks, it works |
Forum: Java Aug 23rd, 2007 |
| Replies: 2 Views: 1,156 ok,
i wanna ask about layouting 2 textareas..
i have 2 text areas, the problem is i want to put 1 in the top 1 and the second 1 in the bottom, but i want to set the height of the top textarea... |