Path: csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: is that possible to include a small PNG file as part of Java class? Date: Tue, 24 Jun 2014 10:49:17 -0400 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 24 Jun 2014 14:55:04 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="b896cb427f8c4d19d14880347aa9d6ce"; logging-data="32088"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SUc15lQIRuIa+IybeFfoWQwxjv4/bsuE=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.6.0 In-Reply-To: Cancel-Lock: sha1:eGTtCzChzxuOmFPx07l1/ekCIxA= Xref: csiph.com comp.lang.java.programmer:28840 On 06/24/2014 08:54 AM, Donkey Hottie wrote: > Of course it is possible to include an image to a Java file. Just create > a tool which will take an image as input and write a fragment of Java > source as byte[] image = {......} ; > > That was very common one when we wrote programs in C/C++ and it should > work now too. > I purchased TurboCAD some years ago. They compiled in their icons. This added several minutes to the process of swiping the icons. I suspect the OP has obfuscation rather than the pain of CRS as motive.