• Post Reply Bookmark Topic Watch Topic
  • New Topic

Enum of Files (+JFrame)

 
Asaf K
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everybody! PLEASE HELP ME as I really need this: I'm writing a Java application using Forte IDE, it's a jframe. now I have the following code to :
1. resize the window to a bigger size instead of the tiny window that opens at start. the problem is that it does modify the size of the window, but the button that I have in initcompnenets (was done using the IDE) doesn't appear there. only after a short play resizing the window. 2. when a button is called, to call getfiles() function. now this function returns files using the java.io.File class. in this code I do have the file in the specified folder but it doesn't return it. can someone help me? I want to know - can it return files even if there are no files which matches the exact filter string but only parts of it? like - I have a file in a folder named - 'blaFilenamebla', and my filter is Filename, will it will still find it?
Please Help me,
Thank you,
Asaf.


[This message has been edited by Peter Tran (edited March 08, 2001).]
 
Peter Tran
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Asaf K,
I've reformatted your code so it's more readable.
Please follow JavaRanch naming policy and re-register with your name using a complete last name.
Thanks,
-Peter
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!