Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
|
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 14th, 2009, 12:14 AM
Registered User
 
Join Date: Oct 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to change File properties

I tried to change the properties such as Artist,Album Title,Year,etc of an MP3 format file which we can edit on right clicking those files ( summary tab of properties window).But no idea to do that. Is anyone having idea on changing such properties of a file.
 
Old January 14th, 2009, 02:09 AM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Those "properties" only exist on Windows, you know. And to get to them you must use some Windows control routines, stuff that is no way part of any standard Java library.

I, personally, would ignore them unless this is a true "must have".

There is a scriptable interface to them that is usable in ASP code (it's a COM object named "Shell.Application"), so if you are able to utilized ActiveX objects via Java, you could use it. It may be read-only though. I dunno.

Other than that, I'd assume there must be some Windows API. But no idea what it is.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Change An Objects Properties Via Sub Routine Rood67 Access 6 October 12th, 2007 12:14 PM
function - change forms txtbox properties feets Access VBA 3 May 11th, 2007 10:05 AM
TSQL to change SQL Server Agent Properties happygv SQL Server 2000 1 May 2nd, 2007 01:56 PM
Change the properties of a textbox control? marksartwork ASP.NET 1.0 and 1.1 Basics 7 April 4th, 2006 04:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.