• Post Reply Bookmark Topic Watch Topic
  • New Topic

calling java class

 
muntago Richard
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day everyone, this application is for displaying progress bar but i want it to load a java class file eg load.java at the end
how do i do that

 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you exactly mean by "load a java class"? Have you checked out Class.forName()? Is that what you meant? Please TellTheDetails
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> Like at the end the code will display 'download completed' but i want it to load a java class eg 'Load.java' at the end

'download completed' is displayed in a JLabel, and 'Load.java' is just a text file,
so do you want to display this in the label?

this is one of the problems of just copying code found on the internet
http://www.roseindia.net/java/example/java/swing/SwingProgressBar.shtml

= it appears you have no idea how the program works or what its doing
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!